@stridge/kit 0.1.0-alpha.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 (763) hide show
  1. package/LICENSE +21 -0
  2. package/dist/KitProvider.d.ts +91 -0
  3. package/dist/KitProvider.js +1 -0
  4. package/dist/_internal/deposit/driver/index.d.ts +5 -0
  5. package/dist/_internal/deposit/driver/index.js +1 -0
  6. package/dist/_internal/deposit/widgets/index.d.ts +11 -0
  7. package/dist/_internal/deposit/widgets/index.js +1 -0
  8. package/dist/_internal/drivers/stridge/index.d.ts +6 -0
  9. package/dist/_internal/drivers/stridge/index.js +1 -0
  10. package/dist/_internal/drivers/stridge-mock/index.d.ts +5 -0
  11. package/dist/_internal/drivers/stridge-mock/index.js +1 -0
  12. package/dist/_internal/index.d.ts +2 -0
  13. package/dist/_internal/index.js +1 -0
  14. package/dist/_internal/withdraw/driver/index.d.ts +6 -0
  15. package/dist/_internal/withdraw/driver/index.js +1 -0
  16. package/dist/_internal/withdraw/widgets/index.d.ts +5 -0
  17. package/dist/_internal/withdraw/widgets/index.js +1 -0
  18. package/dist/banners/index.d.ts +1 -0
  19. package/dist/banners/index.js +1 -0
  20. package/dist/banners/useBannerAck.d.ts +61 -0
  21. package/dist/banners/useBannerAck.js +1 -0
  22. package/dist/deposit/compound/index.d.ts +28 -0
  23. package/dist/deposit/compound/index.js +1 -0
  24. package/dist/deposit/dialog/index.d.ts +2 -0
  25. package/dist/deposit/dialog/index.js +1 -0
  26. package/dist/drivers/stridge/createStridgeDepositDriver.d.ts +29 -0
  27. package/dist/drivers/stridge/createStridgeDepositDriver.js +1 -0
  28. package/dist/drivers/stridge/createStridgeWithdrawDriver.d.ts +113 -0
  29. package/dist/drivers/stridge/createStridgeWithdrawDriver.js +1 -0
  30. package/dist/drivers/stridge/internal/encoding.js +1 -0
  31. package/dist/drivers/stridge/internal/env.js +1 -0
  32. package/dist/drivers/stridge/internal/metadata.js +1 -0
  33. package/dist/drivers/stridge/internal/pollOnce.js +1 -0
  34. package/dist/drivers/stridge/internal/signAndConfirm.js +1 -0
  35. package/dist/drivers/stridge/poll.js +1 -0
  36. package/dist/drivers/stridge/rpc.d.ts +77 -0
  37. package/dist/drivers/stridge/rpc.js +1 -0
  38. package/dist/drivers/stridge/types.d.ts +145 -0
  39. package/dist/drivers/stridge/types.js +1 -0
  40. package/dist/drivers/stridge/wagmiSigner.js +1 -0
  41. package/dist/drivers/stridge-mock/createStridgeMockDriver.d.ts +120 -0
  42. package/dist/drivers/stridge-mock/createStridgeMockDriver.js +1 -0
  43. package/dist/drivers/stridge-mock/createStridgeMockWithdrawDriver.d.ts +118 -0
  44. package/dist/drivers/stridge-mock/createStridgeMockWithdrawDriver.js +1 -0
  45. package/dist/drivers/stridge-mock/fixtures.d.ts +127 -0
  46. package/dist/drivers/stridge-mock/fixtures.js +1 -0
  47. package/dist/drivers/stridge-mock/store.js +1 -0
  48. package/dist/drivers/stridge-mock/triggers.d.ts +41 -0
  49. package/dist/flows/deposit/dialog/DepositBootstrapErrorState.js +1 -0
  50. package/dist/flows/deposit/dialog/DepositBootstrapErrorState.styles.js +1 -0
  51. package/dist/flows/deposit/dialog/DepositDialog.d.ts +112 -0
  52. package/dist/flows/deposit/dialog/DepositDialog.js +1 -0
  53. package/dist/flows/deposit/driver/context.d.ts +37 -0
  54. package/dist/flows/deposit/driver/context.js +1 -0
  55. package/dist/flows/deposit/driver/payloads.d.ts +342 -0
  56. package/dist/flows/deposit/driver/transformers/balanceToBalancesPayload.js +1 -0
  57. package/dist/flows/deposit/driver/transformers/quoteToPayload.js +1 -0
  58. package/dist/flows/deposit/driver/transformers/settlementToPayload.js +1 -0
  59. package/dist/flows/deposit/driver/transformers/startToAddressesPayload.js +1 -0
  60. package/dist/flows/deposit/driver/transformers/startToBrandPayload.js +1 -0
  61. package/dist/flows/deposit/driver/transformers/startToTargetPayload.js +1 -0
  62. package/dist/flows/deposit/driver/transformers/walletAddressToWalletPayload.js +1 -0
  63. package/dist/flows/deposit/driver/types.d.ts +177 -0
  64. package/dist/flows/deposit/orchestrator/controller.d.ts +11 -0
  65. package/dist/flows/deposit/orchestrator/controller.js +1 -0
  66. package/dist/flows/deposit/orchestrator/reducer.js +1 -0
  67. package/dist/flows/deposit/orchestrator/resolveAssetById.js +1 -0
  68. package/dist/flows/deposit/orchestrator/steps.d.ts +23 -0
  69. package/dist/flows/deposit/orchestrator/steps.js +1 -0
  70. package/dist/flows/deposit/orchestrator/types.d.ts +266 -0
  71. package/dist/flows/deposit/orchestrator/useDeposit.d.ts +35 -0
  72. package/dist/flows/deposit/orchestrator/useDeposit.js +1 -0
  73. package/dist/flows/deposit/widgets/amount-entry/AmountEntry.d.ts +35 -0
  74. package/dist/flows/deposit/widgets/amount-entry/AmountEntry.js +1 -0
  75. package/dist/flows/deposit/widgets/amount-entry/index.d.ts +1 -0
  76. package/dist/flows/deposit/widgets/amount-entry/index.js +1 -0
  77. package/dist/flows/deposit/widgets/asset-picker/AssetPicker.d.ts +25 -0
  78. package/dist/flows/deposit/widgets/asset-picker/AssetPicker.js +1 -0
  79. package/dist/flows/deposit/widgets/asset-picker/index.d.ts +1 -0
  80. package/dist/flows/deposit/widgets/asset-picker/index.js +1 -0
  81. package/dist/flows/deposit/widgets/confirm-deposit/ConfirmDeposit.d.ts +31 -0
  82. package/dist/flows/deposit/widgets/confirm-deposit/ConfirmDeposit.js +1 -0
  83. package/dist/flows/deposit/widgets/confirm-deposit/index.d.ts +1 -0
  84. package/dist/flows/deposit/widgets/confirm-deposit/index.js +1 -0
  85. package/dist/flows/deposit/widgets/deposit/Deposit.d.ts +30 -0
  86. package/dist/flows/deposit/widgets/deposit/Deposit.js +1 -0
  87. package/dist/flows/deposit/widgets/deposit/compound/Deposit.d.ts +51 -0
  88. package/dist/flows/deposit/widgets/deposit/compound/Deposit.js +1 -0
  89. package/dist/flows/deposit/widgets/deposit/compound/Deposit.slots.d.ts +11 -0
  90. package/dist/flows/deposit/widgets/deposit/compound/Deposit.slots.js +1 -0
  91. package/dist/flows/deposit/widgets/deposit/compound/Deposit.styles.js +1 -0
  92. package/dist/flows/deposit/widgets/deposit/compound/components/Header.d.ts +15 -0
  93. package/dist/flows/deposit/widgets/deposit/compound/components/Header.js +1 -0
  94. package/dist/flows/deposit/widgets/deposit/compound/components/Method.d.ts +32 -0
  95. package/dist/flows/deposit/widgets/deposit/compound/components/Method.js +1 -0
  96. package/dist/flows/deposit/widgets/deposit/compound/components/Methods.d.ts +23 -0
  97. package/dist/flows/deposit/widgets/deposit/compound/components/Methods.js +1 -0
  98. package/dist/flows/deposit/widgets/deposit/compound/context.js +1 -0
  99. package/dist/flows/deposit/widgets/deposit/compound/index.d.ts +3 -0
  100. package/dist/flows/deposit/widgets/deposit/compound/index.js +1 -0
  101. package/dist/flows/deposit/widgets/deposit/compound/types.d.ts +129 -0
  102. package/dist/flows/deposit/widgets/deposit/index.d.ts +1 -0
  103. package/dist/flows/deposit/widgets/deposit/index.js +1 -0
  104. package/dist/flows/deposit/widgets/deposit-status-banner/DepositStatusBanner.d.ts +20 -0
  105. package/dist/flows/deposit/widgets/deposit-status-banner/DepositStatusBanner.js +1 -0
  106. package/dist/flows/deposit/widgets/deposit-status-banner/compound/DepositStatusBanner.d.ts +102 -0
  107. package/dist/flows/deposit/widgets/deposit-status-banner/compound/DepositStatusBanner.js +1 -0
  108. package/dist/flows/deposit/widgets/deposit-status-banner/compound/DepositStatusBanner.slots.d.ts +20 -0
  109. package/dist/flows/deposit/widgets/deposit-status-banner/compound/DepositStatusBanner.slots.js +1 -0
  110. package/dist/flows/deposit/widgets/deposit-status-banner/compound/DepositStatusBanner.styles.js +1 -0
  111. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Body.d.ts +17 -0
  112. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Body.js +1 -0
  113. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Close.d.ts +13 -0
  114. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Close.js +1 -0
  115. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Detail.d.ts +14 -0
  116. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Detail.js +1 -0
  117. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Details.d.ts +20 -0
  118. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Details.js +1 -0
  119. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Footer.d.ts +17 -0
  120. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Footer.js +1 -0
  121. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Hero.d.ts +17 -0
  122. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Hero.js +1 -0
  123. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/PrimaryAction.d.ts +26 -0
  124. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/PrimaryAction.js +1 -0
  125. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Rows.d.ts +35 -0
  126. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Rows.js +1 -0
  127. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Toggle.d.ts +18 -0
  128. package/dist/flows/deposit/widgets/deposit-status-banner/compound/components/Toggle.js +1 -0
  129. package/dist/flows/deposit/widgets/deposit-status-banner/compound/context.js +1 -0
  130. package/dist/flows/deposit/widgets/deposit-status-banner/compound/index.d.ts +3 -0
  131. package/dist/flows/deposit/widgets/deposit-status-banner/compound/index.js +1 -0
  132. package/dist/flows/deposit/widgets/deposit-status-banner/compound/types.d.ts +188 -0
  133. package/dist/flows/deposit/widgets/deposit-status-banner/index.d.ts +1 -0
  134. package/dist/flows/deposit/widgets/deposit-status-banner/index.js +1 -0
  135. package/dist/flows/deposit/widgets/error-state/ErrorState.d.ts +30 -0
  136. package/dist/flows/deposit/widgets/error-state/ErrorState.js +1 -0
  137. package/dist/flows/deposit/widgets/error-state/index.d.ts +1 -0
  138. package/dist/flows/deposit/widgets/error-state/index.js +1 -0
  139. package/dist/flows/deposit/widgets/processing-state/ProcessingState.d.ts +31 -0
  140. package/dist/flows/deposit/widgets/processing-state/ProcessingState.js +1 -0
  141. package/dist/flows/deposit/widgets/processing-state/index.d.ts +1 -0
  142. package/dist/flows/deposit/widgets/processing-state/index.js +1 -0
  143. package/dist/flows/deposit/widgets/success-state/SuccessState.d.ts +30 -0
  144. package/dist/flows/deposit/widgets/success-state/SuccessState.js +1 -0
  145. package/dist/flows/deposit/widgets/success-state/index.d.ts +1 -0
  146. package/dist/flows/deposit/widgets/success-state/index.js +1 -0
  147. package/dist/flows/deposit/widgets/transfer-crypto/TransferCrypto.d.ts +41 -0
  148. package/dist/flows/deposit/widgets/transfer-crypto/TransferCrypto.js +1 -0
  149. package/dist/flows/deposit/widgets/transfer-crypto/compound/TransferCrypto.d.ts +56 -0
  150. package/dist/flows/deposit/widgets/transfer-crypto/compound/TransferCrypto.js +1 -0
  151. package/dist/flows/deposit/widgets/transfer-crypto/compound/TransferCrypto.slots.d.ts +15 -0
  152. package/dist/flows/deposit/widgets/transfer-crypto/compound/TransferCrypto.slots.js +1 -0
  153. package/dist/flows/deposit/widgets/transfer-crypto/compound/TransferCrypto.styles.js +1 -0
  154. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/Address.d.ts +10 -0
  155. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/Address.js +1 -0
  156. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/Disclosure.d.ts +17 -0
  157. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/Disclosure.js +1 -0
  158. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/Header.d.ts +15 -0
  159. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/Header.js +1 -0
  160. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/InfoTooltip.js +1 -0
  161. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/QrCode.d.ts +21 -0
  162. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/QrCode.js +1 -0
  163. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/Selectors.d.ts +11 -0
  164. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/Selectors.js +1 -0
  165. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/Summary.d.ts +11 -0
  166. package/dist/flows/deposit/widgets/transfer-crypto/compound/components/Summary.js +1 -0
  167. package/dist/flows/deposit/widgets/transfer-crypto/compound/context.js +1 -0
  168. package/dist/flows/deposit/widgets/transfer-crypto/compound/index.d.ts +3 -0
  169. package/dist/flows/deposit/widgets/transfer-crypto/compound/index.js +1 -0
  170. package/dist/flows/deposit/widgets/transfer-crypto/compound/types.d.ts +187 -0
  171. package/dist/flows/deposit/widgets/transfer-crypto/index.d.ts +1 -0
  172. package/dist/flows/deposit/widgets/transfer-crypto/index.js +1 -0
  173. package/dist/flows/shared/transformers/classifySettlementStatus.js +1 -0
  174. package/dist/flows/shared/transformers/computeQuoteAttrs.js +1 -0
  175. package/dist/flows/shared/transformers/parseIsoMs.js +1 -0
  176. package/dist/flows/shared/transformers/parseSmallestUnit.js +1 -0
  177. package/dist/flows/shared/transformers/pickRelevantSettlement.js +1 -0
  178. package/dist/flows/withdraw/dialog/WithdrawDialog.d.ts +103 -0
  179. package/dist/flows/withdraw/dialog/WithdrawDialog.js +1 -0
  180. package/dist/flows/withdraw/dialog/WithdrawDialogEventsContext.d.ts +36 -0
  181. package/dist/flows/withdraw/dialog/WithdrawDialogEventsContext.js +1 -0
  182. package/dist/flows/withdraw/driver/context.d.ts +24 -0
  183. package/dist/flows/withdraw/driver/context.js +1 -0
  184. package/dist/flows/withdraw/driver/dto.d.ts +41 -0
  185. package/dist/flows/withdraw/driver/payloads.d.ts +206 -0
  186. package/dist/flows/withdraw/driver/transformers/balanceToWithdrawableBalancesPayload.js +1 -0
  187. package/dist/flows/withdraw/driver/transformers/quoteToWithdrawalPayload.js +1 -0
  188. package/dist/flows/withdraw/driver/transformers/settlementToWithdrawalPayload.js +1 -0
  189. package/dist/flows/withdraw/driver/transformers/supportedAssetsToReceiveOptionsPayload.js +1 -0
  190. package/dist/flows/withdraw/driver/types.d.ts +133 -0
  191. package/dist/flows/withdraw/orchestrator/controller.d.ts +11 -0
  192. package/dist/flows/withdraw/orchestrator/controller.js +1 -0
  193. package/dist/flows/withdraw/orchestrator/index.d.ts +4 -0
  194. package/dist/flows/withdraw/orchestrator/index.js +1 -0
  195. package/dist/flows/withdraw/orchestrator/reducer.js +1 -0
  196. package/dist/flows/withdraw/orchestrator/types.d.ts +156 -0
  197. package/dist/flows/withdraw/orchestrator/useWithdraw.d.ts +23 -0
  198. package/dist/flows/withdraw/orchestrator/useWithdraw.js +1 -0
  199. package/dist/flows/withdraw/widgets/withdraw-error/WithdrawError.d.ts +22 -0
  200. package/dist/flows/withdraw/widgets/withdraw-error/WithdrawError.js +1 -0
  201. package/dist/flows/withdraw/widgets/withdraw-error/index.d.ts +1 -0
  202. package/dist/flows/withdraw/widgets/withdraw-error/index.js +1 -0
  203. package/dist/flows/withdraw/widgets/withdraw-form/WithdrawForm.d.ts +29 -0
  204. package/dist/flows/withdraw/widgets/withdraw-form/WithdrawForm.js +1 -0
  205. package/dist/flows/withdraw/widgets/withdraw-form/compound/WithdrawForm.d.ts +55 -0
  206. package/dist/flows/withdraw/widgets/withdraw-form/compound/WithdrawForm.js +1 -0
  207. package/dist/flows/withdraw/widgets/withdraw-form/compound/WithdrawForm.slots.d.ts +31 -0
  208. package/dist/flows/withdraw/widgets/withdraw-form/compound/WithdrawForm.slots.js +1 -0
  209. package/dist/flows/withdraw/widgets/withdraw-form/compound/WithdrawForm.styles.js +1 -0
  210. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/AmountField.d.ts +12 -0
  211. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/AmountField.js +1 -0
  212. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/Body.d.ts +20 -0
  213. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/Body.js +1 -0
  214. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/BreakdownCard.d.ts +17 -0
  215. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/BreakdownCard.js +1 -0
  216. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/Footer.d.ts +18 -0
  217. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/Footer.js +1 -0
  218. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/Header.d.ts +21 -0
  219. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/Header.js +1 -0
  220. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/InfoTooltip.js +1 -0
  221. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/ReceiveSelectors.d.ts +13 -0
  222. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/ReceiveSelectors.js +1 -0
  223. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/RecipientField.d.ts +19 -0
  224. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/RecipientField.js +1 -0
  225. package/dist/flows/withdraw/widgets/withdraw-form/compound/context.js +1 -0
  226. package/dist/flows/withdraw/widgets/withdraw-form/compound/index.d.ts +3 -0
  227. package/dist/flows/withdraw/widgets/withdraw-form/compound/index.js +1 -0
  228. package/dist/flows/withdraw/widgets/withdraw-form/compound/types.d.ts +149 -0
  229. package/dist/flows/withdraw/widgets/withdraw-form/index.d.ts +1 -0
  230. package/dist/flows/withdraw/widgets/withdraw-form/index.js +1 -0
  231. package/dist/flows/withdraw/widgets/withdraw-form/validation.js +1 -0
  232. package/dist/flows/withdraw/widgets/withdraw-in-progress/WithdrawInProgress.d.ts +19 -0
  233. package/dist/flows/withdraw/widgets/withdraw-in-progress/WithdrawInProgress.js +1 -0
  234. package/dist/flows/withdraw/widgets/withdraw-in-progress/index.d.ts +1 -0
  235. package/dist/flows/withdraw/widgets/withdraw-in-progress/index.js +1 -0
  236. package/dist/flows/withdraw/widgets/withdraw-success/WithdrawSuccess.d.ts +20 -0
  237. package/dist/flows/withdraw/widgets/withdraw-success/WithdrawSuccess.js +1 -0
  238. package/dist/flows/withdraw/widgets/withdraw-success/index.d.ts +1 -0
  239. package/dist/flows/withdraw/widgets/withdraw-success/index.js +1 -0
  240. package/dist/format/index.d.ts +10 -0
  241. package/dist/format/index.js +1 -0
  242. package/dist/i18n/index.d.ts +9 -0
  243. package/dist/i18n/index.js +1 -0
  244. package/dist/i18n/locales/ar.d.ts +6 -0
  245. package/dist/i18n/locales/ar.js +1 -0
  246. package/dist/i18n/locales/es.d.ts +6 -0
  247. package/dist/i18n/locales/es.js +1 -0
  248. package/dist/icons/index.d.ts +27 -0
  249. package/dist/icons/index.js +1 -0
  250. package/dist/index.d.ts +26 -0
  251. package/dist/index.js +1 -0
  252. package/dist/kit/package.js +1 -0
  253. package/dist/scope/KitPortalScope.d.ts +31 -0
  254. package/dist/scope/KitPortalScope.js +1 -0
  255. package/dist/scope/KitScope.d.ts +63 -0
  256. package/dist/scope/KitScope.js +1 -0
  257. package/dist/scope/KitScope.slots.js +1 -0
  258. package/dist/scope/context.d.ts +67 -0
  259. package/dist/scope/context.js +1 -0
  260. package/dist/scope/index.d.ts +3 -0
  261. package/dist/scope/index.js +1 -0
  262. package/dist/shared/chains/index.d.ts +40 -0
  263. package/dist/shared/chains/index.js +1 -0
  264. package/dist/shared/constants/brand-links.js +1 -0
  265. package/dist/shared/dialog/DialogShell.d.ts +63 -0
  266. package/dist/shared/dialog/DialogShell.js +1 -0
  267. package/dist/shared/dialog/Frame.js +1 -0
  268. package/dist/shared/dialog/GatewayKitRoot.js +1 -0
  269. package/dist/shared/dialog/StepTransition.js +1 -0
  270. package/dist/shared/dialog/useDirectionalChevronTransform.js +1 -0
  271. package/dist/shared/driver/types.d.ts +69 -0
  272. package/dist/shared/error-handling/components/GatewayKitBoundary.js +1 -0
  273. package/dist/shared/error-handling/components/GatewayKitErrorCard/GatewayKitErrorCard.js +1 -0
  274. package/dist/shared/error-handling/components/GatewayKitErrorCard/GatewayKitErrorCard.slots.js +1 -0
  275. package/dist/shared/error-handling/components/GatewayKitErrorCard/GatewayKitErrorCard.styles.js +1 -0
  276. package/dist/shared/error-handling/components/GatewayKitErrorCard/components/Action.js +1 -0
  277. package/dist/shared/error-handling/components/GatewayKitErrorCard/components/Actions.js +1 -0
  278. package/dist/shared/error-handling/components/GatewayKitErrorCard/components/CodeSample.js +1 -0
  279. package/dist/shared/error-handling/components/GatewayKitErrorCard/components/Description.js +1 -0
  280. package/dist/shared/error-handling/components/GatewayKitErrorCard/components/DetailRow.js +1 -0
  281. package/dist/shared/error-handling/components/GatewayKitErrorCard/components/Guidance.js +1 -0
  282. package/dist/shared/error-handling/components/GatewayKitErrorCard/components/Section.js +1 -0
  283. package/dist/shared/error-handling/components/GatewayKitErrorCard/components/TechnicalDetails.js +1 -0
  284. package/dist/shared/error-handling/components/GatewayKitErrorCard/components/TechnicalDetailsToggle.js +1 -0
  285. package/dist/shared/error-handling/components/GatewayKitErrorCard/components/Title.js +1 -0
  286. package/dist/shared/error-handling/components/GatewayKitErrorCard/context.js +1 -0
  287. package/dist/shared/error-handling/components/GatewayKitErrorCard/index.js +1 -0
  288. package/dist/shared/error-handling/components/GatewayKitRecoveryError.js +1 -0
  289. package/dist/shared/error-handling/components/GatewayKitSetupError.js +1 -0
  290. package/dist/shared/error-handling/constants/guides.js +1 -0
  291. package/dist/shared/error-handling/constants/snippets.js +6 -0
  292. package/dist/shared/error-handling/index.js +1 -0
  293. package/dist/shared/error-handling/lib/isWagmiProviderMissingError.js +1 -0
  294. package/dist/shared/format/formatDurationCoarse.d.ts +29 -0
  295. package/dist/shared/format/formatDurationCoarse.js +1 -0
  296. package/dist/shared/format/formatDurationCompact.d.ts +28 -0
  297. package/dist/shared/format/formatDurationCompact.js +1 -0
  298. package/dist/shared/format/formatNetworkName.d.ts +27 -0
  299. package/dist/shared/format/formatNetworkName.js +1 -0
  300. package/dist/shared/format/formatPercent.d.ts +23 -0
  301. package/dist/shared/format/formatPercent.js +1 -0
  302. package/dist/shared/format/formatTimestamp.d.ts +22 -0
  303. package/dist/shared/format/formatTimestamp.js +1 -0
  304. package/dist/shared/format/formatTokenAmount.d.ts +46 -0
  305. package/dist/shared/format/formatTokenAmount.js +1 -0
  306. package/dist/shared/format/formatUsd.d.ts +41 -0
  307. package/dist/shared/format/formatUsd.js +1 -0
  308. package/dist/shared/format/shortenAddress.d.ts +27 -0
  309. package/dist/shared/format/shortenAddress.js +1 -0
  310. package/dist/shared/format/types.d.ts +33 -0
  311. package/dist/shared/i18n/KitI18nProvider.d.ts +23 -0
  312. package/dist/shared/i18n/KitI18nProvider.js +1 -0
  313. package/dist/shared/i18n/Trans.d.ts +39 -0
  314. package/dist/shared/i18n/Trans.js +1 -0
  315. package/dist/shared/i18n/createKitI18n.d.ts +41 -0
  316. package/dist/shared/i18n/createKitI18n.js +1 -0
  317. package/dist/shared/i18n/defaultI18n.js +1 -0
  318. package/dist/shared/i18n/getLocaleDirection.d.ts +24 -0
  319. package/dist/shared/i18n/getLocaleDirection.js +1 -0
  320. package/dist/shared/i18n/locales.d.ts +31 -0
  321. package/dist/shared/i18n/locales.js +1 -0
  322. package/dist/shared/i18n/useKitI18n.d.ts +14 -0
  323. package/dist/shared/i18n/useKitI18n.js +1 -0
  324. package/dist/shared/i18n/useLingui.d.ts +35 -0
  325. package/dist/shared/i18n/useLingui.js +1 -0
  326. package/dist/shared/i18n/useT.d.ts +25 -0
  327. package/dist/shared/i18n/useT.js +1 -0
  328. package/dist/shared/icons/AlertIcon.d.ts +12 -0
  329. package/dist/shared/icons/AlertIcon.js +1 -0
  330. package/dist/shared/icons/ArrowDownIcon.d.ts +7 -0
  331. package/dist/shared/icons/ArrowDownIcon.js +1 -0
  332. package/dist/shared/icons/ArrowRightIcon.d.ts +7 -0
  333. package/dist/shared/icons/ArrowRightIcon.js +1 -0
  334. package/dist/shared/icons/ArrowRightLeftIcon.d.ts +7 -0
  335. package/dist/shared/icons/ArrowRightLeftIcon.js +1 -0
  336. package/dist/shared/icons/CheckIcon.d.ts +7 -0
  337. package/dist/shared/icons/CheckIcon.js +1 -0
  338. package/dist/shared/icons/ChevronDownIcon.d.ts +7 -0
  339. package/dist/shared/icons/ChevronDownIcon.js +1 -0
  340. package/dist/shared/icons/ChevronLeftIcon.d.ts +7 -0
  341. package/dist/shared/icons/ChevronLeftIcon.js +1 -0
  342. package/dist/shared/icons/ChevronRightIcon.d.ts +7 -0
  343. package/dist/shared/icons/ChevronRightIcon.js +1 -0
  344. package/dist/shared/icons/ChevronUpIcon.d.ts +7 -0
  345. package/dist/shared/icons/ChevronUpIcon.js +1 -0
  346. package/dist/shared/icons/CircleArrowUpIcon.d.ts +7 -0
  347. package/dist/shared/icons/CircleArrowUpIcon.js +1 -0
  348. package/dist/shared/icons/CircleHelpIcon.d.ts +7 -0
  349. package/dist/shared/icons/CircleHelpIcon.js +1 -0
  350. package/dist/shared/icons/ClockIcon.d.ts +7 -0
  351. package/dist/shared/icons/ClockIcon.js +1 -0
  352. package/dist/shared/icons/CopyIcon.d.ts +7 -0
  353. package/dist/shared/icons/CopyIcon.js +1 -0
  354. package/dist/shared/icons/ExternalLinkIcon.d.ts +7 -0
  355. package/dist/shared/icons/ExternalLinkIcon.js +1 -0
  356. package/dist/shared/icons/InfoIcon.d.ts +7 -0
  357. package/dist/shared/icons/InfoIcon.js +1 -0
  358. package/dist/shared/icons/LoaderIcon.d.ts +7 -0
  359. package/dist/shared/icons/LoaderIcon.js +1 -0
  360. package/dist/shared/icons/MailIcon.d.ts +7 -0
  361. package/dist/shared/icons/MailIcon.js +1 -0
  362. package/dist/shared/icons/PackageIcon.d.ts +7 -0
  363. package/dist/shared/icons/PackageIcon.js +1 -0
  364. package/dist/shared/icons/QrCodeIcon.d.ts +7 -0
  365. package/dist/shared/icons/QrCodeIcon.js +1 -0
  366. package/dist/shared/icons/WalletIcon.d.ts +7 -0
  367. package/dist/shared/icons/WalletIcon.js +1 -0
  368. package/dist/shared/icons/XIcon.d.ts +7 -0
  369. package/dist/shared/icons/XIcon.js +1 -0
  370. package/dist/shared/icons/exchanges/BinanceIcon.d.ts +7 -0
  371. package/dist/shared/icons/exchanges/BinanceIcon.js +1 -0
  372. package/dist/shared/icons/exchanges/CoinbaseIcon.d.ts +7 -0
  373. package/dist/shared/icons/exchanges/CoinbaseIcon.js +1 -0
  374. package/dist/shared/icons/exchanges/KrakenIcon.d.ts +7 -0
  375. package/dist/shared/icons/exchanges/KrakenIcon.js +1 -0
  376. package/dist/shared/icons/exchanges/OkxIcon.d.ts +7 -0
  377. package/dist/shared/icons/exchanges/OkxIcon.js +1 -0
  378. package/dist/shared/icons/exchanges/RobinhoodIcon.d.ts +7 -0
  379. package/dist/shared/icons/exchanges/RobinhoodIcon.js +1 -0
  380. package/dist/shared/icons/exchanges/index.d.ts +5 -0
  381. package/dist/shared/icons/exchanges/index.js +1 -0
  382. package/dist/shared/orchestrator/failureReason.js +1 -0
  383. package/dist/shared/orchestrator/index.js +1 -0
  384. package/dist/shared/orchestrator/toFailure.js +1 -0
  385. package/dist/shared/orchestrator/types.d.ts +20 -0
  386. package/dist/shared/orchestrator/useDialogLifecycle.js +1 -0
  387. package/dist/shared/orchestrator/useDriverSettlementListener.js +1 -0
  388. package/dist/shared/orchestrator/useEffectiveState.js +1 -0
  389. package/dist/shared/orchestrator/useSettlementWatcher.js +1 -0
  390. package/dist/shared/orchestrator/userRejection.js +1 -0
  391. package/dist/shared/primitives/TxHashValue/TxHashValue.d.ts +20 -0
  392. package/dist/shared/primitives/TxHashValue/TxHashValue.js +1 -0
  393. package/dist/shared/primitives/TxHashValue/TxHashValue.slots.js +1 -0
  394. package/dist/shared/primitives/TxHashValue/TxHashValue.styles.js +1 -0
  395. package/dist/shared/primitives/TxHashValue/index.d.ts +2 -0
  396. package/dist/shared/primitives/TxHashValue/index.js +1 -0
  397. package/dist/shared/primitives/TxHashValue/types.d.ts +25 -0
  398. package/dist/shared/primitives/WalletValue/WalletValue.d.ts +40 -0
  399. package/dist/shared/primitives/WalletValue/WalletValue.js +1 -0
  400. package/dist/shared/primitives/WalletValue/index.d.ts +1 -0
  401. package/dist/shared/primitives/WalletValue/index.js +1 -0
  402. package/dist/shared/quote/index.js +1 -0
  403. package/dist/shared/quote/useQuoteCountdown.js +1 -0
  404. package/dist/shared/styles/tokens.stylex.js +1 -0
  405. package/dist/shared/ui/Alert/Alert.d.ts +105 -0
  406. package/dist/shared/ui/Alert/Alert.js +1 -0
  407. package/dist/shared/ui/Alert/Alert.slots.d.ts +10 -0
  408. package/dist/shared/ui/Alert/Alert.slots.js +1 -0
  409. package/dist/shared/ui/Alert/Alert.styles.js +1 -0
  410. package/dist/shared/ui/Alert/index.d.ts +2 -0
  411. package/dist/shared/ui/Alert/index.js +1 -0
  412. package/dist/shared/ui/AmountInput/AmountInput.d.ts +132 -0
  413. package/dist/shared/ui/AmountInput/AmountInput.js +1 -0
  414. package/dist/shared/ui/AmountInput/AmountInput.slots.d.ts +11 -0
  415. package/dist/shared/ui/AmountInput/AmountInput.slots.js +1 -0
  416. package/dist/shared/ui/AmountInput/AmountInput.styles.js +1 -0
  417. package/dist/shared/ui/AmountInput/attachInputNormalization.js +1 -0
  418. package/dist/shared/ui/AmountInput/context.js +1 -0
  419. package/dist/shared/ui/AmountInput/index.d.ts +3 -0
  420. package/dist/shared/ui/AmountInput/index.js +1 -0
  421. package/dist/shared/ui/AmountInput/useAutoShrinkFontSize.js +14 -0
  422. package/dist/shared/ui/AmountInput/utils.d.ts +12 -0
  423. package/dist/shared/ui/AmountInput/utils.js +1 -0
  424. package/dist/shared/ui/Badge/Badge.d.ts +89 -0
  425. package/dist/shared/ui/Badge/Badge.js +1 -0
  426. package/dist/shared/ui/Badge/Badge.slots.d.ts +7 -0
  427. package/dist/shared/ui/Badge/Badge.slots.js +1 -0
  428. package/dist/shared/ui/Badge/Badge.styles.js +1 -0
  429. package/dist/shared/ui/Badge/index.d.ts +2 -0
  430. package/dist/shared/ui/Badge/index.js +1 -0
  431. package/dist/shared/ui/Button/Button.d.ts +82 -0
  432. package/dist/shared/ui/Button/Button.js +1 -0
  433. package/dist/shared/ui/Button/Button.slots.d.ts +7 -0
  434. package/dist/shared/ui/Button/Button.slots.js +1 -0
  435. package/dist/shared/ui/Button/Button.styles.js +1 -0
  436. package/dist/shared/ui/Button/index.d.ts +2 -0
  437. package/dist/shared/ui/Button/index.js +1 -0
  438. package/dist/shared/ui/Card/Card.d.ts +93 -0
  439. package/dist/shared/ui/Card/Card.js +1 -0
  440. package/dist/shared/ui/Card/Card.slots.d.ts +10 -0
  441. package/dist/shared/ui/Card/Card.slots.js +1 -0
  442. package/dist/shared/ui/Card/Card.styles.js +1 -0
  443. package/dist/shared/ui/Card/index.d.ts +2 -0
  444. package/dist/shared/ui/Card/index.js +1 -0
  445. package/dist/shared/ui/Collapsible/Collapsible.d.ts +57 -0
  446. package/dist/shared/ui/Collapsible/Collapsible.js +1 -0
  447. package/dist/shared/ui/Collapsible/Collapsible.slots.d.ts +10 -0
  448. package/dist/shared/ui/Collapsible/Collapsible.slots.js +1 -0
  449. package/dist/shared/ui/Collapsible/Collapsible.styles.js +1 -0
  450. package/dist/shared/ui/Collapsible/index.d.ts +2 -0
  451. package/dist/shared/ui/Collapsible/index.js +1 -0
  452. package/dist/shared/ui/Details/Details.d.ts +76 -0
  453. package/dist/shared/ui/Details/Details.js +1 -0
  454. package/dist/shared/ui/Details/Details.slots.d.ts +9 -0
  455. package/dist/shared/ui/Details/Details.slots.js +1 -0
  456. package/dist/shared/ui/Details/Details.styles.js +1 -0
  457. package/dist/shared/ui/Details/index.d.ts +2 -0
  458. package/dist/shared/ui/Details/index.js +1 -0
  459. package/dist/shared/ui/Dialog/Dialog.d.ts +147 -0
  460. package/dist/shared/ui/Dialog/Dialog.js +1 -0
  461. package/dist/shared/ui/Dialog/Dialog.slots.d.ts +17 -0
  462. package/dist/shared/ui/Dialog/Dialog.slots.js +1 -0
  463. package/dist/shared/ui/Dialog/Dialog.styles.js +1 -0
  464. package/dist/shared/ui/Dialog/index.d.ts +2 -0
  465. package/dist/shared/ui/Dialog/index.js +1 -0
  466. package/dist/shared/ui/ExternalLink/ExternalLink.d.ts +41 -0
  467. package/dist/shared/ui/ExternalLink/ExternalLink.js +1 -0
  468. package/dist/shared/ui/ExternalLink/ExternalLink.slots.d.ts +7 -0
  469. package/dist/shared/ui/ExternalLink/ExternalLink.slots.js +1 -0
  470. package/dist/shared/ui/ExternalLink/ExternalLink.styles.js +1 -0
  471. package/dist/shared/ui/ExternalLink/index.d.ts +2 -0
  472. package/dist/shared/ui/ExternalLink/index.js +1 -0
  473. package/dist/shared/ui/ExternalLink/toSafeHref.js +1 -0
  474. package/dist/shared/ui/Field/Field.d.ts +185 -0
  475. package/dist/shared/ui/Field/Field.js +1 -0
  476. package/dist/shared/ui/Field/Field.slots.d.ts +21 -0
  477. package/dist/shared/ui/Field/Field.slots.js +1 -0
  478. package/dist/shared/ui/Field/Field.styles.js +1 -0
  479. package/dist/shared/ui/Field/index.d.ts +2 -0
  480. package/dist/shared/ui/Field/index.js +1 -0
  481. package/dist/shared/ui/IconButton/IconButton.d.ts +48 -0
  482. package/dist/shared/ui/IconButton/IconButton.js +1 -0
  483. package/dist/shared/ui/IconButton/IconButton.slots.d.ts +7 -0
  484. package/dist/shared/ui/IconButton/IconButton.slots.js +1 -0
  485. package/dist/shared/ui/IconButton/IconButton.styles.js +1 -0
  486. package/dist/shared/ui/IconButton/index.d.ts +2 -0
  487. package/dist/shared/ui/IconButton/index.js +1 -0
  488. package/dist/shared/ui/Image/Image.d.ts +43 -0
  489. package/dist/shared/ui/Image/Image.js +1 -0
  490. package/dist/shared/ui/Image/Image.slots.d.ts +14 -0
  491. package/dist/shared/ui/Image/Image.slots.js +1 -0
  492. package/dist/shared/ui/Image/Image.styles.js +1 -0
  493. package/dist/shared/ui/Image/index.d.ts +3 -0
  494. package/dist/shared/ui/Image/index.js +1 -0
  495. package/dist/shared/ui/Image/types.d.ts +131 -0
  496. package/dist/shared/ui/InputGroup/InputGroup.d.ts +129 -0
  497. package/dist/shared/ui/InputGroup/InputGroup.js +1 -0
  498. package/dist/shared/ui/InputGroup/InputGroup.slots.d.ts +16 -0
  499. package/dist/shared/ui/InputGroup/InputGroup.slots.js +1 -0
  500. package/dist/shared/ui/InputGroup/InputGroup.styles.js +1 -0
  501. package/dist/shared/ui/InputGroup/index.d.ts +2 -0
  502. package/dist/shared/ui/InputGroup/index.js +1 -0
  503. package/dist/shared/ui/LtrAtom/LtrAtom.d.ts +31 -0
  504. package/dist/shared/ui/LtrAtom/LtrAtom.js +1 -0
  505. package/dist/shared/ui/LtrAtom/index.d.ts +1 -0
  506. package/dist/shared/ui/LtrAtom/index.js +1 -0
  507. package/dist/shared/ui/ScrollArea/ScrollArea.d.ts +86 -0
  508. package/dist/shared/ui/ScrollArea/ScrollArea.js +1 -0
  509. package/dist/shared/ui/ScrollArea/ScrollArea.slots.d.ts +12 -0
  510. package/dist/shared/ui/ScrollArea/ScrollArea.slots.js +1 -0
  511. package/dist/shared/ui/ScrollArea/ScrollArea.styles.js +1 -0
  512. package/dist/shared/ui/ScrollArea/index.d.ts +2 -0
  513. package/dist/shared/ui/ScrollArea/index.js +1 -0
  514. package/dist/shared/ui/Select/Select.context.d.ts +10 -0
  515. package/dist/shared/ui/Select/Select.context.js +1 -0
  516. package/dist/shared/ui/Select/Select.d.ts +243 -0
  517. package/dist/shared/ui/Select/Select.js +1 -0
  518. package/dist/shared/ui/Select/Select.slots.d.ts +20 -0
  519. package/dist/shared/ui/Select/Select.slots.js +1 -0
  520. package/dist/shared/ui/Select/Select.styles.js +1 -0
  521. package/dist/shared/ui/Select/index.d.ts +3 -0
  522. package/dist/shared/ui/Select/index.js +1 -0
  523. package/dist/shared/ui/SelectableTile/SelectableTile.d.ts +83 -0
  524. package/dist/shared/ui/SelectableTile/SelectableTile.js +1 -0
  525. package/dist/shared/ui/SelectableTile/SelectableTile.slots.d.ts +7 -0
  526. package/dist/shared/ui/SelectableTile/SelectableTile.slots.js +1 -0
  527. package/dist/shared/ui/SelectableTile/SelectableTile.styles.js +1 -0
  528. package/dist/shared/ui/SelectableTile/SelectableTileGroup.d.ts +82 -0
  529. package/dist/shared/ui/SelectableTile/SelectableTileGroup.js +1 -0
  530. package/dist/shared/ui/SelectableTile/index.d.ts +3 -0
  531. package/dist/shared/ui/SelectableTile/index.js +1 -0
  532. package/dist/shared/ui/Skeleton/Skeleton.d.ts +41 -0
  533. package/dist/shared/ui/Skeleton/Skeleton.js +1 -0
  534. package/dist/shared/ui/Skeleton/Skeleton.slots.d.ts +7 -0
  535. package/dist/shared/ui/Skeleton/Skeleton.slots.js +1 -0
  536. package/dist/shared/ui/Skeleton/Skeleton.styles.js +1 -0
  537. package/dist/shared/ui/Skeleton/index.d.ts +2 -0
  538. package/dist/shared/ui/Skeleton/index.js +1 -0
  539. package/dist/shared/ui/Text/Text.d.ts +87 -0
  540. package/dist/shared/ui/Text/Text.js +1 -0
  541. package/dist/shared/ui/Text/Text.slots.d.ts +7 -0
  542. package/dist/shared/ui/Text/Text.slots.js +1 -0
  543. package/dist/shared/ui/Text/Text.styles.js +1 -0
  544. package/dist/shared/ui/Text/index.d.ts +2 -0
  545. package/dist/shared/ui/Text/index.js +1 -0
  546. package/dist/shared/ui/TokenLogo/TokenLogo.d.ts +41 -0
  547. package/dist/shared/ui/TokenLogo/TokenLogo.js +1 -0
  548. package/dist/shared/ui/TokenLogo/index.d.ts +2 -0
  549. package/dist/shared/ui/TokenLogo/index.js +1 -0
  550. package/dist/shared/ui/TokenLogo/types.d.ts +64 -0
  551. package/dist/shared/ui/Tooltip/Tooltip.d.ts +171 -0
  552. package/dist/shared/ui/Tooltip/Tooltip.js +1 -0
  553. package/dist/shared/ui/Tooltip/Tooltip.slots.d.ts +11 -0
  554. package/dist/shared/ui/Tooltip/Tooltip.slots.js +1 -0
  555. package/dist/shared/ui/Tooltip/Tooltip.styles.js +1 -0
  556. package/dist/shared/ui/Tooltip/index.d.ts +2 -0
  557. package/dist/shared/ui/Tooltip/index.js +1 -0
  558. package/dist/shared/ui/WalletRow/WalletRow.d.ts +55 -0
  559. package/dist/shared/ui/WalletRow/WalletRow.js +1 -0
  560. package/dist/shared/ui/WalletRow/WalletRow.slots.d.ts +7 -0
  561. package/dist/shared/ui/WalletRow/WalletRow.slots.js +1 -0
  562. package/dist/shared/ui/WalletRow/WalletRow.styles.js +1 -0
  563. package/dist/shared/ui/WalletRow/index.d.ts +2 -0
  564. package/dist/shared/ui/WalletRow/index.js +1 -0
  565. package/dist/shared/utils/explorers.js +1 -0
  566. package/dist/shared/utils/joinClassNames.js +1 -0
  567. package/dist/shared/utils/logos/api.d.ts +54 -0
  568. package/dist/shared/utils/logos/api.js +1 -0
  569. package/dist/shared/utils/logos/chains.d.ts +32 -0
  570. package/dist/shared/utils/logos/chains.js +1 -0
  571. package/dist/shared/utils/logos/conventionUrls.js +1 -0
  572. package/dist/shared/utils/logos/index.js +1 -0
  573. package/dist/shared/utils/logos/resolveLogoSrc.js +1 -0
  574. package/dist/shared/utils/logos/types.d.ts +62 -0
  575. package/dist/shared/utils/mergeClassName.js +1 -0
  576. package/dist/shared/utils/mergeStyle.js +1 -0
  577. package/dist/shared/wallet/resolveSupportedChainIds.js +1 -0
  578. package/dist/shared/wallet/resolveSupportedChains.js +1 -0
  579. package/dist/shared/wallet/types.d.ts +103 -0
  580. package/dist/shared/wallet/useWalletState.d.ts +21 -0
  581. package/dist/shared/wallet/useWalletState.js +1 -0
  582. package/dist/shared/widgets/amount-entry/compound/AmountEntry.d.ts +59 -0
  583. package/dist/shared/widgets/amount-entry/compound/AmountEntry.js +1 -0
  584. package/dist/shared/widgets/amount-entry/compound/AmountEntry.slots.d.ts +15 -0
  585. package/dist/shared/widgets/amount-entry/compound/AmountEntry.slots.js +1 -0
  586. package/dist/shared/widgets/amount-entry/compound/AmountEntry.styles.js +1 -0
  587. package/dist/shared/widgets/amount-entry/compound/components/Flow.d.ts +14 -0
  588. package/dist/shared/widgets/amount-entry/compound/components/Flow.js +1 -0
  589. package/dist/shared/widgets/amount-entry/compound/components/Footer.d.ts +22 -0
  590. package/dist/shared/widgets/amount-entry/compound/components/Footer.js +1 -0
  591. package/dist/shared/widgets/amount-entry/compound/components/Header.d.ts +15 -0
  592. package/dist/shared/widgets/amount-entry/compound/components/Header.js +1 -0
  593. package/dist/shared/widgets/amount-entry/compound/components/Hero/Hero.d.ts +22 -0
  594. package/dist/shared/widgets/amount-entry/compound/components/Hero/Hero.js +1 -0
  595. package/dist/shared/widgets/amount-entry/compound/components/Hero/StaticBand.js +1 -0
  596. package/dist/shared/widgets/amount-entry/compound/components/Hero/SwapBackdrop.js +1 -0
  597. package/dist/shared/widgets/amount-entry/compound/components/Hero/index.d.ts +1 -0
  598. package/dist/shared/widgets/amount-entry/compound/components/Hero/index.js +1 -0
  599. package/dist/shared/widgets/amount-entry/compound/components/Hero/transitions.js +1 -0
  600. package/dist/shared/widgets/amount-entry/compound/components/Hero/useSwapState.js +1 -0
  601. package/dist/shared/widgets/amount-entry/compound/components/Hero/utils.js +1 -0
  602. package/dist/shared/widgets/amount-entry/compound/components/Pills.d.ts +22 -0
  603. package/dist/shared/widgets/amount-entry/compound/components/Pills.js +1 -0
  604. package/dist/shared/widgets/amount-entry/compound/context.js +1 -0
  605. package/dist/shared/widgets/amount-entry/compound/index.d.ts +3 -0
  606. package/dist/shared/widgets/amount-entry/compound/index.js +1 -0
  607. package/dist/shared/widgets/amount-entry/compound/types.d.ts +224 -0
  608. package/dist/shared/widgets/asset-descriptor.d.ts +27 -0
  609. package/dist/shared/widgets/asset-descriptor.js +1 -0
  610. package/dist/shared/widgets/asset-picker/compound/AssetPicker.d.ts +51 -0
  611. package/dist/shared/widgets/asset-picker/compound/AssetPicker.js +1 -0
  612. package/dist/shared/widgets/asset-picker/compound/AssetPicker.slots.d.ts +11 -0
  613. package/dist/shared/widgets/asset-picker/compound/AssetPicker.slots.js +1 -0
  614. package/dist/shared/widgets/asset-picker/compound/AssetPicker.styles.js +1 -0
  615. package/dist/shared/widgets/asset-picker/compound/components/Asset.d.ts +30 -0
  616. package/dist/shared/widgets/asset-picker/compound/components/Asset.js +1 -0
  617. package/dist/shared/widgets/asset-picker/compound/components/Footer.d.ts +16 -0
  618. package/dist/shared/widgets/asset-picker/compound/components/Footer.js +1 -0
  619. package/dist/shared/widgets/asset-picker/compound/components/Header.d.ts +19 -0
  620. package/dist/shared/widgets/asset-picker/compound/components/Header.js +1 -0
  621. package/dist/shared/widgets/asset-picker/compound/components/List.d.ts +22 -0
  622. package/dist/shared/widgets/asset-picker/compound/components/List.js +1 -0
  623. package/dist/shared/widgets/asset-picker/compound/context.js +1 -0
  624. package/dist/shared/widgets/asset-picker/compound/index.d.ts +3 -0
  625. package/dist/shared/widgets/asset-picker/compound/index.js +1 -0
  626. package/dist/shared/widgets/asset-picker/compound/types.d.ts +212 -0
  627. package/dist/shared/widgets/confirm-transfer/compound/ConfirmTransfer.d.ts +64 -0
  628. package/dist/shared/widgets/confirm-transfer/compound/ConfirmTransfer.js +1 -0
  629. package/dist/shared/widgets/confirm-transfer/compound/ConfirmTransfer.slots.d.ts +16 -0
  630. package/dist/shared/widgets/confirm-transfer/compound/ConfirmTransfer.slots.js +1 -0
  631. package/dist/shared/widgets/confirm-transfer/compound/ConfirmTransfer.styles.js +1 -0
  632. package/dist/shared/widgets/confirm-transfer/compound/components/Amounts.d.ts +15 -0
  633. package/dist/shared/widgets/confirm-transfer/compound/components/Amounts.js +1 -0
  634. package/dist/shared/widgets/confirm-transfer/compound/components/Breakdown.d.ts +17 -0
  635. package/dist/shared/widgets/confirm-transfer/compound/components/Breakdown.js +1 -0
  636. package/dist/shared/widgets/confirm-transfer/compound/components/Disclaimer.d.ts +15 -0
  637. package/dist/shared/widgets/confirm-transfer/compound/components/Disclaimer.js +1 -0
  638. package/dist/shared/widgets/confirm-transfer/compound/components/Footer.d.ts +26 -0
  639. package/dist/shared/widgets/confirm-transfer/compound/components/Footer.js +1 -0
  640. package/dist/shared/widgets/confirm-transfer/compound/components/Header.d.ts +13 -0
  641. package/dist/shared/widgets/confirm-transfer/compound/components/Header.js +1 -0
  642. package/dist/shared/widgets/confirm-transfer/compound/components/Hero.d.ts +16 -0
  643. package/dist/shared/widgets/confirm-transfer/compound/components/Hero.js +1 -0
  644. package/dist/shared/widgets/confirm-transfer/compound/components/Meta.d.ts +16 -0
  645. package/dist/shared/widgets/confirm-transfer/compound/components/Meta.js +1 -0
  646. package/dist/shared/widgets/confirm-transfer/compound/components/QuoteTimer.js +1 -0
  647. package/dist/shared/widgets/confirm-transfer/compound/components/splitAmount.js +1 -0
  648. package/dist/shared/widgets/confirm-transfer/compound/context.js +1 -0
  649. package/dist/shared/widgets/confirm-transfer/compound/index.d.ts +3 -0
  650. package/dist/shared/widgets/confirm-transfer/compound/index.js +1 -0
  651. package/dist/shared/widgets/confirm-transfer/compound/types.d.ts +338 -0
  652. package/dist/shared/widgets/error-state/compound/ErrorState.d.ts +96 -0
  653. package/dist/shared/widgets/error-state/compound/ErrorState.js +1 -0
  654. package/dist/shared/widgets/error-state/compound/ErrorState.slots.d.ts +18 -0
  655. package/dist/shared/widgets/error-state/compound/ErrorState.slots.js +1 -0
  656. package/dist/shared/widgets/error-state/compound/ErrorState.styles.js +1 -0
  657. package/dist/shared/widgets/error-state/compound/components/Actions.d.ts +17 -0
  658. package/dist/shared/widgets/error-state/compound/components/Actions.js +1 -0
  659. package/dist/shared/widgets/error-state/compound/components/AssetValue.d.ts +20 -0
  660. package/dist/shared/widgets/error-state/compound/components/AssetValue.js +1 -0
  661. package/dist/shared/widgets/error-state/compound/components/Detail.d.ts +14 -0
  662. package/dist/shared/widgets/error-state/compound/components/Detail.js +1 -0
  663. package/dist/shared/widgets/error-state/compound/components/Details.d.ts +12 -0
  664. package/dist/shared/widgets/error-state/compound/components/Details.js +1 -0
  665. package/dist/shared/widgets/error-state/compound/components/DisclosureChevron.d.ts +11 -0
  666. package/dist/shared/widgets/error-state/compound/components/DisclosureChevron.js +1 -0
  667. package/dist/shared/widgets/error-state/compound/components/Header.d.ts +13 -0
  668. package/dist/shared/widgets/error-state/compound/components/Header.js +1 -0
  669. package/dist/shared/widgets/error-state/compound/components/HelpInfo.d.ts +10 -0
  670. package/dist/shared/widgets/error-state/compound/components/HelpInfo.js +1 -0
  671. package/dist/shared/widgets/error-state/compound/components/Hero.d.ts +9 -0
  672. package/dist/shared/widgets/error-state/compound/components/Hero.js +1 -0
  673. package/dist/shared/widgets/error-state/compound/components/MoreDetails.d.ts +18 -0
  674. package/dist/shared/widgets/error-state/compound/components/MoreDetails.js +1 -0
  675. package/dist/shared/widgets/error-state/compound/components/Rows.d.ts +57 -0
  676. package/dist/shared/widgets/error-state/compound/components/Rows.js +1 -0
  677. package/dist/shared/widgets/error-state/compound/components/StatusValue.d.ts +14 -0
  678. package/dist/shared/widgets/error-state/compound/components/StatusValue.js +1 -0
  679. package/dist/shared/widgets/error-state/compound/context.js +1 -0
  680. package/dist/shared/widgets/error-state/compound/index.d.ts +3 -0
  681. package/dist/shared/widgets/error-state/compound/index.js +1 -0
  682. package/dist/shared/widgets/error-state/compound/types.d.ts +291 -0
  683. package/dist/shared/widgets/processing-state/compound/ProcessingState.d.ts +77 -0
  684. package/dist/shared/widgets/processing-state/compound/ProcessingState.js +1 -0
  685. package/dist/shared/widgets/processing-state/compound/ProcessingState.slots.d.ts +15 -0
  686. package/dist/shared/widgets/processing-state/compound/ProcessingState.slots.js +1 -0
  687. package/dist/shared/widgets/processing-state/compound/ProcessingState.styles.js +1 -0
  688. package/dist/shared/widgets/processing-state/compound/components/Actions.d.ts +17 -0
  689. package/dist/shared/widgets/processing-state/compound/components/Actions.js +1 -0
  690. package/dist/shared/widgets/processing-state/compound/components/Detail.d.ts +14 -0
  691. package/dist/shared/widgets/processing-state/compound/components/Detail.js +1 -0
  692. package/dist/shared/widgets/processing-state/compound/components/Details.d.ts +12 -0
  693. package/dist/shared/widgets/processing-state/compound/components/Details.js +1 -0
  694. package/dist/shared/widgets/processing-state/compound/components/Header.d.ts +15 -0
  695. package/dist/shared/widgets/processing-state/compound/components/Header.js +1 -0
  696. package/dist/shared/widgets/processing-state/compound/components/Hero.d.ts +16 -0
  697. package/dist/shared/widgets/processing-state/compound/components/Hero.js +1 -0
  698. package/dist/shared/widgets/processing-state/compound/components/Rows.d.ts +36 -0
  699. package/dist/shared/widgets/processing-state/compound/components/Rows.js +1 -0
  700. package/dist/shared/widgets/processing-state/compound/components/StatusPill.d.ts +13 -0
  701. package/dist/shared/widgets/processing-state/compound/components/StatusPill.js +1 -0
  702. package/dist/shared/widgets/processing-state/compound/context.js +1 -0
  703. package/dist/shared/widgets/processing-state/compound/index.d.ts +3 -0
  704. package/dist/shared/widgets/processing-state/compound/index.js +1 -0
  705. package/dist/shared/widgets/processing-state/compound/types.d.ts +216 -0
  706. package/dist/shared/widgets/success-state/compound/SuccessState.d.ts +105 -0
  707. package/dist/shared/widgets/success-state/compound/SuccessState.js +1 -0
  708. package/dist/shared/widgets/success-state/compound/SuccessState.slots.d.ts +21 -0
  709. package/dist/shared/widgets/success-state/compound/SuccessState.slots.js +1 -0
  710. package/dist/shared/widgets/success-state/compound/SuccessState.styles.js +1 -0
  711. package/dist/shared/widgets/success-state/compound/components/Actions.d.ts +18 -0
  712. package/dist/shared/widgets/success-state/compound/components/Actions.js +1 -0
  713. package/dist/shared/widgets/success-state/compound/components/AssetValue.d.ts +18 -0
  714. package/dist/shared/widgets/success-state/compound/components/AssetValue.js +1 -0
  715. package/dist/shared/widgets/success-state/compound/components/Detail.d.ts +18 -0
  716. package/dist/shared/widgets/success-state/compound/components/Detail.js +1 -0
  717. package/dist/shared/widgets/success-state/compound/components/Details.d.ts +16 -0
  718. package/dist/shared/widgets/success-state/compound/components/Details.js +1 -0
  719. package/dist/shared/widgets/success-state/compound/components/Header.d.ts +13 -0
  720. package/dist/shared/widgets/success-state/compound/components/Header.js +1 -0
  721. package/dist/shared/widgets/success-state/compound/components/Headline.d.ts +16 -0
  722. package/dist/shared/widgets/success-state/compound/components/Headline.js +1 -0
  723. package/dist/shared/widgets/success-state/compound/components/Hero.d.ts +10 -0
  724. package/dist/shared/widgets/success-state/compound/components/Hero.js +1 -0
  725. package/dist/shared/widgets/success-state/compound/components/MoreDetails.d.ts +19 -0
  726. package/dist/shared/widgets/success-state/compound/components/MoreDetails.js +1 -0
  727. package/dist/shared/widgets/success-state/compound/components/RouteValue.d.ts +15 -0
  728. package/dist/shared/widgets/success-state/compound/components/RouteValue.js +1 -0
  729. package/dist/shared/widgets/success-state/compound/components/Rows.d.ts +69 -0
  730. package/dist/shared/widgets/success-state/compound/components/Rows.js +1 -0
  731. package/dist/shared/widgets/success-state/compound/components/StatusPill.d.ts +13 -0
  732. package/dist/shared/widgets/success-state/compound/components/StatusPill.js +1 -0
  733. package/dist/shared/widgets/success-state/compound/context.js +1 -0
  734. package/dist/shared/widgets/success-state/compound/index.d.ts +3 -0
  735. package/dist/shared/widgets/success-state/compound/index.js +1 -0
  736. package/dist/shared/widgets/success-state/compound/types.d.ts +307 -0
  737. package/dist/storage/adapters.d.ts +29 -0
  738. package/dist/storage/adapters.js +1 -0
  739. package/dist/storage/context.d.ts +62 -0
  740. package/dist/storage/context.js +1 -0
  741. package/dist/storage/createKitStorage.d.ts +45 -0
  742. package/dist/storage/createKitStorage.js +1 -0
  743. package/dist/storage/index.d.ts +4 -0
  744. package/dist/storage/index.js +1 -0
  745. package/dist/storage/types.d.ts +26 -0
  746. package/dist/stridge/StridgeContext.d.ts +29 -0
  747. package/dist/stridge/StridgeContext.js +1 -0
  748. package/dist/stridge/StridgeProvider.d.ts +158 -0
  749. package/dist/stridge/StridgeProvider.js +1 -0
  750. package/dist/stridge/stubs.js +1 -0
  751. package/dist/styles/index.css +3494 -0
  752. package/dist/types.d.ts +15 -0
  753. package/dist/types.js +1 -0
  754. package/dist/ui/index.d.ts +48 -0
  755. package/dist/ui/index.js +1 -0
  756. package/dist/utils/src/use-copy-to-clipboard.js +1 -0
  757. package/dist/wallet/index.d.ts +3 -0
  758. package/dist/wallet/index.js +1 -0
  759. package/dist/withdraw/compound/index.d.ts +22 -0
  760. package/dist/withdraw/compound/index.js +1 -0
  761. package/dist/withdraw/dialog/index.d.ts +2 -0
  762. package/dist/withdraw/dialog/index.js +1 -0
  763. package/package.json +156 -0
@@ -0,0 +1,89 @@
1
+ import { ComponentProps, ReactNode } from "react";
2
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+
4
+ //#region src/shared/ui/Badge/Badge.d.ts
5
+ /**
6
+ * Semantic color palette for badges.
7
+ *
8
+ * - `primary` / `secondary` — brand surfaces.
9
+ * - `success` / `danger` / `warning` / `info` — status accents.
10
+ */
11
+ type BadgeColor = "primary" | "secondary" | "success" | "danger" | "warning" | "info";
12
+ /**
13
+ * Visual treatment for the badge surface.
14
+ *
15
+ * - `contained` — filled background in the chosen color.
16
+ * - `outline` — transparent background with a colored border and text.
17
+ */
18
+ type BadgeVariant = "contained" | "outline";
19
+ /**
20
+ * Size preset for the badge.
21
+ *
22
+ * - `sm` — compact; default for inline status chips.
23
+ * - `md` — standard.
24
+ * - `lg` — large; for standalone labels.
25
+ */
26
+ type BadgeSize = "sm" | "md" | "lg";
27
+ /**
28
+ * Border-radius preset for the badge pill.
29
+ *
30
+ * - `sm` — slightly rounded corners.
31
+ * - `md` — moderate radius.
32
+ * - `lg` — fully pill-shaped.
33
+ */
34
+ type BadgeRoundness = "sm" | "md" | "lg";
35
+ /**
36
+ * Inline status chip with optional leading and trailing icon slots. Renders as a `<span role="presentation">`.
37
+ *
38
+ * Combine `color` and `variant` to express semantic state: `color="success" variant="contained"` for a filled
39
+ * confirmation chip, `color="danger" variant="outline"` for a bordered error label.
40
+ *
41
+ * @example
42
+ * ```tsx
43
+ * <Badge color="success" variant="contained" size="sm">
44
+ * Confirmed
45
+ * </Badge>
46
+ * ```
47
+ */
48
+ declare function Badge({
49
+ color,
50
+ variant,
51
+ size,
52
+ roundness,
53
+ prefix,
54
+ suffix,
55
+ className,
56
+ style,
57
+ children,
58
+ ...props
59
+ }: Badge.Props): _$react_jsx_runtime0.JSX.Element;
60
+ declare namespace Badge {
61
+ type Props = Omit<ComponentProps<"span">, "color" | "prefix"> & {
62
+ /**
63
+ * Semantic color accent. Defaults to `"primary"`.
64
+ */
65
+ color?: BadgeColor;
66
+ /**
67
+ * Surface treatment — filled or outlined. Defaults to `"outline"`.
68
+ */
69
+ variant?: BadgeVariant;
70
+ /**
71
+ * Size preset. Defaults to `"sm"`.
72
+ */
73
+ size?: BadgeSize;
74
+ /**
75
+ * Border-radius preset. Defaults to `"sm"`.
76
+ */
77
+ roundness?: BadgeRoundness;
78
+ /**
79
+ * Leading icon slot. Pass the raw icon element; sizing is applied automatically.
80
+ */
81
+ prefix?: ReactNode;
82
+ /**
83
+ * Trailing icon slot. Pass the raw icon element; sizing is applied automatically.
84
+ */
85
+ suffix?: ReactNode;
86
+ };
87
+ }
88
+ //#endregion
89
+ export { Badge, BadgeColor, BadgeRoundness, BadgeSize, BadgeVariant };
@@ -0,0 +1 @@
1
+ import{joinClassNames as e}from"../../utils/joinClassNames.js";import{BADGE_SLOTS as t}from"./Badge.slots.js";import{containedColorStyles as n,iconSizeStyles as r,outlineColorStyles as i,roundnessStyles as a,sizeStyles as o,styles as s}from"./Badge.styles.js";import{cloneElement as c,isValidElement as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";import*as f from"@stylexjs/stylex";function p({color:c=`primary`,variant:l=`outline`,size:p=`sm`,roundness:h=`sm`,prefix:g,suffix:_,className:v,style:y,children:b,...x}){let S=f.props(r[p]),C=f.props(s.base,o[p],a[h],l===`contained`?n[c]:i[c]);return d(`span`,{role:`presentation`,"data-stridge-slot":t.root,...x,className:e(C.className,v),style:{...C.style,...y},children:[g?u(`span`,{"data-icon":`inline-start`,...S,children:m(g)}):null,b,_?u(`span`,{"data-icon":`inline-end`,...S,children:m(_)}):null]})}function m(e){if(!l(e))return e;let t=f.props(s.iconSvg);return c(e,{className:[e.props.className,t.className].filter(Boolean).join(` `),style:{...e.props.style,...t.style}})}export{p as Badge};
@@ -0,0 +1,7 @@
1
+ //#region src/shared/ui/Badge/Badge.slots.d.ts
2
+ declare const BADGE_SLOTS: {
3
+ readonly root: "badge";
4
+ };
5
+ type BadgeSlot = (typeof BADGE_SLOTS)[keyof typeof BADGE_SLOTS];
6
+ //#endregion
7
+ export { BADGE_SLOTS, BadgeSlot };
@@ -0,0 +1 @@
1
+ const e={root:`badge`};export{e as BADGE_SLOTS};
@@ -0,0 +1 @@
1
+ const e={base:{"Badge__styles.base":`Badge__styles.base`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`xl56j7k`,"flexShrink-kmuXW":`x2lah0s`,"width-kzqmXN":`xeq5yr9`,"whiteSpace-khDVqt":`xuxw1ft`,"borderRadius-kaIpWk":`x12ur2as`,"borderWidth-kMzoRj":`xmkeg23`,"borderStyle-ksu8eU":`x1y0btm7`,"borderColor-kVAM5u":`x9r1u3d`,"fontFamily-kMv6JI":`xlaww2m`,"fontWeight-k63SB2":`x1qvi77d`,"transitionProperty-k1ekBW":`x1eaenvl`,"transitionDuration-kIyJzY":`xx6bhzk`,"transitionTimingFunction-kAMwcw":`x9lcvmn`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:4`},iconSvg:{"Badge__styles.iconSvg":`Badge__styles.iconSvg`,"display-k1xSpc":`x1lliihq`,"width-kzqmXN":`x15vhz18`,"height-kZKoxP":`xlzyvqe`,"minWidth-k7Eaqz":`xslf67s`,"minHeight-kAzted":`x1xaadd7`,"maxWidth-ks0D6T":`x12pq5kg`,"maxHeight-kskxy":`x1akyapa`,"flexShrink-kmuXW":`x2lah0s`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:21`}},t={sm:{"Badge__sizeStyles.sm":`Badge__sizeStyles.sm`,"minHeight-kAzted":`xe0957l`,"gap-kOIVth":`x1r05nms`,"paddingInline-kg3NbH":`xxztuhb`,"fontSize-kGuDYH":`x1oae1zf`,"lineHeight-kLWn49":`x14vj8e1`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:33`},md:{"Badge__sizeStyles.md":`Badge__sizeStyles.md`,"minHeight-kAzted":`xj9xw9b`,"gap-kOIVth":`x1r05nms`,"paddingInline-kg3NbH":`x1fk34n2`,"fontSize-kGuDYH":`x14qa7mu`,"lineHeight-kLWn49":`x14vj8e1`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:40`},lg:{"Badge__sizeStyles.lg":`Badge__sizeStyles.lg`,"minHeight-kAzted":`x1rz828m`,"gap-kOIVth":`xpj7pl4`,"paddingInline-kg3NbH":`x13s4r1c`,"fontSize-kGuDYH":`xmnoevb`,"lineHeight-kLWn49":`x14vj8e1`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:47`}},n={sm:{"Badge__roundnessStyles.sm":`Badge__roundnessStyles.sm`,"borderRadius-kaIpWk":`x6i6fhv`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:56`},md:{"Badge__roundnessStyles.md":`Badge__roundnessStyles.md`,"borderRadius-kaIpWk":`xmx9ex2`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:59`},lg:{"Badge__roundnessStyles.lg":`Badge__roundnessStyles.lg`,"borderRadius-kaIpWk":`x10hpsqq`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:62`}},r={sm:{"Badge__iconSizeStyles.sm":`Badge__iconSizeStyles.sm`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`xl56j7k`,"flexShrink-kmuXW":`x2lah0s`,"width-kzqmXN":`xsmyaan`,"height-kZKoxP":`x1kpxq89`,"fontSize-kGuDYH":`xfifm61`,"lineHeight-kLWn49":`xo5v014`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:67`},md:{"Badge__iconSizeStyles.md":`Badge__iconSizeStyles.md`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`xl56j7k`,"flexShrink-kmuXW":`x2lah0s`,"width-kzqmXN":`x6jxa94`,"height-kZKoxP":`x1v9usgg`,"fontSize-kGuDYH":`xif65rj`,"lineHeight-kLWn49":`xo5v014`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:77`},lg:{"Badge__iconSizeStyles.lg":`Badge__iconSizeStyles.lg`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`xl56j7k`,"flexShrink-kmuXW":`x2lah0s`,"width-kzqmXN":`x1kky2od`,"height-kZKoxP":`xlup9mm`,"fontSize-kGuDYH":`x1j61zf2`,"lineHeight-kLWn49":`xo5v014`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:87`}},i={primary:{"Badge__containedColorStyles.primary":`Badge__containedColorStyles.primary`,"backgroundColor-kWkggS":`xdmxa9o`,"color-kMwMTN":`x1kho0d4`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:99`},secondary:{"Badge__containedColorStyles.secondary":`Badge__containedColorStyles.secondary`,"backgroundColor-kWkggS":`xldstci`,"color-kMwMTN":`x1xr5t3o`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:103`},success:{"Badge__containedColorStyles.success":`Badge__containedColorStyles.success`,"backgroundColor-kWkggS":`x1yy7n3w`,"color-kMwMTN":`xwiqrka`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:107`},danger:{"Badge__containedColorStyles.danger":`Badge__containedColorStyles.danger`,"backgroundColor-kWkggS":`xfhhmty`,"color-kMwMTN":`x19vemxs`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:111`},warning:{"Badge__containedColorStyles.warning":`Badge__containedColorStyles.warning`,"backgroundColor-kWkggS":`xpm24si`,"color-kMwMTN":`x1a3v400`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:115`},info:{"Badge__containedColorStyles.info":`Badge__containedColorStyles.info`,"backgroundColor-kWkggS":`xivzh3d`,"color-kMwMTN":`x1b9tnpo`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:119`}},a={primary:{"Badge__outlineColorStyles.primary":`Badge__outlineColorStyles.primary`,"borderColor-kVAM5u":`x2dcuha`,"color-kMwMTN":`x1me39qh`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:125`},secondary:{"Badge__outlineColorStyles.secondary":`Badge__outlineColorStyles.secondary`,"borderColor-kVAM5u":`x12c9lpl`,"color-kMwMTN":`x1xr5t3o`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:129`},success:{"Badge__outlineColorStyles.success":`Badge__outlineColorStyles.success`,"borderColor-kVAM5u":`xb4kgwu`,"color-kMwMTN":`xwiqrka`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:133`},danger:{"Badge__outlineColorStyles.danger":`Badge__outlineColorStyles.danger`,"borderColor-kVAM5u":`x1smv8d1`,"color-kMwMTN":`x19vemxs`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:137`},warning:{"Badge__outlineColorStyles.warning":`Badge__outlineColorStyles.warning`,"borderColor-kVAM5u":`x1kw7hx1`,"color-kMwMTN":`x1a3v400`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:141`},info:{"Badge__outlineColorStyles.info":`Badge__outlineColorStyles.info`,"borderColor-kVAM5u":`x1awroyi`,"color-kMwMTN":`x1b9tnpo`,$$css:`@stridge/kit:src/shared/ui/Badge/Badge.styles.ts:145`}};export{i as containedColorStyles,r as iconSizeStyles,a as outlineColorStyles,n as roundnessStyles,t as sizeStyles,e as styles};
@@ -0,0 +1,2 @@
1
+ import { Badge, BadgeColor, BadgeRoundness, BadgeSize, BadgeVariant } from "./Badge.js";
2
+ import { BADGE_SLOTS, BadgeSlot } from "./Badge.slots.js";
@@ -0,0 +1 @@
1
+ import"./Badge.slots.js";import"./Badge.js";
@@ -0,0 +1,82 @@
1
+ import * as _$react from "react";
2
+ import { ReactNode } from "react";
3
+ import { Button } from "@base-ui/react/button";
4
+ import { useRender } from "@base-ui/react/use-render";
5
+
6
+ //#region src/shared/ui/Button/Button.d.ts
7
+ /**
8
+ * Visual treatment applied to the button surface.
9
+ *
10
+ * - `default` — primary CTA surface.
11
+ * - `secondary` — muted surface used by widget header controls.
12
+ * - `ghost` — chromeless; inherits parent color, lifts to `surfaceHover` on hover.
13
+ */
14
+ type ButtonVariant = "default" | "secondary" | "ghost";
15
+ /**
16
+ * Size preset applied to the button.
17
+ *
18
+ * - `default` — 36px tall; general-purpose.
19
+ * - `sm` — 28px tall; compact text variant for inline and footer affordances.
20
+ * - `cta` — 46px tall; bakes in canvas-spec CTA typography (15px / semibold) so gateway footers don't redeclare it.
21
+ * - `icon` — 36×36px square; no padding.
22
+ * - `icon-sm` — 28×28px square; radius clamped to `min(button-radius, 9px)`.
23
+ */
24
+ type ButtonSize = "default" | "sm" | "cta" | "icon" | "icon-sm";
25
+ /**
26
+ * Pressable button built on Base UI's `Button` primitive. Supports leading and trailing icon slots,
27
+ * a loading state, and a `render` prop for render-slot indirection via `useRender`.
28
+ *
29
+ * Variants: `default` (primary CTA), `secondary` (muted surface), `ghost` (chromeless).
30
+ *
31
+ * Sizes: `default` (36px), `sm` (28px compact), `cta` (46px block), `icon` (36×36px), `icon-sm` (28×28px).
32
+ *
33
+ * When `isLoading` is `true`, the `prefix` slot is replaced by a spinning loader and the button is
34
+ * disabled for the duration.
35
+ *
36
+ * @example
37
+ * ```tsx
38
+ * <Button variant="default" size="cta" isLoading={isPending}>
39
+ * Confirm
40
+ * </Button>
41
+ * ```
42
+ */
43
+ declare function Button$1({
44
+ prefix,
45
+ suffix,
46
+ children,
47
+ disabled,
48
+ variant,
49
+ size,
50
+ isLoading,
51
+ render,
52
+ ...props
53
+ }: Button$1.Props): _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>>;
54
+ declare namespace Button$1 {
55
+ type BaseProps = Omit<Button.Props & useRender.ComponentProps<typeof Button>, "prefix" | "suffix">;
56
+ export type Props = BaseProps & {
57
+ /**
58
+ * Visual treatment. Defaults to `"default"`.
59
+ */
60
+ variant?: ButtonVariant;
61
+ /**
62
+ * Size preset. Defaults to `"default"`.
63
+ */
64
+ size?: ButtonSize;
65
+ /**
66
+ * Leading icon slot. When `isLoading` is `true`, the spinner replaces this slot.
67
+ */
68
+ prefix?: ReactNode;
69
+ /**
70
+ * Trailing icon slot.
71
+ */
72
+ suffix?: ReactNode;
73
+ /**
74
+ * When `true`, replaces the `prefix` slot with a spinning loader and disables the button.
75
+ * Defaults to `false`.
76
+ */
77
+ isLoading?: boolean;
78
+ };
79
+ export {};
80
+ }
81
+ //#endregion
82
+ export { Button$1 as Button, ButtonSize, ButtonVariant };
@@ -0,0 +1 @@
1
+ "use client";import{LoaderIcon as e}from"../../icons/LoaderIcon.js";import"../../../icons/index.js";import{BUTTON_SLOTS as t}from"./Button.slots.js";import{iconSizeStyles as n,sizeAdjustmentStyles as r,sizeStyles as i,styles as a,variantStyles as o}from"./Button.styles.js";import{Fragment as s,cloneElement as c,isValidElement as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";import*as f from"@stylexjs/stylex";import{Button as p}from"@base-ui/react/button";import{mergeProps as m}from"@base-ui/react/merge-props";import{useRender as h}from"@base-ui/react/use-render";function g({prefix:c,suffix:l,children:g,disabled:v,variant:y=`default`,size:b=`default`,isLoading:x=!1,render:S=u(p,{}),...C}){let w=!!c||x,T=!!l,E=!g&&(w||T||x),D=f.props(n[b]);return h({defaultTagName:`button`,render:S,props:m({"data-stridge-slot":t.root,"data-icon-only":E?``:void 0,disabled:x||v,children:d(s,{children:[x?u(`span`,{"data-icon":`inline-start`,...D,children:u(e,{"aria-label":`loading`,...f.props(a.loader)})}):c?u(`span`,{"data-icon":`inline-start`,...D,children:_(c)}):null,g,l?u(`span`,{"data-icon":`inline-end`,...D,children:_(l)}):null]}),...f.props(a.base,o[y],i[b],w&&!E&&r.withPrefix,T&&!E&&r.withSuffix)},C)})}function _(e){if(!l(e))return e;let t=f.props(a.iconSvg);return c(e,{className:[e.props.className,t.className].filter(Boolean).join(` `),style:{...e.props.style,...t.style}})}export{g as Button};
@@ -0,0 +1,7 @@
1
+ //#region src/shared/ui/Button/Button.slots.d.ts
2
+ declare const BUTTON_SLOTS: {
3
+ readonly root: "button";
4
+ };
5
+ type ButtonSlot = (typeof BUTTON_SLOTS)[keyof typeof BUTTON_SLOTS];
6
+ //#endregion
7
+ export { BUTTON_SLOTS, ButtonSlot };
@@ -0,0 +1 @@
1
+ const e={root:`button`};export{e as BUTTON_SLOTS};
@@ -0,0 +1 @@
1
+ const e={base:{"Button__styles.base":`Button__styles.base`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`xl56j7k`,"flexShrink-kmuXW":`x2lah0s`,"boxSizing-kB7OPa":`x9f619`,"cursor-kkrTdU":`x1ypdohk`,"userSelect-kfSwDN":`x87ps6o`,"whiteSpace-khDVqt":`xuxw1ft`,"borderRadius-kaIpWk":`x1s7mj9v`,"borderWidth-kMzoRj":`xmkeg23`,"borderStyle-ksu8eU":`x1y0btm7`,"borderColor-kVAM5u":`x9r1u3d`,"backgroundClip-kHypHr":`xx83zyx`,"fontFamily-kMv6JI":`xlaww2m`,"fontWeight-k63SB2":`xi0sa8g`,"fontSize-kGuDYH":`x14qa7mu`,"lineHeight-kLWn49":`x14vj8e1`,"outline-kI3sdo":`x1a2a7pz`,"textDecoration-kybGjl":`x1hl2dhg`,"transitionProperty-k1ekBW":`xcnuv27`,"transitionDuration-kIyJzY":`xx6bhzk`,"transitionTimingFunction-kAMwcw":`x9lcvmn`,":focus-visible_borderColor-kOJeXU":`x1mt3fz5`,":focus-visible_boxShadow-kEtg5x":`x159teg`,":disabled_pointerEvents-k7HAVu":`xaqnwrm`,":disabled_opacity-kWCcOm":`xijokvz`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:12`},loader:{"Button__styles.loader":`Button__styles.loader`,"display-k1xSpc":`x1lliihq`,"width-kzqmXN":`x15vhz18`,"height-kZKoxP":`xlzyvqe`,"animationName-kKVMdj":`x1aerksh`,"animationDuration-k44tkh":`xof6966`,"animationIterationCount-ko0y90":`xa4qsjk`,"animationTimingFunction-kyAemX":`x1esw782`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:44`},iconSvg:{"Button__styles.iconSvg":`Button__styles.iconSvg`,"display-k1xSpc":`x1lliihq`,"width-kzqmXN":`x15vhz18`,"height-kZKoxP":`xlzyvqe`,"minWidth-k7Eaqz":`xslf67s`,"minHeight-kAzted":`x1xaadd7`,"maxWidth-ks0D6T":`x12pq5kg`,"maxHeight-kskxy":`x1akyapa`,"flexShrink-kmuXW":`x2lah0s`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:53`}},t={default:{"Button__variantStyles.default":`Button__variantStyles.default`,"backgroundColor-kWkggS":`xdmxa9o`,"color-kMwMTN":`x1kho0d4`,":hover:not(:disabled)_backgroundColor-kIa11j":`x19dz5jx`,":active:not(:disabled)_backgroundColor-kDKVdO":`x1e9pno2`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:71`},secondary:{"Button__variantStyles.secondary":`Button__variantStyles.secondary`,"backgroundColor-kWkggS":`xldstci`,"color-kMwMTN":`x1xr5t3o`,":hover:not(:disabled)_backgroundColor-kIa11j":`x1el1875`,":active:not(:disabled)_backgroundColor-kDKVdO":`x11p7ntb`,"[aria-expanded=true]_backgroundColor-kO0H77":`x9oo2q2`,"[aria-expanded=true]_color-kyCbai":`x1pm5o7e`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:81`},ghost:{"Button__variantStyles.ghost":`Button__variantStyles.ghost`,"backgroundColor-kWkggS":`xjbqb8w`,"color-kMwMTN":`x1heor9g`,"boxShadow-kGVxlE":`x1gnnqk1`,":hover:not(:disabled)_backgroundColor-kIa11j":`x1muuk1`,":hover:not(:disabled)_color-kf7JFr":`x70x1a4`,":active:not(:disabled)_backgroundColor-kDKVdO":`x3celgi`,":active:not(:disabled)_color-kMB0Px":`x111phvh`,"[aria-expanded=true]_backgroundColor-kO0H77":`x9oo2q2`,"[aria-expanded=true]_color-kyCbai":`x19yg9bl`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:95`}},n={default:{"Button__sizeStyles.default":`Button__sizeStyles.default`,"height-kZKoxP":`xc9qbxq`,"gap-kOIVth":`xpj7pl4`,"paddingInline-kg3NbH":`xvpgqt4`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:128`},sm:{"Button__sizeStyles.sm":`Button__sizeStyles.sm`,"height-kZKoxP":`x1fgtraw`,"gap-kOIVth":`xvh977a`,"paddingInline-kg3NbH":`xvpgqt4`,"fontSize-kGuDYH":`x1oae1zf`,"lineHeight-kLWn49":`x2fnr2h`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:133`},cta:{"Button__sizeStyles.cta":`Button__sizeStyles.cta`,"height-kZKoxP":`xwvwv9b`,"gap-kOIVth":`x1a6yh9e`,"paddingInline-kg3NbH":`x1fk34n2`,"fontSize-kGuDYH":`x1jvydc1`,"fontWeight-k63SB2":`x1qvi77d`,"lineHeight-kLWn49":`xd4r4e8`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:140`},icon:{"Button__sizeStyles.icon":`Button__sizeStyles.icon`,"width-kzqmXN":`x14qfxbe`,"height-kZKoxP":`xc9qbxq`,"gap-kOIVth":`xxhr3t`,"paddingInline-kg3NbH":`xnjsko4`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:148`},"icon-sm":{"Button__sizeStyles.icon-sm":`Button__sizeStyles.icon-sm`,"width-kzqmXN":`xgd8bvy`,"height-kZKoxP":`x1fgtraw`,"gap-kOIVth":`xxhr3t`,"paddingInline-kg3NbH":`xnjsko4`,"borderRadius-kaIpWk":`xhua5ru`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:154`}},r={withPrefix:{"Button__sizeAdjustmentStyles.withPrefix":`Button__sizeAdjustmentStyles.withPrefix`,"paddingInlineStart-kZCmMZ":`xpsy26f`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:163`},withSuffix:{"Button__sizeAdjustmentStyles.withSuffix":`Button__sizeAdjustmentStyles.withSuffix`,"paddingInlineEnd-kwRFfy":`xzfcf9p`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:166`}},i={default:{"Button__iconSizeStyles.default":`Button__iconSizeStyles.default`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`xl56j7k`,"flexShrink-kmuXW":`x2lah0s`,"width-kzqmXN":`x1kky2od`,"height-kZKoxP":`xlup9mm`,"fontSize-kGuDYH":`x1j61zf2`,"lineHeight-kLWn49":`xo5v014`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:171`},sm:{"Button__iconSizeStyles.sm":`Button__iconSizeStyles.sm`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`xl56j7k`,"flexShrink-kmuXW":`x2lah0s`,"width-kzqmXN":`xsmyaan`,"height-kZKoxP":`x1kpxq89`,"fontSize-kGuDYH":`xfifm61`,"lineHeight-kLWn49":`xo5v014`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:181`},cta:{"Button__iconSizeStyles.cta":`Button__iconSizeStyles.cta`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`xl56j7k`,"flexShrink-kmuXW":`x2lah0s`,"width-kzqmXN":`x1kky2od`,"height-kZKoxP":`xlup9mm`,"fontSize-kGuDYH":`x1j61zf2`,"lineHeight-kLWn49":`xo5v014`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:191`},icon:{"Button__iconSizeStyles.icon":`Button__iconSizeStyles.icon`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`xl56j7k`,"flexShrink-kmuXW":`x2lah0s`,"width-kzqmXN":`x1kky2od`,"height-kZKoxP":`xlup9mm`,"fontSize-kGuDYH":`x1j61zf2`,"lineHeight-kLWn49":`xo5v014`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:201`},"icon-sm":{"Button__iconSizeStyles.icon-sm":`Button__iconSizeStyles.icon-sm`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`xl56j7k`,"flexShrink-kmuXW":`x2lah0s`,"width-kzqmXN":`x6jxa94`,"height-kZKoxP":`x1v9usgg`,"fontSize-kGuDYH":`xif65rj`,"lineHeight-kLWn49":`xo5v014`,$$css:`@stridge/kit:src/shared/ui/Button/Button.styles.ts:211`}};export{i as iconSizeStyles,r as sizeAdjustmentStyles,n as sizeStyles,e as styles,t as variantStyles};
@@ -0,0 +1,2 @@
1
+ import { Button, ButtonSize, ButtonVariant } from "./Button.js";
2
+ import { BUTTON_SLOTS, ButtonSlot } from "./Button.slots.js";
@@ -0,0 +1 @@
1
+ import"./Button.slots.js";import"./Button.js";
@@ -0,0 +1,93 @@
1
+ import { ComponentProps } from "react";
2
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+
4
+ //#region src/shared/ui/Card/Card.d.ts
5
+ type CardVariant = "default" | "subdued" | "frame";
6
+ /**
7
+ * Bordered, rounded surface primitive. Use as a generic container — modal frames, QR frames, address pills, disclosure
8
+ * shells, disclaimer banners.
9
+ *
10
+ * Variants:
11
+ *
12
+ * - `default` — raised inner surface for content floating inside a modal frame.
13
+ * - `subdued` — recessed inner surface for de-emphasized blocks.
14
+ * - `frame` — outer modal shell with elevation shadow, larger radius, and imposed kit typography.
15
+ *
16
+ * Padding and width are left to the consumer. Compose {@link Card.Header} / {@link Card.Body} / {@link Card.Footer} inside
17
+ * a `frame` card to render the canonical title row, scrollable body, and action row.
18
+ *
19
+ * @example
20
+ * ```tsx
21
+ * <Card variant="frame">
22
+ * <Card.Header>
23
+ * <span>Title</span>
24
+ * <IconButton aria-label="Close" onClick={onClose}><XIcon /></IconButton>
25
+ * </Card.Header>
26
+ * <Card.Body>Body…</Card.Body>
27
+ * <Card.Footer>Actions…</Card.Footer>
28
+ * </Card>
29
+ * ```
30
+ */
31
+ declare function Card({
32
+ variant,
33
+ className,
34
+ style,
35
+ children,
36
+ ...props
37
+ }: Card.Props): _$react_jsx_runtime0.JSX.Element;
38
+ declare namespace Card {
39
+ var Header: typeof CardHeader;
40
+ var Body: typeof CardBody;
41
+ var Footer: typeof CardFooter;
42
+ }
43
+ /**
44
+ * Header row for a `frame`-variant {@link Card}. Renders a flex row with a hairline divider on its bottom edge. Consumers
45
+ * control padding, `justify-content`, and `gap`.
46
+ */
47
+ declare function CardHeader({
48
+ className,
49
+ style,
50
+ children,
51
+ ...props
52
+ }: Card.HeaderProps): _$react_jsx_runtime0.JSX.Element;
53
+ /**
54
+ * Body slot for a `frame`-variant {@link Card}. Stacks children in a flex column.
55
+ *
56
+ * When the body is mounted inside `Dialog.Content` (detected via the dialog content context), the body wrapper becomes a
57
+ * flex column that absorbs leftover dialog height, with the embedded {@link ScrollArea} as its sole flex child. Sizing the
58
+ * scroll-area via flex (rather than a percentage height) makes the chain resolve reliably: the scroll-area's intrinsic
59
+ * content size carries back through the body so the dialog flex shrink can compress the body to its allocated space, and
60
+ * once the body is sized, flex distributes that space to the scroll-area instead of having its `height: 100%` fall through
61
+ * an indefinite parent (the dialog only declares `max-height`) and balloon. The flex-column rhythm moves inside the
62
+ * viewport so widget children that depend on a flex-column parent (`alignSelf: stretch` on the `ConfirmDeposit` CTA, for
63
+ * instance) keep working unchanged. Inline (card-mode) bodies skip the scroll branch and stack their children.
64
+ */
65
+ declare function CardBody({
66
+ className,
67
+ style,
68
+ children,
69
+ ...props
70
+ }: Card.BodyProps): _$react_jsx_runtime0.JSX.Element;
71
+ /**
72
+ * Footer row mirroring {@link Card.Header} with the divider on the top edge. Use for action rows separated from the body
73
+ * above.
74
+ */
75
+ declare function CardFooter({
76
+ className,
77
+ style,
78
+ children,
79
+ ...props
80
+ }: Card.FooterProps): _$react_jsx_runtime0.JSX.Element;
81
+ declare namespace Card {
82
+ type Props = ComponentProps<"div"> & {
83
+ /**
84
+ * Visual treatment. Defaults to `"default"`.
85
+ */
86
+ variant?: CardVariant;
87
+ };
88
+ type HeaderProps = ComponentProps<"div">;
89
+ type BodyProps = ComponentProps<"div">;
90
+ type FooterProps = ComponentProps<"div">;
91
+ }
92
+ //#endregion
93
+ export { Card, CardVariant };
@@ -0,0 +1 @@
1
+ "use client";import{joinClassNames as e}from"../../utils/joinClassNames.js";import{ScrollArea as t}from"../ScrollArea/ScrollArea.js";import"../ScrollArea/index.js";import{useIsInsideDialogContent as n}from"../Dialog/Dialog.js";import"../Dialog/index.js";import{CARD_SLOTS as r}from"./Card.slots.js";import{bodyStyles as i,footerStyles as a,headerStyles as o,styles as s,variantStyles as c}from"./Card.styles.js";import{jsx as l,jsxs as u}from"react/jsx-runtime";import*as d from"@stylexjs/stylex";function f({variant:t=`default`,className:n,style:i,children:a,...o}){let u=d.props(s.root,c[t]);return l(`div`,{"data-stridge-slot":r.root,"data-variant":t,...o,className:e(u.className,n),style:{...u.style,...i},children:a})}function p({className:t,style:n,children:i,...a}){let s=d.props(o.root);return l(`div`,{"data-stridge-slot":r.header,...a,className:e(s.className,t),style:{...s.style,...n},children:i})}function m({className:a,style:o,children:s,...c}){if(n()){let n=d.props(i.scroll),f=d.props(i.scrollArea),p=d.props(i.scrollViewport),m=d.props(i.root);return l(`div`,{"data-stridge-slot":r.body,className:n.className,style:n.style,children:u(t,{className:f.className,style:f.style,children:[l(t.Viewport,{...c,className:e(p.className,a),style:{...p.style,...o},children:l(`div`,{className:m.className,style:m.style,children:s})}),l(t.Scrollbar,{orientation:`vertical`,children:l(t.Thumb,{})})]})})}let f=d.props(i.root);return l(`div`,{"data-stridge-slot":r.body,...c,className:e(f.className,a),style:{...f.style,...o},children:s})}function h({className:t,style:n,children:i,...o}){let s=d.props(a.root);return l(`div`,{"data-stridge-slot":r.footer,...o,className:e(s.className,t),style:{...s.style,...n},children:i})}f.Header=p,f.Body=m,f.Footer=h;export{f as Card};
@@ -0,0 +1,10 @@
1
+ //#region src/shared/ui/Card/Card.slots.d.ts
2
+ declare const CARD_SLOTS: {
3
+ readonly root: "card";
4
+ readonly header: "card-header";
5
+ readonly body: "card-body";
6
+ readonly footer: "card-footer";
7
+ };
8
+ type CardSlot = (typeof CARD_SLOTS)[keyof typeof CARD_SLOTS];
9
+ //#endregion
10
+ export { CARD_SLOTS, CardSlot };
@@ -0,0 +1 @@
1
+ const e={root:`card`,header:`card-header`,body:`card-body`,footer:`card-footer`};export{e as CARD_SLOTS};
@@ -0,0 +1 @@
1
+ const e={root:{"Card__styles.root":`Card__styles.root`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"borderStyle-ksu8eU":`x1y0btm7`,"borderWidth-kMzoRj":`xmkeg23`,"overflow-kVQacm":`x7giv3`,$$css:`@stridge/kit:src/shared/ui/Card/Card.styles.ts:4`}},t={default:{"Card__variantStyles.default":`Card__variantStyles.default`,"backgroundColor-kWkggS":`x12obg9s`,"borderColor-kVAM5u":`x1bue7yx`,"borderRadius-kaIpWk":`x5bw3pk`,$$css:`@stridge/kit:src/shared/ui/Card/Card.styles.ts:13`},subdued:{"Card__variantStyles.subdued":`Card__variantStyles.subdued`,"backgroundColor-kWkggS":`x407w7c`,"borderColor-kVAM5u":`x1bue7yx`,"borderRadius-kaIpWk":`x5bw3pk`,$$css:`@stridge/kit:src/shared/ui/Card/Card.styles.ts:18`},frame:{"Card__variantStyles.frame":`Card__variantStyles.frame`,"backgroundColor-kWkggS":`x3cgcfv`,"borderColor-kVAM5u":`x1aqcfi1`,"borderRadius-kaIpWk":`x1c2egtx`,"boxShadow-kGVxlE":`xa2vu2y`,"color-kMwMTN":`xzn0pkc`,"fontFamily-kMv6JI":`xlaww2m`,$$css:`@stridge/kit:src/shared/ui/Card/Card.styles.ts:23`}},n={root:{"Card__headerStyles.root":`Card__headerStyles.root`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`x1q0g3np`,"alignItems-kGNEyG":`x6s0dn4`,"flexShrink-kmuXW":`x2lah0s`,"paddingTop-kLKAdn":`x1cnzs8`,"paddingInlineEnd-kwRFfy":`x1o5r3ls`,"paddingBottom-kGO01o":`x1hhzuzn`,"paddingInlineStart-kZCmMZ":`xz7312c`,"borderBottomWidth-kt9PQ7":`xso031l`,"borderBottomStyle-kfdmCh":`x1q0q8m5`,"borderBottomColor-kL6WhQ":`x188r5k3`,$$css:`@stridge/kit:src/shared/ui/Card/Card.styles.ts:39`}},r={root:{"Card__footerStyles.root":`Card__footerStyles.root`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`x1q0g3np`,"alignItems-kGNEyG":`x6s0dn4`,"flexShrink-kmuXW":`x2lah0s`,"borderTopWidth-kEafiO":`x178xt8z`,"borderTopStyle-kPef9Z":`x13fuv20`,"borderTopColor-kLZC3w":`x1wc9ssx`,$$css:`@stridge/kit:src/shared/ui/Card/Card.styles.ts:54`}},i={root:{"Card__bodyStyles.root":`Card__bodyStyles.root`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,$$css:`@stridge/kit:src/shared/ui/Card/Card.styles.ts:71`},scroll:{"Card__bodyStyles.scroll":`Card__bodyStyles.scroll`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"flex-kUk6DE":`x12lumcd`,"minHeight-kAzted":`x2lwn1j`,$$css:`@stridge/kit:src/shared/ui/Card/Card.styles.ts:82`},scrollArea:{"Card__bodyStyles.scrollArea":`Card__bodyStyles.scrollArea`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"flex-kUk6DE":`x12lumcd`,"minHeight-kAzted":`x2lwn1j`,$$css:`@stridge/kit:src/shared/ui/Card/Card.styles.ts:97`},scrollViewport:{"Card__bodyStyles.scrollViewport":`Card__bodyStyles.scrollViewport`,"flex-kUk6DE":`x845mor`,"minHeight-kAzted":`x2lwn1j`,"width-kzqmXN":`xh8yej3`,"maxWidth-ks0D6T":`x193iq5w`,"height-kZKoxP":`xt7dq6l`,"maxHeight-kskxy":`xmz0i5r`,"overflowX-kXHlph":`x6ikm8r`,"overflowY-kORKVm":`x1rife3k`,$$css:`@stridge/kit:src/shared/ui/Card/Card.styles.ts:103`}};export{i as bodyStyles,r as footerStyles,n as headerStyles,e as styles,t as variantStyles};
@@ -0,0 +1,2 @@
1
+ import { Card, CardVariant } from "./Card.js";
2
+ import { CARD_SLOTS, CardSlot } from "./Card.slots.js";
@@ -0,0 +1 @@
1
+ import"./Card.slots.js";import"./Card.js";
@@ -0,0 +1,57 @@
1
+ import { ComponentProps } from "react";
2
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+ import { Collapsible } from "@base-ui/react/collapsible";
4
+
5
+ //#region src/shared/ui/Collapsible/Collapsible.d.ts
6
+ /**
7
+ * Disclosure widget. Wraps Base UI's `Collapsible.Root` with a kit slot stamp. Compose with
8
+ * {@link Collapsible.Trigger} and {@link Collapsible.Panel} to match Base UI's collapsible pattern.
9
+ * Nest multiple instances inside {@link Collapsible.Group} to stack them in a flex column.
10
+ *
11
+ * @example
12
+ * ```tsx
13
+ * <Collapsible>
14
+ * <Collapsible.Trigger>Show details</Collapsible.Trigger>
15
+ * <Collapsible.Panel>Hidden content</Collapsible.Panel>
16
+ * </Collapsible>
17
+ * ```
18
+ */
19
+ declare function Collapsible$1(props: Collapsible$1.Props): _$react_jsx_runtime0.JSX.Element;
20
+ /**
21
+ * Toggle button that opens and closes the sibling {@link Collapsible.Panel}. Wraps Base UI's
22
+ * `Collapsible.Trigger` with a kit slot stamp and forwards state-aware `className` / `style` merging.
23
+ */
24
+ declare function CollapsibleTrigger({
25
+ className,
26
+ style,
27
+ ...props
28
+ }: Collapsible$1.TriggerProps): _$react_jsx_runtime0.JSX.Element;
29
+ /**
30
+ * Expandable content region controlled by {@link Collapsible.Trigger}. Wraps Base UI's `Collapsible.Panel`
31
+ * with kit panel styles and state-aware `className` / `style` merging.
32
+ */
33
+ declare function CollapsiblePanel({
34
+ className,
35
+ style,
36
+ ...props
37
+ }: Collapsible$1.PanelProps): _$react_jsx_runtime0.JSX.Element;
38
+ /**
39
+ * Flex column wrapper for stacking multiple {@link Collapsible} instances. A kit-only layout primitive —
40
+ * Base UI's collapsible has no group concept; this `div` supplies the vertical rhythm.
41
+ */
42
+ declare function CollapsibleGroup({
43
+ className,
44
+ style,
45
+ ...props
46
+ }: Collapsible$1.GroupProps): _$react_jsx_runtime0.JSX.Element;
47
+ declare namespace Collapsible$1 {
48
+ type Props = Collapsible.Root.Props;
49
+ type TriggerProps = Collapsible.Trigger.Props;
50
+ type PanelProps = Collapsible.Panel.Props;
51
+ type GroupProps = ComponentProps<"div">;
52
+ const Trigger: typeof CollapsibleTrigger;
53
+ const Panel: typeof CollapsiblePanel;
54
+ const Group: typeof CollapsibleGroup;
55
+ }
56
+ //#endregion
57
+ export { Collapsible$1 as Collapsible };
@@ -0,0 +1 @@
1
+ "use client";import{joinClassNames as e}from"../../utils/joinClassNames.js";import{mergeClassName as t}from"../../utils/mergeClassName.js";import{mergeStyle as n}from"../../utils/mergeStyle.js";import{COLLAPSIBLE_SLOTS as r}from"./Collapsible.slots.js";import{styles as i}from"./Collapsible.styles.js";import{jsx as a}from"react/jsx-runtime";import*as o from"@stylexjs/stylex";import{Collapsible as s}from"@base-ui/react/collapsible";function c(e){return a(s.Root,{"data-stridge-slot":r.root,...e})}function l({className:e,style:i,...o}){return a(s.Trigger,{"data-stridge-slot":r.trigger,...o,className:t(void 0,e),style:n(void 0,i)})}function u({className:e,style:c,...l}){let u=o.props(i.panel);return a(s.Panel,{"data-stridge-slot":r.panel,...l,className:t(u.className,e),style:n(u.style,c)})}function d({className:t,style:n,...s}){let c=o.props(i.group);return a(`div`,{"data-stridge-slot":r.group,...s,className:e(c.className,t),style:{...c.style,...n}})}(function(e){e.Trigger=l,e.Panel=u,e.Group=d})(c||={});export{c as Collapsible};
@@ -0,0 +1,10 @@
1
+ //#region src/shared/ui/Collapsible/Collapsible.slots.d.ts
2
+ declare const COLLAPSIBLE_SLOTS: {
3
+ readonly root: "collapsible";
4
+ readonly trigger: "collapsible-trigger";
5
+ readonly panel: "collapsible-panel";
6
+ readonly group: "collapsible-group";
7
+ };
8
+ type CollapsibleSlot = (typeof COLLAPSIBLE_SLOTS)[keyof typeof COLLAPSIBLE_SLOTS];
9
+ //#endregion
10
+ export { COLLAPSIBLE_SLOTS, CollapsibleSlot };
@@ -0,0 +1 @@
1
+ const e={root:`collapsible`,trigger:`collapsible-trigger`,panel:`collapsible-panel`,group:`collapsible-group`};export{e as COLLAPSIBLE_SLOTS};
@@ -0,0 +1 @@
1
+ const e={panel:{"Collapsible__styles.panel":`Collapsible__styles.panel`,"overflow-kVQacm":`xb3r6kr`,"height-kZKoxP":`xuan8c8`,"transitionProperty-k1ekBW":`xua3uq3`,"transitionDuration-kIyJzY":`x1vhb3u9`,"transitionTimingFunction-kAMwcw":`x1xv5090`,"willChange-k6sLGO":`x5uqrmk`,"[data-starting-style]_height-kjDl6":`x1fe7yth`,"[data-ending-style]_height-kYYDV6":`x12wejat`,"[hidden]:not([hidden='until-found'])_display-kjoudi":`xzuuoaq`,"@media (prefers-reduced-motion: reduce)_transitionDuration-k6CgDc":`x12w9bfk`,$$css:`@stridge/kit:src/shared/ui/Collapsible/Collapsible.styles.ts:4`},group:{"Collapsible__styles.group":`Collapsible__styles.group`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"gap-kOIVth":`x1r05nms`,$$css:`@stridge/kit:src/shared/ui/Collapsible/Collapsible.styles.ts:24`}};export{e as styles};
@@ -0,0 +1,2 @@
1
+ import { Collapsible } from "./Collapsible.js";
2
+ import { COLLAPSIBLE_SLOTS, CollapsibleSlot } from "./Collapsible.slots.js";
@@ -0,0 +1 @@
1
+ import"./Collapsible.slots.js";import"./Collapsible.js";
@@ -0,0 +1,76 @@
1
+ import { ComponentProps, ReactNode } from "react";
2
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+
4
+ //#region src/shared/ui/Details/Details.d.ts
5
+ /**
6
+ * Bordered key/value list. Compose with {@link Details.Row} and {@link Details.Value}.
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * <Details>
11
+ * <Details.Row label="Source">
12
+ * <Details.Value>0xabc…1234</Details.Value>
13
+ * </Details.Row>
14
+ * <Details.Row label="Total time">
15
+ * <Details.Value>~30 sec</Details.Value>
16
+ * </Details.Row>
17
+ * </Details>
18
+ * ```
19
+ */
20
+ declare function Details({
21
+ className,
22
+ style,
23
+ children,
24
+ ...props
25
+ }: Details.Props): _$react_jsx_runtime0.JSX.Element;
26
+ /**
27
+ * Single row inside a {@link Details} list. Renders a `label` on the leading edge and its `children` on the
28
+ * trailing edge. Compose with {@link Details.Value} for the standard value typography, or pass any node directly.
29
+ */
30
+ declare function DetailsRow({
31
+ label,
32
+ className,
33
+ style,
34
+ children,
35
+ ...props
36
+ }: Details.RowProps): _$react_jsx_runtime0.JSX.Element;
37
+ /**
38
+ * Value slot for a {@link Details.Row}. Applies row-value typography with an optional leading icon. Consumers may
39
+ * render any `ReactNode` inside `Details.Row` directly instead.
40
+ *
41
+ * The cluster is force-LTR via `dir="ltr"` so an icon paired with a numeric / symbol / hex
42
+ * atom — `[icon] 5 USDC`, `[icon] Stridge ACME`, `[wallet-icon] محفظة (…685c)` — keeps the
43
+ * icon-leading visual ordering in RTL contexts. The pair is treated as a single LTR atom in
44
+ * the row's flex layout; the surrounding Detail row and label still respect ambient direction.
45
+ */
46
+ declare function DetailsValue({
47
+ icon,
48
+ className,
49
+ style,
50
+ children,
51
+ ...props
52
+ }: Details.ValueProps): _$react_jsx_runtime0.JSX.Element;
53
+ declare namespace Details {
54
+ type Props = ComponentProps<"div">;
55
+ type RowProps = Omit<ComponentProps<"div">, "children"> & {
56
+ /**
57
+ * Leading-edge label.
58
+ */
59
+ label: ReactNode;
60
+ /**
61
+ * Trailing-edge content. Compose with {@link Details.Value} or pass any node.
62
+ */
63
+ children?: ReactNode;
64
+ };
65
+ type ValueProps = Omit<ComponentProps<"span">, "children"> & {
66
+ /**
67
+ * Optional leading element (icon, badge, etc.).
68
+ */
69
+ icon?: ReactNode;
70
+ children?: ReactNode;
71
+ };
72
+ const Row: typeof DetailsRow;
73
+ const Value: typeof DetailsValue;
74
+ }
75
+ //#endregion
76
+ export { Details };
@@ -0,0 +1 @@
1
+ "use client";import{joinClassNames as e}from"../../utils/joinClassNames.js";import{DETAILS_SLOTS as t}from"./Details.slots.js";import{styles as n}from"./Details.styles.js";import{jsx as r,jsxs as i}from"react/jsx-runtime";import*as a from"@stylexjs/stylex";function o({className:i,style:o,children:s,...c}){let l=a.props(n.root);return r(`div`,{"data-stridge-slot":t.root,...c,className:e(l.className,i),style:{...l.style,...o},children:s})}function s({label:o,className:s,style:c,children:l,...u}){let d=a.props(n.row),f=a.props(n.label);return i(`div`,{"data-stridge-slot":t.row,...u,className:e(d.className,s),style:{...d.style,...c},children:[r(`span`,{className:f.className,style:f.style,children:o}),l]})}function c({icon:r,className:o,style:s,children:c,...l}){let u=a.props(n.value);return i(`span`,{"data-stridge-slot":t.value,dir:`ltr`,...l,className:e(u.className,o),style:{...u.style,...s},children:[r,c]})}(function(e){e.Row=s,e.Value=c})(o||={});export{o as Details};
@@ -0,0 +1,9 @@
1
+ //#region src/shared/ui/Details/Details.slots.d.ts
2
+ declare const DETAILS_SLOTS: {
3
+ readonly root: "details";
4
+ readonly row: "details-row";
5
+ readonly value: "details-value";
6
+ };
7
+ type DetailsSlot = (typeof DETAILS_SLOTS)[keyof typeof DETAILS_SLOTS];
8
+ //#endregion
9
+ export { DETAILS_SLOTS, DetailsSlot };
@@ -0,0 +1 @@
1
+ const e={root:`details`,row:`details-row`,value:`details-value`};export{e as DETAILS_SLOTS};
@@ -0,0 +1 @@
1
+ const e={root:{"Details__styles.root":`Details__styles.root`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"backgroundColor-kWkggS":`x14ogoj5`,"borderColor-kVAM5u":`xbeer74`,"borderRadius-kaIpWk":`xxbqt08`,"borderStyle-ksu8eU":`x1y0btm7`,"borderWidth-kMzoRj":`xmkeg23`,"color-kMwMTN":`x1i40r7x`,"fontFamily-kMv6JI":`xlaww2m`,"overflow-kVQacm":`x7giv3`,$$css:`@stridge/kit:src/shared/ui/Details/Details.styles.ts:4`},row:{"Details__styles.row":`Details__styles.row`,"alignItems-kGNEyG":`x6s0dn4`,"borderBottomColor-kL6WhQ":`x2kdqbz`,"borderBottomStyle-kfdmCh":`x1q0q8m5`,"borderBottomWidth-kt9PQ7":`xso031l`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`x1q0g3np`,"gap-kOIVth":`x1v2ro7d`,"justifyContent-kjj79g":`x1qughib`,"paddingBlock-k8WAf4":`xxlmvz2`,"paddingInline-kg3NbH":`x1hr3lfm`,":last-child_borderBottomWidth-kx8K5S":`x1t1lzn6`,$$css:`@stridge/kit:src/shared/ui/Details/Details.styles.ts:16`},label:{"Details__styles.label":`Details__styles.label`,"color-kMwMTN":`x18cw6k6`,"fontSize-kGuDYH":`x4z9k3i`,"fontWeight-k63SB2":`xk50ysn`,"letterSpacing-kb6lSQ":`x1ixy4ik`,"lineHeight-kLWn49":`x1d3mw78`,$$css:`@stridge/kit:src/shared/ui/Details/Details.styles.ts:31`},value:{"Details__styles.value":`Details__styles.value`,"alignItems-kGNEyG":`x6s0dn4`,"color-kMwMTN":`x1i40r7x`,"display-k1xSpc":`x3nfvp2`,"flexDirection-kXwgrk":`x1q0g3np`,"fontSize-kGuDYH":`x4z9k3i`,"fontWeight-k63SB2":`x1s688f`,"gap-kOIVth":`x167g77z`,"letterSpacing-kb6lSQ":`x1ixy4ik`,"lineHeight-kLWn49":`x1d3mw78`,"minWidth-k7Eaqz":`xeuugli`,"textAlign-k9WMMc":`xp4054r`,$$css:`@stridge/kit:src/shared/ui/Details/Details.styles.ts:38`}};export{e as styles};
@@ -0,0 +1,2 @@
1
+ import { Details } from "./Details.js";
2
+ import { DETAILS_SLOTS, DetailsSlot } from "./Details.slots.js";
@@ -0,0 +1 @@
1
+ import"./Details.slots.js";import"./Details.js";