@stridge/kit 0.1.0-alpha.2 → 0.1.0-alpha.21
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 +17 -3
- package/dist/KitProvider.d.ts +13 -0
- package/dist/KitProvider.js +1 -1
- package/dist/_internal/withdraw/driver/index.d.ts +2 -2
- package/dist/drivers/stridge/createStridgeDepositDriver.js +1 -1
- package/dist/drivers/stridge/createStridgeWithdrawDriver.d.ts +10 -12
- package/dist/drivers/stridge/createStridgeWithdrawDriver.js +1 -1
- package/dist/drivers/stridge/internal/metadata.js +1 -1
- package/dist/drivers/stridge/types.d.ts +7 -4
- package/dist/drivers/stridge-mock/createStridgeMockWithdrawDriver.d.ts +2 -2
- package/dist/drivers/stridge-mock/createStridgeMockWithdrawDriver.js +1 -1
- package/dist/drivers/stridge-mock/fixtures.d.ts +1 -1
- package/dist/drivers/stridge-mock/fixtures.js +1 -1
- package/dist/flows/deposit/dialog/DepositDialog.js +1 -1
- package/dist/flows/deposit/orchestrator/controller.js +1 -1
- package/dist/flows/deposit/widgets/deposit/Deposit.js +1 -1
- package/dist/flows/deposit/widgets/deposit-status-banner/DepositStatusBanner.js +1 -1
- package/dist/flows/deposit/widgets/deposit-status-banner/compound/DepositStatusBanner.js +1 -1
- package/dist/flows/deposit/widgets/transfer-crypto/compound/components/Address.js +1 -1
- package/dist/flows/deposit/widgets/transfer-crypto/compound/components/Disclosure.d.ts +2 -1
- package/dist/flows/deposit/widgets/transfer-crypto/compound/components/Disclosure.js +1 -1
- package/dist/flows/deposit/widgets/transfer-crypto/compound/components/QrCode.js +1 -1
- package/dist/flows/shared/transformers/pickRelevantSettlement.js +1 -1
- package/dist/flows/withdraw/bindings/WithdrawBindings.d.ts +92 -0
- package/dist/flows/withdraw/bindings/WithdrawBindings.js +1 -0
- package/dist/flows/withdraw/bindings/index.d.ts +1 -0
- package/dist/flows/withdraw/bindings/index.js +1 -0
- package/dist/flows/withdraw/dialog/WithdrawDialog.d.ts +57 -11
- package/dist/flows/withdraw/dialog/WithdrawDialog.js +1 -1
- package/dist/flows/withdraw/driver/payloads.d.ts +10 -1
- package/dist/flows/withdraw/driver/transformers/supportedAssetsToReceiveOptionsPayload.js +1 -1
- package/dist/flows/withdraw/driver/types.d.ts +53 -11
- package/dist/flows/withdraw/orchestrator/controller.js +1 -1
- package/dist/flows/withdraw/orchestrator/reducer.js +1 -1
- package/dist/flows/withdraw/orchestrator/types.d.ts +106 -31
- package/dist/flows/withdraw/widgets/withdraw-form/WithdrawForm.js +1 -1
- package/dist/flows/withdraw/widgets/withdraw-form/compound/WithdrawForm.js +1 -1
- package/dist/flows/withdraw/widgets/withdraw-form/compound/components/RecipientField.d.ts +7 -5
- package/dist/flows/withdraw/widgets/withdraw-form/compound/components/RecipientField.js +1 -1
- package/dist/flows/withdraw/widgets/withdraw-form/compound/types.d.ts +15 -5
- package/dist/flows/withdraw/widgets/withdraw-form/validation.js +1 -1
- package/dist/i18n/index.d.ts +5 -4
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/locales/ar.js +1 -1
- package/dist/i18n/locales/es.js +1 -1
- package/dist/i18n/locales/source-keys.d.ts +12 -0
- package/dist/i18n/locales/source-keys.js +0 -0
- package/dist/icons/index.d.ts +2 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +7 -4
- package/dist/index.js +1 -1
- package/dist/package.js +1 -0
- package/dist/scope/KitPortalScope.js +1 -1
- package/dist/scope/KitScope.d.ts +18 -1
- package/dist/scope/KitScope.js +1 -1
- package/dist/scope/context.d.ts +17 -1
- package/dist/scope/index.d.ts +1 -1
- package/dist/shared/attribution/Attribution.js +1 -0
- package/dist/shared/attribution/Attribution.slots.js +1 -0
- package/dist/shared/attribution/Attribution.styles.js +1 -0
- package/dist/shared/attribution/index.js +1 -0
- package/dist/shared/chains/index.d.ts +48 -1
- package/dist/shared/chains/index.js +1 -1
- package/dist/shared/constants/brand-intercom.js +1 -0
- package/dist/shared/cuer/Cuer.js +1 -0
- package/dist/shared/cuer/QrCode.js +1 -0
- package/dist/shared/cuer/index.js +1 -0
- package/dist/shared/dialog/Frame.js +1 -1
- package/dist/shared/dialog/StepTransition.js +1 -1
- package/dist/shared/driver/types.d.ts +4 -3
- package/dist/shared/format/shortenAddress.d.ts +2 -2
- package/dist/shared/format/types.d.ts +2 -2
- package/dist/shared/i18n/KitI18nProvider.d.ts +11 -8
- package/dist/shared/i18n/KitI18nProvider.js +1 -1
- package/dist/shared/i18n/createKitI18n.d.ts +79 -16
- package/dist/shared/i18n/createKitI18n.js +1 -1
- package/dist/shared/i18n/useLingui.d.ts +11 -3
- package/dist/shared/icons/LogoIcon.d.ts +13 -0
- package/dist/shared/icons/LogoIcon.js +1 -0
- package/dist/shared/orchestrator/useSettlementWatcher.js +1 -1
- package/dist/shared/primitives/TxHashValue/TxHashValue.js +1 -1
- package/dist/shared/support/SupportButton.d.ts +1 -0
- package/dist/shared/support/SupportButton.js +1 -0
- package/dist/shared/support/SupportConfigContext.d.ts +1 -0
- package/dist/shared/support/SupportConfigContext.js +1 -0
- package/dist/shared/support/SupportLink.d.ts +1 -0
- package/dist/shared/support/SupportLink.js +1 -0
- package/dist/shared/support/SupportSpinner.d.ts +1 -0
- package/dist/shared/support/SupportSpinner.js +1 -0
- package/dist/shared/support/index.d.ts +2 -0
- package/dist/shared/support/index.js +1 -0
- package/dist/shared/support/intercom-loader.d.ts +17 -0
- package/dist/shared/support/intercom-loader.js +1 -0
- package/dist/shared/support/resolveSupport.d.ts +1 -0
- package/dist/shared/support/resolveSupport.js +1 -0
- package/dist/shared/support/types.d.ts +43 -0
- package/dist/shared/support/useIntercomMerchantContext.d.ts +27 -0
- package/dist/shared/support/useIntercomMerchantContext.js +1 -0
- package/dist/shared/support/useIntercomShutdownOnUnmount.js +1 -0
- package/dist/shared/support/useMerchantContext.d.ts +1 -0
- package/dist/shared/support/useMerchantContext.js +1 -0
- package/dist/shared/support/useSupportTrigger.js +1 -0
- package/dist/shared/ui/Card/Card.styles.js +1 -1
- package/dist/shared/ui/Details/Details.d.ts +10 -2
- package/dist/shared/ui/Details/Details.styles.js +1 -1
- package/dist/shared/ui/Dialog/Dialog.js +1 -1
- package/dist/shared/ui/Dialog/Dialog.styles.js +1 -1
- package/dist/shared/ui/ExternalLink/ExternalLink.js +1 -1
- package/dist/shared/ui/Select/Select.js +1 -1
- package/dist/shared/ui/WalletRow/WalletRow.d.ts +1 -1
- package/dist/shared/ui/WalletRow/WalletRow.js +1 -1
- package/dist/shared/widgets/confirm-transfer/compound/components/Disclaimer.js +1 -1
- package/dist/shared/widgets/confirm-transfer/compound/types.d.ts +1 -1
- package/dist/shared/widgets/error-state/compound/components/AssetValue.js +1 -1
- package/dist/shared/widgets/error-state/compound/components/HelpInfo.js +1 -1
- package/dist/shared/widgets/error-state/compound/components/StatusValue.js +1 -1
- package/dist/shared/widgets/processing-state/compound/components/Rows.js +1 -1
- package/dist/shared/widgets/success-state/compound/components/Actions.js +1 -1
- package/dist/shared/widgets/success-state/compound/components/AssetValue.js +1 -1
- package/dist/shared/widgets/success-state/compound/components/RouteValue.js +1 -1
- package/dist/shared/widgets/success-state/compound/components/StatusPill.js +1 -1
- package/dist/stridge/StridgeProvider.d.ts +88 -4
- package/dist/stridge/StridgeProvider.js +1 -1
- package/dist/stridge/optionalWagmi.js +1 -0
- package/dist/stridge/stubs.js +1 -1
- package/dist/styles/index.css +58 -12
- package/dist/types.d.ts +3 -2
- package/dist/ui/index.js +1 -1
- package/dist/withdraw/dialog/index.d.ts +3 -1
- package/package.json +10 -11
- package/dist/kit/package.js +0 -1
- /package/dist/{utils/src/use-copy-to-clipboard.js → shared/utils/useCopyToClipboard.js} +0 -0
package/dist/styles/index.css
CHANGED
|
@@ -198,6 +198,9 @@
|
|
|
198
198
|
--stridge-kit-card-shadow: 0 30px 80px oklch(0% 0 0 / .6), 0 2px 6px oklch(0% 0 0 / .4);
|
|
199
199
|
--stridge-kit-skeleton-base: oklch(29.55% .01 285.72);
|
|
200
200
|
--stridge-kit-skeleton-highlight: oklch(35.16% .01 285.67);
|
|
201
|
+
--stridge-kit-attribution-prefix-color: oklch(62% .005 286);
|
|
202
|
+
--stridge-kit-attribution-mark-color: oklch(72% .005 286);
|
|
203
|
+
--stridge-kit-attribution-wordmark-color: oklch(76% .005 286);
|
|
201
204
|
--stridge-kit-shadow-xs: 0 1px 1px 0 oklch(0% 0 0 / .125);
|
|
202
205
|
--stridge-kit-shadow-sm: 0 4px 4px -1px oklch(0% 0 0 / .04), 0 1px 1px 0 oklch(0% 0 0 / .08);
|
|
203
206
|
--stridge-kit-shadow-md: 0 3px 8px oklch(0% 0 0 / .125), 0 2px 5px oklch(0% 0 0 / .125), 0 1px 1px oklch(0% 0 0 / .125);
|
|
@@ -256,6 +259,9 @@
|
|
|
256
259
|
--stridge-kit-card-shadow: 0 30px 80px oklch(0% 0 0 / .16), 0 2px 6px oklch(0% 0 0 / .08);
|
|
257
260
|
--stridge-kit-skeleton-base: oklch(91% 0 286);
|
|
258
261
|
--stridge-kit-skeleton-highlight: oklch(95% 0 286);
|
|
262
|
+
--stridge-kit-attribution-prefix-color: oklch(50% .01 286);
|
|
263
|
+
--stridge-kit-attribution-mark-color: oklch(42% .01 286);
|
|
264
|
+
--stridge-kit-attribution-wordmark-color: oklch(36% .01 286);
|
|
259
265
|
--stridge-kit-shadow-xs: 0 1px 2px 0 oklch(0% 0 0 / .04);
|
|
260
266
|
--stridge-kit-shadow-sm: 0 1px 1px 0 oklch(0% 0 0 / .04), 0 1px 3px 0 oklch(0% 0 0 / .05);
|
|
261
267
|
--stridge-kit-shadow-md: 0 6px 12px -3px oklch(0% 0 0 / .06), 0 2px 4px -1px oklch(0% 0 0 / .04);
|
|
@@ -478,6 +484,10 @@
|
|
|
478
484
|
border-width: 2px;
|
|
479
485
|
}
|
|
480
486
|
|
|
487
|
+
.xkz0k9k {
|
|
488
|
+
flex: 0 auto;
|
|
489
|
+
}
|
|
490
|
+
|
|
481
491
|
.x845mor {
|
|
482
492
|
flex: 1;
|
|
483
493
|
}
|
|
@@ -698,6 +708,10 @@
|
|
|
698
708
|
padding-inline: var(--stridge-kit-space-3);
|
|
699
709
|
}
|
|
700
710
|
|
|
711
|
+
.x1ujb8i1 {
|
|
712
|
+
padding-inline: var(--stridge-kit-space-5);
|
|
713
|
+
}
|
|
714
|
+
|
|
701
715
|
.xxztuhb {
|
|
702
716
|
padding-inline: var(--stridge-kit-space-2);
|
|
703
717
|
}
|
|
@@ -718,10 +732,18 @@
|
|
|
718
732
|
border-radius: var(--stridge-kit-radius-sm);
|
|
719
733
|
}
|
|
720
734
|
|
|
735
|
+
.x1gvykhg:focus-visible {
|
|
736
|
+
outline: 2px solid var(--stridge-kit-ring);
|
|
737
|
+
}
|
|
738
|
+
|
|
721
739
|
.x67ar3w:focus-visible {
|
|
722
740
|
outline: 2px solid var(--stridge-kit-foreground);
|
|
723
741
|
}
|
|
724
742
|
|
|
743
|
+
.x1l0eogd:is(a:hover, a:focus-visible) [data-stridge-slot~="attribution-wordmark"] {
|
|
744
|
+
text-decoration: underline;
|
|
745
|
+
}
|
|
746
|
+
|
|
725
747
|
.xnyhjf:has( > input:focus-visible, > textarea:focus-visible) {
|
|
726
748
|
border-color: var(--stridge-kit-ring);
|
|
727
749
|
}
|
|
@@ -1250,6 +1272,10 @@
|
|
|
1250
1272
|
color: var(--stridge-kit-info);
|
|
1251
1273
|
}
|
|
1252
1274
|
|
|
1275
|
+
.x9irweu {
|
|
1276
|
+
color: var(--stridge-kit-attribution-mark-color);
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1253
1279
|
.x1vits3x {
|
|
1254
1280
|
color: var(--stridge-kit-card-foreground);
|
|
1255
1281
|
}
|
|
@@ -1258,6 +1284,10 @@
|
|
|
1258
1284
|
color: var(--stridge-kit-secondary-foreground);
|
|
1259
1285
|
}
|
|
1260
1286
|
|
|
1287
|
+
.x1nxg1fm {
|
|
1288
|
+
color: var(--stridge-kit-attribution-wordmark-color);
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1261
1291
|
.x1me39qh {
|
|
1262
1292
|
color: var(--stridge-kit-primary);
|
|
1263
1293
|
}
|
|
@@ -1282,6 +1312,10 @@
|
|
|
1282
1312
|
color: var(--stridge-kit-details-label);
|
|
1283
1313
|
}
|
|
1284
1314
|
|
|
1315
|
+
.xd2gg92 {
|
|
1316
|
+
color: var(--stridge-kit-attribution-prefix-color);
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1285
1319
|
.x1kqivnd {
|
|
1286
1320
|
color: var(--stridge-kit-tile-foreground);
|
|
1287
1321
|
}
|
|
@@ -1962,6 +1996,10 @@
|
|
|
1962
1996
|
touch-action: none;
|
|
1963
1997
|
}
|
|
1964
1998
|
|
|
1999
|
+
.x1764fhq {
|
|
2000
|
+
transform-box: fill-box;
|
|
2001
|
+
}
|
|
2002
|
+
|
|
1965
2003
|
.x1g0ag68 {
|
|
1966
2004
|
transform-origin: center;
|
|
1967
2005
|
}
|
|
@@ -1978,10 +2016,6 @@
|
|
|
1978
2016
|
transform: rotate(90deg);
|
|
1979
2017
|
}
|
|
1980
2018
|
|
|
1981
|
-
.x3oybdh {
|
|
1982
|
-
transform: scale(1);
|
|
1983
|
-
}
|
|
1984
|
-
|
|
1985
2019
|
.xx6bhzk {
|
|
1986
2020
|
transition-duration: .15s;
|
|
1987
2021
|
}
|
|
@@ -2038,6 +2072,10 @@
|
|
|
2038
2072
|
transition-property: box-shadow;
|
|
2039
2073
|
}
|
|
2040
2074
|
|
|
2075
|
+
.xt3l3uh {
|
|
2076
|
+
transition-property: color;
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2041
2079
|
.x1vma9ed {
|
|
2042
2080
|
transition-property: font-size, width;
|
|
2043
2081
|
}
|
|
@@ -2111,10 +2149,6 @@
|
|
|
2111
2149
|
will-change: height;
|
|
2112
2150
|
}
|
|
2113
2151
|
|
|
2114
|
-
.x6my1t9 {
|
|
2115
|
-
will-change: opacity,transform;
|
|
2116
|
-
}
|
|
2117
|
-
|
|
2118
2152
|
.x1q1rmc8 {
|
|
2119
2153
|
will-change: transform,opacity;
|
|
2120
2154
|
}
|
|
@@ -2219,6 +2253,18 @@
|
|
|
2219
2253
|
box-shadow: var(--stridge-kit-shadow-ring-focus);
|
|
2220
2254
|
}
|
|
2221
2255
|
|
|
2256
|
+
.x1perupi:is(a:hover, a:focus-visible) [data-stridge-slot~="attribution-mark"] {
|
|
2257
|
+
color: color-mix(in oklab,var(--stridge-kit-attribution-mark-color) 78%,var(--stridge-kit-foreground));
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
.x19k0ldo:is(a:hover, a:focus-visible) [data-stridge-slot~="attribution-wordmark"] {
|
|
2261
|
+
color: color-mix(in oklab,var(--stridge-kit-attribution-wordmark-color) 78%,var(--stridge-kit-foreground));
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
.x1wa2jhk:is(a:hover, a:focus-visible) [data-stridge-slot~="attribution-prefix"] {
|
|
2265
|
+
color: color-mix(in oklab,var(--stridge-kit-attribution-prefix-color) 78%,var(--stridge-kit-foreground));
|
|
2266
|
+
}
|
|
2267
|
+
|
|
2222
2268
|
.x111phvh:active:not(:disabled), .x70x1a4:hover:not(:disabled) {
|
|
2223
2269
|
color: var(--stridge-kit-foreground);
|
|
2224
2270
|
}
|
|
@@ -2247,6 +2293,10 @@
|
|
|
2247
2293
|
outline-width: 2px;
|
|
2248
2294
|
}
|
|
2249
2295
|
|
|
2296
|
+
.x1diuls0:is(a:hover, a:focus-visible) [data-stridge-slot~="attribution-wordmark"] {
|
|
2297
|
+
text-underline-offset: 2px;
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2250
2300
|
.x1yi73pz:has( > input:focus-visible, > textarea:focus-visible) {
|
|
2251
2301
|
box-shadow: var(--stridge-kit-shadow-ring-focus);
|
|
2252
2302
|
}
|
|
@@ -2767,10 +2817,6 @@
|
|
|
2767
2817
|
overflow-y: auto;
|
|
2768
2818
|
}
|
|
2769
2819
|
|
|
2770
|
-
.x1rife3k {
|
|
2771
|
-
overflow-y: scroll;
|
|
2772
|
-
}
|
|
2773
|
-
|
|
2774
2820
|
.xnw97ix {
|
|
2775
2821
|
padding-bottom: .125rem;
|
|
2776
2822
|
}
|
package/dist/types.d.ts
CHANGED
|
@@ -9,7 +9,8 @@ import { KitStorageAdapter, KitStoragePersistence } from "./storage/types.js";
|
|
|
9
9
|
import { KitStorage } from "./storage/createKitStorage.js";
|
|
10
10
|
import { FailureInfo } from "./shared/orchestrator/types.js";
|
|
11
11
|
import { ConfirmDepositPhase, DepositActions, DepositController, DepositMethod, DepositState, DepositStateName, GatewayEvent, OpenInput, ResolvedOpenInput, RetryTargetSpec } from "./flows/deposit/orchestrator/types.js";
|
|
12
|
-
import { WithdrawActions, WithdrawController, WithdrawEvent, WithdrawState, WithdrawStateName, WithdrawalFormSnapshot } from "./flows/withdraw/orchestrator/types.js";
|
|
12
|
+
import { WithdrawActions, WithdrawController, WithdrawEvent, WithdrawState, WithdrawStateName, WithdrawSubmitActions, WithdrawSubmitCallback, WithdrawSubmitInput, WithdrawalFormSnapshot } from "./flows/withdraw/orchestrator/types.js";
|
|
13
|
+
import { WithdrawBalanceInput, WithdrawBindings, WithdrawSuggestedRecipient } from "./flows/withdraw/bindings/WithdrawBindings.js";
|
|
13
14
|
import { BannerAckBucket } from "./banners/useBannerAck.js";
|
|
14
15
|
import { STEPS_WITH_OWN_SETTLEMENT_VIEW, stepRendersSettlement } from "./flows/deposit/orchestrator/steps.js";
|
|
15
|
-
export { type AcceptedAssetPayload, type AddressItemPayload, type AssetPayload, type BalanceItemPayload, type BannerAckBucket, type BrandPayload, type ChainPayload, type ConfirmDepositPhase, type DepositActions, type DepositController, type DepositMethod, type DepositSnapshot, type DepositState, type DepositStateName, type Entity, type FailureInfo, type GatewayEvent, type KitConfig, type KitDirection, type KitRadius, type KitStorage, type KitStorageAdapter, type KitStoragePersistence, type KitTarget, type KitTheme, type OpenInput, type QuoteBreakdownPayload, type QuotePayload, type QuoteRoutePayload, type ReceiveChainPayload, type ReceiveOptionDto, type ReceiveOptionsResponse, type ReceiveTokenOptionPayload, type ResolvedOpenInput, type RetryTargetSpec, STEPS_WITH_OWN_SETTLEMENT_VIEW, type SettlementFailureKind, type SettlementFailurePayload, type SettlementPayload, type SettlementPendingPayload, type SettlementSuccessPayload, type SourceWalletPayload, type TargetPayload, type TxRef, type WalletInfo, type WalletPayload, type WithdrawActions, type WithdrawController, type WithdrawEvent, type WithdrawSnapshot, type WithdrawState, type WithdrawStateName, type WithdrawableBalanceDto, type WithdrawableBalanceItemPayload, type WithdrawableBalancesResponse, type WithdrawalFormSnapshot, type WithdrawalQuoteBreakdownPayload, type WithdrawalQuoteDto, type WithdrawalQuotePayload, type WithdrawalQuoteResponse, type WithdrawalReceiveAssetPayload, type WithdrawalSettlementDto, type WithdrawalSettlementFailurePayload, type WithdrawalSettlementPayload, type WithdrawalSettlementPendingPayload, type WithdrawalSettlementResponse, type WithdrawalSettlementSuccessPayload, stepRendersSettlement };
|
|
16
|
+
export { type AcceptedAssetPayload, type AddressItemPayload, type AssetPayload, type BalanceItemPayload, type BannerAckBucket, type BrandPayload, type ChainPayload, type ConfirmDepositPhase, type DepositActions, type DepositController, type DepositMethod, type DepositSnapshot, type DepositState, type DepositStateName, type Entity, type FailureInfo, type GatewayEvent, type KitConfig, type KitDirection, type KitRadius, type KitStorage, type KitStorageAdapter, type KitStoragePersistence, type KitTarget, type KitTheme, type OpenInput, type QuoteBreakdownPayload, type QuotePayload, type QuoteRoutePayload, type ReceiveChainPayload, type ReceiveOptionDto, type ReceiveOptionsResponse, type ReceiveTokenOptionPayload, type ResolvedOpenInput, type RetryTargetSpec, STEPS_WITH_OWN_SETTLEMENT_VIEW, type SettlementFailureKind, type SettlementFailurePayload, type SettlementPayload, type SettlementPendingPayload, type SettlementSuccessPayload, type SourceWalletPayload, type TargetPayload, type TxRef, type WalletInfo, type WalletPayload, type WithdrawActions, type WithdrawBalanceInput, type WithdrawBindings, type WithdrawController, type WithdrawEvent, type WithdrawSnapshot, type WithdrawState, type WithdrawStateName, type WithdrawSubmitActions, type WithdrawSubmitCallback, type WithdrawSubmitInput, type WithdrawSuggestedRecipient, type WithdrawableBalanceDto, type WithdrawableBalanceItemPayload, type WithdrawableBalancesResponse, type WithdrawalFormSnapshot, type WithdrawalQuoteBreakdownPayload, type WithdrawalQuoteDto, type WithdrawalQuotePayload, type WithdrawalQuoteResponse, type WithdrawalReceiveAssetPayload, type WithdrawalSettlementDto, type WithdrawalSettlementFailurePayload, type WithdrawalSettlementPayload, type WithdrawalSettlementPendingPayload, type WithdrawalSettlementResponse, type WithdrawalSettlementSuccessPayload, stepRendersSettlement };
|
package/dist/ui/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{EXTERNAL_LINK_SLOTS as e}from"../shared/ui/ExternalLink/ExternalLink.slots.js";import{ExternalLink as t}from"../shared/ui/ExternalLink/ExternalLink.js";import"../shared/ui/ExternalLink/index.js";import{BUTTON_SLOTS as n}from"../shared/ui/Button/Button.slots.js";import{Button as r}from"../shared/ui/Button/Button.js";import"../shared/ui/Button/index.js";import{ICON_BUTTON_SLOTS as i}from"../shared/ui/IconButton/IconButton.slots.js";import{IconButton as a}from"../shared/ui/IconButton/IconButton.js";import"../shared/ui/IconButton/index.js";import{SCROLL_AREA_SLOTS as o}from"../shared/ui/ScrollArea/ScrollArea.slots.js";import{ScrollArea as s}from"../shared/ui/ScrollArea/ScrollArea.js";import"../shared/ui/ScrollArea/index.js";import{DIALOG_SLOTS as c}from"../shared/ui/Dialog/Dialog.slots.js";import{Dialog as l,useIsInsideDialogContent as u}from"../shared/ui/Dialog/Dialog.js";import"../shared/ui/Dialog/index.js";import{ALERT_SLOTS as d}from"../shared/ui/Alert/Alert.slots.js";import{Alert as f}from"../shared/ui/Alert/Alert.js";import"../shared/ui/Alert/index.js";import{AMOUNT_INPUT_SLOTS as p}from"../shared/ui/AmountInput/AmountInput.slots.js";import{formatAmountForInput as m,parseAmountInputValue as h}from"../shared/ui/AmountInput/utils.js";import{AmountInput as g}from"../shared/ui/AmountInput/AmountInput.js";import"../shared/ui/AmountInput/index.js";import{BADGE_SLOTS as _}from"../shared/ui/Badge/Badge.slots.js";import{Badge as v}from"../shared/ui/Badge/Badge.js";import"../shared/ui/Badge/index.js";import{CARD_SLOTS as y}from"../shared/ui/Card/Card.slots.js";import{Card as b}from"../shared/ui/Card/Card.js";import"../shared/ui/Card/index.js";import{COLLAPSIBLE_SLOTS as x}from"../shared/ui/Collapsible/Collapsible.slots.js";import{Collapsible as S}from"../shared/ui/Collapsible/Collapsible.js";import"../shared/ui/Collapsible/index.js";import{DETAILS_SLOTS as C}from"../shared/ui/Details/Details.slots.js";import{Details as w}from"../shared/ui/Details/Details.js";import"../shared/ui/Details/index.js";import{FIELD_SLOTS as T}from"../shared/ui/Field/Field.slots.js";import{Field as E}from"../shared/ui/Field/Field.js";import"../shared/ui/Field/index.js";import{IMAGE_SLOTS as D}from"../shared/ui/Image/Image.slots.js";import{Image as O}from"../shared/ui/Image/Image.js";import"../shared/ui/Image/index.js";import{INPUT_GROUP_SLOTS as k}from"../shared/ui/InputGroup/InputGroup.slots.js";import{InputGroup as A}from"../shared/ui/InputGroup/InputGroup.js";import"../shared/ui/InputGroup/index.js";import{LtrAtom as j}from"../shared/ui/LtrAtom/LtrAtom.js";import"../shared/ui/LtrAtom/index.js";import{SELECT_SLOTS as M}from"../shared/ui/Select/Select.slots.js";import{Select as N}from"../shared/ui/Select/Select.js";import"../shared/ui/Select/index.js";import{SELECTABLE_TILE_SLOTS as P}from"../shared/ui/SelectableTile/SelectableTile.slots.js";import{SelectableTile as F}from"../shared/ui/SelectableTile/SelectableTile.js";import{SelectableTileGroup as I}from"../shared/ui/SelectableTile/SelectableTileGroup.js";import"../shared/ui/SelectableTile/index.js";import{SKELETON_SLOTS as L}from"../shared/ui/Skeleton/Skeleton.slots.js";import{Skeleton as R}from"../shared/ui/Skeleton/Skeleton.js";import"../shared/ui/Skeleton/index.js";import{TEXT_SLOTS as z}from"../shared/ui/Text/Text.slots.js";import{text as B}from"../shared/ui/Text/Text.js";import"../shared/ui/Text/index.js";import{TokenLogo as V}from"../shared/ui/TokenLogo/TokenLogo.js";import"../shared/ui/TokenLogo/index.js";import{TOOLTIP_SLOTS as H}from"../shared/ui/Tooltip/Tooltip.slots.js";import{Tooltip as U}from"../shared/ui/Tooltip/Tooltip.js";import"../shared/ui/Tooltip/index.js";import{WALLET_ROW_SLOTS as W}from"../shared/ui/WalletRow/WalletRow.slots.js";import{WalletRow as G}from"../shared/ui/WalletRow/WalletRow.js";import"../shared/ui/WalletRow/index.js";export{d as ALERT_SLOTS,p as AMOUNT_INPUT_SLOTS,f as Alert,g as AmountInput,_ as BADGE_SLOTS,n as BUTTON_SLOTS,v as Badge,r as Button,y as CARD_SLOTS,x as COLLAPSIBLE_SLOTS,b as Card,S as Collapsible,C as DETAILS_SLOTS,c as DIALOG_SLOTS,w as Details,l as Dialog,e as EXTERNAL_LINK_SLOTS,t as ExternalLink,T as FIELD_SLOTS,E as Field,i as ICON_BUTTON_SLOTS,D as IMAGE_SLOTS,k as INPUT_GROUP_SLOTS,a as IconButton,O as Image,A as InputGroup,j as LtrAtom,o as SCROLL_AREA_SLOTS,P as SELECTABLE_TILE_SLOTS,M as SELECT_SLOTS,L as SKELETON_SLOTS,s as ScrollArea,N as Select,F as SelectableTile,I as SelectableTileGroup,R as Skeleton,z as TEXT_SLOTS,H as TOOLTIP_SLOTS,V as TokenLogo,U as Tooltip,W as WALLET_ROW_SLOTS,G as WalletRow,m as formatAmountForInput,h as parseAmountInputValue,B as text,u as useIsInsideDialogContent};
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
+
import { WithdrawSubmitActions, WithdrawSubmitCallback, WithdrawSubmitInput } from "../../flows/withdraw/orchestrator/types.js";
|
|
2
|
+
import { WithdrawBalanceInput, WithdrawBindings, WithdrawSuggestedRecipient } from "../../flows/withdraw/bindings/WithdrawBindings.js";
|
|
1
3
|
import { WithdrawDialog } from "../../flows/withdraw/dialog/WithdrawDialog.js";
|
|
2
|
-
export { WithdrawDialog };
|
|
4
|
+
export { type WithdrawBalanceInput, type WithdrawBindings, WithdrawDialog, type WithdrawSubmitActions, type WithdrawSubmitCallback, type WithdrawSubmitInput, type WithdrawSuggestedRecipient };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stridge/kit",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.21",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -119,10 +119,9 @@
|
|
|
119
119
|
"typescript": "6.0.3",
|
|
120
120
|
"viem": "2.48.1",
|
|
121
121
|
"vite-plugin-babel": "^1.6.0",
|
|
122
|
-
"vitest": "4.1.
|
|
122
|
+
"vitest": "4.1.5",
|
|
123
123
|
"wagmi": "3.6.3",
|
|
124
|
-
"@stridge/kit-typescript": "0.0.0"
|
|
125
|
-
"@stridge/utils": "0.1.0-alpha.2"
|
|
124
|
+
"@stridge/kit-typescript": "0.0.0"
|
|
126
125
|
},
|
|
127
126
|
"dependencies": {
|
|
128
127
|
"@base-ui/react": "1.4.0",
|
|
@@ -130,14 +129,14 @@
|
|
|
130
129
|
"@lingui/message-utils": "^6.0.1",
|
|
131
130
|
"@lingui/react": "^6.0.1",
|
|
132
131
|
"@stylexjs/stylex": "^0.18.3",
|
|
133
|
-
"cuer": "0.0.3",
|
|
134
132
|
"motion": "^12.38.0",
|
|
135
|
-
"
|
|
133
|
+
"qr": "0.6.0",
|
|
134
|
+
"@stridge/sdk": "0.1.0-alpha.4"
|
|
136
135
|
},
|
|
137
136
|
"scripts": {
|
|
138
137
|
"build": "pnpm run i18n:compile && tsdown",
|
|
139
|
-
"check:api": "api-extractor run",
|
|
140
|
-
"check:api:update": "api-extractor run --local",
|
|
138
|
+
"check:api": "api-extractor run && api-extractor run --config api-extractor.i18n.json",
|
|
139
|
+
"check:api:update": "api-extractor run --local && api-extractor run --local --config api-extractor.i18n.json",
|
|
141
140
|
"check:attw": "attw --pack . --profile esm-only --exclude-entrypoints ./styles.css",
|
|
142
141
|
"check:isolation": "depcruise src",
|
|
143
142
|
"check:publint": "publint",
|
|
@@ -145,9 +144,9 @@
|
|
|
145
144
|
"check:size": "size-limit",
|
|
146
145
|
"check:size:why": "size-limit --why",
|
|
147
146
|
"dev": "pnpm run i18n:compile && tsdown --watch",
|
|
148
|
-
"i18n:extract": "lingui extract --clean",
|
|
149
|
-
"i18n:compile": "lingui compile --typescript",
|
|
150
|
-
"i18n:check": "lingui extract --clean && git diff --exit-code -- src/shared/i18n/locales",
|
|
147
|
+
"i18n:extract": "lingui extract --clean && node scripts/codegen-source-keys.mjs",
|
|
148
|
+
"i18n:compile": "lingui compile --typescript && node scripts/codegen-source-keys.mjs",
|
|
149
|
+
"i18n:check": "lingui extract --clean && node scripts/codegen-source-keys.mjs && git diff --exit-code -- src/shared/i18n/locales",
|
|
151
150
|
"test": "pnpm run i18n:compile && vitest --run",
|
|
152
151
|
"test:coverage": "pnpm run i18n:compile && vitest --run --coverage",
|
|
153
152
|
"test:watch": "pnpm run i18n:compile && vitest",
|
package/dist/kit/package.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=`0.1.0-alpha.2`;export{e as version};
|
|
File without changes
|