@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 @@
1
+ "use client";import{joinClassNames as e}from"../../utils/joinClassNames.js";import{IMAGE_SLOTS as t}from"./Image.slots.js";import{styles as n}from"./Image.styles.js";import{Children as r,createContext as i,isValidElement as a,use as o,useEffect as s,useMemo as c,useState as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";import*as f from"@stylexjs/stylex";import{Avatar as p}from"@base-ui/react/avatar";const m={xs:12,sm:16,md:20,lg:24,xl:32,"2xl":36,"3xl":40},h=[[`oklch(62.47% 0.16 270.13)`,`oklch(75.33% 0.11 276.38)`],[`oklch(68.91% 0.10 172.82)`,`oklch(46.99% 0.10 153.81)`],[`oklch(81.32% 0.16 86.69)`,`oklch(68.84% 0.15 156.66)`],[`oklch(56.79% 0.18 291.23)`,`oklch(49.84% 0.22 281.48)`],[`oklch(62.56% 0.19 23.03)`,`oklch(81.94% 0.16 84.20)`],[`oklch(56.00% 0.15 253.80)`,`oklch(68.01% 0.15 244.14)`],[`oklch(52.82% 0.26 262.87)`,`oklch(56.79% 0.18 291.23)`],[`oklch(75.33% 0.11 276.38)`,`oklch(56.00% 0.15 253.80)`]],g=i(null),_=i(null);function v(e){if(e===void 0)return[];let t=typeof e==`string`?[e]:e,n=new Set,r=[];for(let e of t)typeof e!=`string`||e.length===0||n.has(e)||(n.add(e),r.push(e));return r}function y(e){let t=2166136261;for(let n=0;n<e.length;n+=1)t^=e.charCodeAt(n),t=Math.imul(t,16777619)>>>0;return t}function b(e){return e.length===0?0:y(e)%h.length}function x(e,t){if(typeof e==`number`)return Number.isFinite(e)&&e>0?e:t;if(typeof e==`string`){let n=m[e];return Number.isFinite(n)&&n>0?n:t}return t}function S(e){return e===`square`?`0`:e===`rounded`?`var(--stridge-kit-radius-lg)`:`var(--stridge-kit-radius-full)`}function C(e,t){let n=e??t;if(n.length===0)return``;let r=n.charAt(0);return/\S/.test(r)?r.toUpperCase():``}function w({src:r,alt:i,size:a,letter:y,shape:w=`circle`,fallbackDelay:T=80,className:E,style:D,children:O,...k}){let A=o(g),j=o(_),M=x(a,A?.size??j?.size??m.md),N=A?.ringed??!1,P=c(()=>v(r),[r]),F=P.join(`|`),[I,L]=l(0);s(()=>{L(0)},[F]);let R=P[I],[z,B]=l(R?`loading`:`idle`),V=y??i,[H,U]=h[b(V)],W=C(y,i),G=S(w),K={width:`${M}px`,height:`${M}px`,borderRadius:G,boxShadow:N?`0 0 0 1.5px var(--stridge-kit-tile-surface)`:void 0,...D},q=f.props(n.root),J=P.length===0&&i.length>0,Y=e=>{if(e===`error`&&I<P.length-1){L(I+1),B(`loading`);return}B(e)};return d(p.Root,{"data-stridge-slot":t.root,"data-image-shape":w,"data-image-status":z,"data-image-palette":b(V),role:J?`img`:void 0,"aria-label":J?i:void 0,className:e(q.className,E),style:{...q.style,...K},...k,children:[R?u(p.Image,{src:R,alt:i,onLoadingStatusChange:Y,"data-stridge-slot":t.image,...f.props(n.image)},R):null,u(p.Fallback,{delay:R?T:0,"data-stridge-slot":t.fallback,...f.props(n.fallback),style:{background:`linear-gradient(135deg, ${H}, ${U})`,borderRadius:G},children:z===`loading`?u(`span`,{"aria-hidden":`true`,"data-stridge-slot":t.skeleton,...f.props(n.skeleton)}):W?u(`span`,{"aria-hidden":`true`,"data-stridge-slot":t.fallbackLetter,...f.props(n.fallbackLetter),style:{fontSize:`${Math.max(8,Math.round(M*.4))}px`},children:W}):null}),u(_.Provider,{value:{size:M},children:O})]})}function T({src:e,alt:r,size:i,letter:a}){let s=o(_),c=x(i,s?Math.max(8,Math.round(s.size*.45)):m.xs);return u(`span`,{"data-stridge-slot":t.overlay,...f.props(n.overlay),children:u(_.Provider,{value:null,children:u(w,{src:e,alt:r,size:c,letter:a,...f.props(n.overlayInner)})})})}function E({max:i,size:o,overflow:s,className:c,style:l,children:p,...h}){let _=x(o,m.md),v=r.toArray(p).filter(a),y=typeof i==`number`?Math.max(0,Math.floor(i)):void 0,b=y===void 0?v:v.slice(0,y),S=y===void 0?0:Math.max(0,v.length-y),C=typeof s==`number`?Math.max(0,Math.floor(s)):S,w=Math.round(_*.3),T={...l},E=f.props(n.group);return u(g.Provider,{value:{size:_,ringed:!0},children:d(`span`,{"data-stridge-slot":t.group,className:e(E.className,c),style:{...E.style,...T},...h,children:[b.map((e,t)=>u(`span`,{style:{display:`inline-flex`,marginInlineEnd:t<b.length-1||C>0?`-${w}px`:0},children:e},t)),C>0?d(`span`,{"data-stridge-slot":t.groupOverflow,...f.props(n.groupOverflow),style:{height:`${_}px`,fontSize:`${Math.max(9,Math.round(_*.5))}px`},children:[`+`,C]}):null]})})}w.Overlay=T,w.Group=E;export{w as Image};
@@ -0,0 +1,14 @@
1
+ //#region src/shared/ui/Image/Image.slots.d.ts
2
+ declare const IMAGE_SLOTS: {
3
+ readonly root: "image";
4
+ readonly image: "image-img";
5
+ readonly fallback: "image-fallback";
6
+ readonly fallbackLetter: "image-fallback-letter";
7
+ readonly skeleton: "image-skeleton";
8
+ readonly overlay: "image-overlay";
9
+ readonly group: "image-group";
10
+ readonly groupOverflow: "image-group-overflow";
11
+ };
12
+ type ImageSlot = (typeof IMAGE_SLOTS)[keyof typeof IMAGE_SLOTS];
13
+ //#endregion
14
+ export { IMAGE_SLOTS, ImageSlot };
@@ -0,0 +1 @@
1
+ const e={root:`image`,image:`image-img`,fallback:`image-fallback`,fallbackLetter:`image-fallback-letter`,skeleton:`image-skeleton`,overlay:`image-overlay`,group:`image-group`,groupOverflow:`image-group-overflow`};export{e as IMAGE_SLOTS};
@@ -0,0 +1 @@
1
+ const e={root:{"Image__styles.root":`Image__styles.root`,"position-kVAEAm":`x1n2onr6`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`xl56j7k`,"flexShrink-kmuXW":`x2lah0s`,"overflow-kVQacm":`x1rea2x4`,"verticalAlign-kXLuUW":`xxymvpz`,$$css:`@stridge/kit:src/shared/ui/Image/Image.styles.ts:12`},image:{"Image__styles.image":`Image__styles.image`,"position-kVAEAm":`x1n2onr6`,"zIndex-kY2c9j":`x1vjfegm`,"width-kzqmXN":`xh8yej3`,"height-kZKoxP":`x5yr21d`,"objectFit-kVIFPx":`x19kjcj4`,"borderRadius-kaIpWk":`x1pjcqnp`,"display-k1xSpc":`x1lliihq`,"backgroundColor-kWkggS":`xp5aqsh`,$$css:`@stridge/kit:src/shared/ui/Image/Image.styles.ts:21`},fallback:{"Image__styles.fallback":`Image__styles.fallback`,"position-kVAEAm":`x10l6tqk`,"inset-kpwlN0":`x10a8y8t`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`xl56j7k`,"overflow-kVQacm":`xb3r6kr`,$$css:`@stridge/kit:src/shared/ui/Image/Image.styles.ts:31`},fallbackLetter:{"Image__styles.fallbackLetter":`Image__styles.fallbackLetter`,"display-k1xSpc":`x1lliihq`,"fontFamily-kMv6JI":`xhpaxki`,"fontWeight-k63SB2":`x1xlr1w8`,"lineHeight-kLWn49":`xo5v014`,"color-kMwMTN":`xflhhh6`,"userSelect-kfSwDN":`x87ps6o`,$$css:`@stridge/kit:src/shared/ui/Image/Image.styles.ts:39`},skeleton:{"Image__styles.skeleton":`Image__styles.skeleton`,"position-kVAEAm":`x10l6tqk`,"inset-kpwlN0":`x10a8y8t`,"borderRadius-kaIpWk":`x1pjcqnp`,"backgroundColor-kWkggS":`x3l8li6`,"backgroundImage-kKwaWg":`x1sxldtw`,"backgroundSize-kgSjnq":`xakli9p`,"backgroundRepeat-kz484i":`xiy17q3`,"animationName-kKVMdj":`x1ng0oyw x1aquc0h`,"animationDuration-k44tkh":`x1sbju2s`,"animationIterationCount-ko0y90":`xa4qsjk`,"animationTimingFunction-kyAemX":`x1esw782`,$$css:`@stridge/kit:src/shared/ui/Image/Image.styles.ts:47`},overlay:{"Image__styles.overlay":`Image__styles.overlay`,"position-kVAEAm":`x10l6tqk`,"insetInlineEnd-kt4wiu":`x1d0qlrl`,"bottom-krVfgx":`x1t1qrwb`,"display-k1xSpc":`x3nfvp2`,"zIndex-kY2c9j":`xhtitgo`,$$css:`@stridge/kit:src/shared/ui/Image/Image.styles.ts:63`},overlayInner:{"Image__styles.overlayInner":`Image__styles.overlayInner`,"boxShadow-kGVxlE":`x1gsh91t`,$$css:`@stridge/kit:src/shared/ui/Image/Image.styles.ts:78`},group:{"Image__styles.group":`Image__styles.group`,"display-k1xSpc":`x3nfvp2`,"flexDirection-kXwgrk":`x1q0g3np`,"alignItems-kGNEyG":`x6s0dn4`,"flexShrink-kmuXW":`x2lah0s`,$$css:`@stridge/kit:src/shared/ui/Image/Image.styles.ts:81`},groupItemRing:{"Image__styles.groupItemRing":`Image__styles.groupItemRing`,"boxShadow-kGVxlE":`x1gsh91t`,$$css:`@stridge/kit:src/shared/ui/Image/Image.styles.ts:87`},groupOverflow:{"Image__styles.groupOverflow":`Image__styles.groupOverflow`,"position-kVAEAm":`x1n2onr6`,"zIndex-kY2c9j":`x1vjfegm`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`xl56j7k`,"flexShrink-kmuXW":`x2lah0s`,"boxSizing-kB7OPa":`x9f619`,"paddingInline-kg3NbH":`x1xijbu4`,"borderRadius-kaIpWk":`xrsz3of`,"borderWidth-kMzoRj":`xmkeg23`,"borderStyle-ksu8eU":`x1y0btm7`,"borderColor-kVAM5u":`x1bue7yx`,"backgroundColor-kWkggS":`xp5aqsh`,"color-kMwMTN":`x1gvmkps`,"fontFamily-kMv6JI":`xhpaxki`,"fontWeight-k63SB2":`x1s688f`,"lineHeight-kLWn49":`xo5v014`,"letterSpacing-kb6lSQ":`x16q24ku`,"userSelect-kfSwDN":`x87ps6o`,$$css:`@stridge/kit:src/shared/ui/Image/Image.styles.ts:90`}};export{e as styles};
@@ -0,0 +1,3 @@
1
+ import { ImageGroupProps, ImageOverlayProps, ImageProps, ImageShape, ImageSize } from "./types.js";
2
+ import { Image } from "./Image.js";
3
+ import { IMAGE_SLOTS, ImageSlot } from "./Image.slots.js";
@@ -0,0 +1 @@
1
+ import"./Image.slots.js";import"./Image.js";
@@ -0,0 +1,131 @@
1
+ import { ComponentProps, ReactNode } from "react";
2
+
3
+ //#region src/shared/ui/Image/types.d.ts
4
+ /**
5
+ * Preset sizes (in px): `xs=12`, `sm=16`, `md=20`, `lg=24`, `xl=32`,
6
+ * `2xl=36`, `3xl=40`.
7
+ */
8
+ type ImageSize = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
9
+ /**
10
+ * Shape of the image disc. `circle` is the default; `square` keeps
11
+ * `object-fit` but no border-radius; `rounded` uses the kit's `lg`
12
+ * radius.
13
+ */
14
+ type ImageShape = "circle" | "square" | "rounded";
15
+ /**
16
+ * Public props for the `Image` primitive.
17
+ *
18
+ * Renders a remote image with a deterministic gradient + letter fallback. When `src` is missing
19
+ * or fails to load, paints a gradient disc keyed by a hash of `alt` (or `letter`) so the same
20
+ * input always picks the same gradient.
21
+ *
22
+ * **For token or chain logos, use `<TokenLogo>` instead.** It runs the kit's URL resolver
23
+ * (host override → Trustwallet convention CDN → Stridge backend → this `Image` fallback) and
24
+ * renders the chain badge overlay automatically. `<Image>` is for wallet glyphs, brand marks, and
25
+ * other non-token imagery where there is no convention CDN to probe.
26
+ *
27
+ * @example
28
+ * Wallet glyph (no token identity to resolve, just a remote URL):
29
+ * ```tsx
30
+ * <Image size="md" src={wallet.iconUrl} alt={wallet.name} />
31
+ * ```
32
+ *
33
+ * @example
34
+ * Brand glyph fallback:
35
+ * ```tsx
36
+ * <Image size="sm" alt="Stridge" />
37
+ * ```
38
+ */
39
+ interface ImageProps extends Omit<ComponentProps<"span">, "children" | "size"> {
40
+ /**
41
+ * URL of the image, or a prioritized list of URLs. When an array is provided, the component
42
+ * tries each entry in order — on `error` it advances to the next — so a CDN-convention URL can
43
+ * fall back to a backend-supplied URL before the gradient+letter fallback kicks in. `undefined`
44
+ * or an empty array goes straight to the fallback.
45
+ */
46
+ src?: string | readonly string[];
47
+ /**
48
+ * Required for accessibility and for the deterministic fallback —
49
+ * the same `alt` always picks the same gradient and letter. Pass
50
+ * `""` for purely decorative images.
51
+ */
52
+ alt: string;
53
+ /**
54
+ * Preset or numeric pixel size. Defaults to `"md"` (20px).
55
+ */
56
+ size?: ImageSize | number;
57
+ /**
58
+ * Override the fallback letter. Defaults to the first uppercase character of `alt`.
59
+ */
60
+ letter?: string;
61
+ /**
62
+ * Disc shape. Defaults to `"circle"`.
63
+ */
64
+ shape?: ImageShape;
65
+ /**
66
+ * Milliseconds to wait before swapping a still-loading image out
67
+ * for the fallback. Avoids flashing the fallback on fast loads.
68
+ * Defaults to `80`.
69
+ */
70
+ fallbackDelay?: number;
71
+ /**
72
+ * Optional `<Image.Overlay>` child positioned bottom-right.
73
+ */
74
+ children?: ReactNode;
75
+ }
76
+ /**
77
+ * Bottom-right sub-badge layered on the parent `Image`. Defaults to
78
+ * ~0.45× the parent size.
79
+ */
80
+ interface ImageOverlayProps {
81
+ /**
82
+ * URL of the badge image, or a prioritized list of URLs (see `ImageProps.src`).
83
+ */
84
+ src?: string | readonly string[];
85
+ /**
86
+ * Required for accessibility and fallback identity.
87
+ */
88
+ alt: string;
89
+ /**
90
+ * Optional explicit size override.
91
+ */
92
+ size?: ImageSize | number;
93
+ /**
94
+ * Override the fallback letter. Defaults to the first character of `alt`.
95
+ */
96
+ letter?: string;
97
+ }
98
+ /**
99
+ * Stacked cluster of `Image`s with an optional `+N` overflow pill. Children may be either
100
+ * `<Image>` or `<TokenLogo>` instances — the cluster only manages overlap and the overflow pill.
101
+ * For token or chain stacks, prefer `<TokenLogo>` children so each entry resolves through the
102
+ * kit's URL pipeline.
103
+ *
104
+ * @example
105
+ * ```tsx
106
+ * <Image.Group max={5} size="md">
107
+ * <TokenLogo chainId={1} isNative symbol="Ethereum" hideChainBadge />
108
+ * <TokenLogo chainId={42161} isNative symbol="Arbitrum" hideChainBadge />
109
+ * <TokenLogo chainId={8453} isNative symbol="Base" hideChainBadge />
110
+ * <TokenLogo chainId={56} isNative symbol="BNB Chain" hideChainBadge />
111
+ * <TokenLogo symbol="Solana" hideChainBadge />
112
+ * </Image.Group>
113
+ * ```
114
+ */
115
+ interface ImageGroupProps extends Omit<ComponentProps<"span">, "children" | "size"> {
116
+ /**
117
+ * Max images to render before collapsing into the `+N` pill. Defaults to all children.
118
+ */
119
+ max?: number;
120
+ /**
121
+ * Force size onto every direct child.
122
+ */
123
+ size?: ImageSize | number;
124
+ /**
125
+ * Override the overflow count. Defaults to `children.length - max` when truncated.
126
+ */
127
+ overflow?: number;
128
+ children: ReactNode;
129
+ }
130
+ //#endregion
131
+ export { ImageGroupProps, ImageOverlayProps, ImageProps, ImageShape, ImageSize };
@@ -0,0 +1,129 @@
1
+ import { Button } from "../Button/Button.js";
2
+ import { ComponentProps, ReactNode } from "react";
3
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
4
+
5
+ //#region src/shared/ui/InputGroup/InputGroup.d.ts
6
+ /**
7
+ * Addon position relative to the inner control.
8
+ *
9
+ * - `inline-start` — leading edge (LTR: left). Default. Used for currency prefixes, search icons.
10
+ * - `inline-end` — trailing edge (LTR: right). Used for action buttons, suffix labels.
11
+ * - `block-start` — above the control (flips the group to a column layout). Used for header bars
12
+ * over a textarea (file name, language label).
13
+ * - `block-end` — below the control. Used for character counters, status lines, send affordances.
14
+ */
15
+ type InputGroupAddonAlign = "inline-start" | "inline-end" | "block-start" | "block-end";
16
+ /**
17
+ * Chrome wrapper for a single input control and optional addons. Owns the visible border, radius,
18
+ * background, focus ring, and invalid ring; the inner control strips its own chrome. State
19
+ * propagates via `:has()` — no React context. Set `aria-invalid` on the control; the wrapper
20
+ * reacts automatically.
21
+ *
22
+ * Composes inside `<Field>` as the labelled control, or standalone for inputs that don't need
23
+ * labelling chrome.
24
+ *
25
+ * @example
26
+ * ```tsx
27
+ * <Field>
28
+ * <Field.Label htmlFor="amount">Amount</Field.Label>
29
+ * <InputGroup>
30
+ * <InputGroup.Input id="amount" type="text" inputMode="decimal" placeholder="0.00" />
31
+ * <InputGroup.Addon align="inline-end">
32
+ * <InputGroup.Text>USDC</InputGroup.Text>
33
+ * </InputGroup.Addon>
34
+ * </InputGroup>
35
+ * </Field>
36
+ *
37
+ * // Textarea with character counter:
38
+ * <InputGroup>
39
+ * <InputGroup.Textarea value={msg} onChange={(e) => setMsg(e.target.value)} rows={4} />
40
+ * <InputGroup.Addon align="block-end">
41
+ * <InputGroup.Text>{msg.length}/200</InputGroup.Text>
42
+ * </InputGroup.Addon>
43
+ * </InputGroup>
44
+ * ```
45
+ */
46
+ declare function InputGroup({
47
+ className,
48
+ style,
49
+ ...props
50
+ }: InputGroup.Props): _$react_jsx_runtime0.JSX.Element;
51
+ /**
52
+ * Positioned slot inside an `InputGroup` — hosts icons, text, buttons, or counters. The `align`
53
+ * prop drives visual placement and the wrapper's padding compensation (`:has()` in styles).
54
+ *
55
+ * Clicking the addon focuses the inner control unless the click landed on a `<button>` descendant.
56
+ * The control is resolved via `data-stridge-slot="input-group-control"`, which covers both
57
+ * `InputGroup.Input` and `InputGroup.Textarea`. `role="group"` is intentionally omitted — addons
58
+ * rarely have an accessible name and the extra landmark adds screen-reader noise.
59
+ */
60
+ declare function InputGroupAddon({
61
+ align,
62
+ className,
63
+ onClick,
64
+ style,
65
+ ...props
66
+ }: InputGroup.AddonProps): _$react_jsx_runtime0.JSX.Element;
67
+ /**
68
+ * Inline text content inside an `InputGroup.Addon` — currency symbols, counter readouts, unit
69
+ * labels. Renders in muted foreground so the addon reads as chrome, not a user-facing label.
70
+ */
71
+ declare function InputGroupText({
72
+ className,
73
+ style,
74
+ ...props
75
+ }: InputGroup.TextProps): _$react_jsx_runtime0.JSX.Element;
76
+ /**
77
+ * Single-line text input inside an `<InputGroup>`. Chrome is stripped so the wrapper is what the
78
+ * user sees. Stamped `data-stridge-slot="input-group-control"` so the wrapper's `:has()` rules
79
+ * react to focus and `aria-invalid`.
80
+ */
81
+ declare function InputGroupInput({
82
+ className,
83
+ style,
84
+ ...props
85
+ }: InputGroup.InputProps): _$react_jsx_runtime0.JSX.Element;
86
+ /**
87
+ * Multiline text input inside an `<InputGroup>`. Chrome is stripped identically to
88
+ * `<InputGroup.Input>`; `fieldSizing: content` auto-grows the textarea up to `maxBlockSize`, then
89
+ * scrolls. Suitable for addresses and any free-form text that benefits from vertical wrapping.
90
+ */
91
+ declare function InputGroupTextarea({
92
+ className,
93
+ style,
94
+ ...props
95
+ }: InputGroup.TextareaProps): _$react_jsx_runtime0.JSX.Element;
96
+ /**
97
+ * Button inside an `<InputGroup.Addon>`. Delegates to the kit's `<Button>` with addon-density
98
+ * defaults: `variant="ghost"`, `size="sm"`, `type="button"`. Pass `size="icon-sm"` for
99
+ * icon-only affordances (copy, clear, reveal).
100
+ */
101
+ declare function InputGroupButton({
102
+ variant,
103
+ size,
104
+ type,
105
+ ...props
106
+ }: InputGroup.ButtonProps): _$react_jsx_runtime0.JSX.Element;
107
+ declare namespace InputGroup {
108
+ type Props = ComponentProps<"div">;
109
+ interface AddonProps extends Omit<ComponentProps<"div">, "children"> {
110
+ /**
111
+ * Where the addon sits relative to the inner control.
112
+ *
113
+ * @default "inline-start"
114
+ */
115
+ align?: InputGroupAddonAlign;
116
+ children?: ReactNode;
117
+ }
118
+ type TextProps = ComponentProps<"span">;
119
+ type InputProps = ComponentProps<"input">;
120
+ type TextareaProps = ComponentProps<"textarea">;
121
+ type ButtonProps = Button.Props;
122
+ const Addon: typeof InputGroupAddon;
123
+ const Text: typeof InputGroupText;
124
+ const Input: typeof InputGroupInput;
125
+ const Textarea: typeof InputGroupTextarea;
126
+ const Button: typeof InputGroupButton;
127
+ }
128
+ //#endregion
129
+ export { InputGroup, InputGroupAddonAlign };
@@ -0,0 +1 @@
1
+ "use client";import{joinClassNames as e}from"../../utils/joinClassNames.js";import{Button as t}from"../Button/Button.js";import"../Button/index.js";import{INPUT_GROUP_SLOTS as n}from"./InputGroup.slots.js";import{addonAlignStyles as r,styles as i}from"./InputGroup.styles.js";import{useCallback as a}from"react";import{jsx as o}from"react/jsx-runtime";import*as s from"@stylexjs/stylex";function c({className:t,style:r,...a}){let c=s.props(i.root);return o(`div`,{role:`group`,"data-stridge-slot":n.root,...a,className:e(c.className,t),style:{...c.style,...r}})}function l({align:t=`inline-start`,className:c,onClick:l,style:u,...d}){let f=a(e=>{e.target?.closest(`button`)??(e.currentTarget.closest(`[data-stridge-slot="${n.root}"]`)?.querySelector(`[data-stridge-slot="${n.control}"]`))?.focus(),l?.(e)},[l]),p=s.props(i.addonBase,r[t]);return o(`div`,{"data-stridge-slot":n.addon,"data-align":t,...d,onClick:f,className:e(p.className,c),style:{...p.style,...u}})}function u({className:t,style:r,...a}){let c=s.props(i.text);return o(`span`,{"data-stridge-slot":n.text,...a,className:e(c.className,t),style:{...c.style,...r}})}function d({className:t,style:r,...a}){let c=s.props(i.control);return o(`input`,{"data-stridge-slot":n.control,...a,className:e(c.className,t),style:{...c.style,...r}})}function f({className:t,style:r,...a}){let c=s.props(i.control,i.controlTextarea);return o(`textarea`,{"data-stridge-slot":n.control,...a,className:e(c.className,t),style:{...c.style,...r}})}function p({variant:e=`ghost`,size:r=`sm`,type:i=`button`,...a}){return o(t,{"data-stridge-slot":n.button,variant:e,size:r,type:i,...a})}(function(e){e.Addon=l,e.Text=u,e.Input=d,e.Textarea=f,e.Button=p})(c||={});export{c as InputGroup};
@@ -0,0 +1,16 @@
1
+ //#region src/shared/ui/InputGroup/InputGroup.slots.d.ts
2
+ /**
3
+ * Stable `data-stridge-slot` identifiers for the `InputGroup` compound. `control` is shared by
4
+ * both `<InputGroup.Input>` and `<InputGroup.Textarea>` so the wrapper's `:has()` focus-ring and
5
+ * invalid-border rules react to either element without two separate selectors.
6
+ */
7
+ declare const INPUT_GROUP_SLOTS: {
8
+ readonly root: "input-group";
9
+ readonly addon: "input-group-addon";
10
+ readonly text: "input-group-text";
11
+ readonly control: "input-group-control";
12
+ readonly button: "input-group-button";
13
+ };
14
+ type InputGroupSlot = (typeof INPUT_GROUP_SLOTS)[keyof typeof INPUT_GROUP_SLOTS];
15
+ //#endregion
16
+ export { INPUT_GROUP_SLOTS, InputGroupSlot };
@@ -0,0 +1 @@
1
+ const e={root:`input-group`,addon:`input-group-addon`,text:`input-group-text`,control:`input-group-control`,button:`input-group-button`};export{e as INPUT_GROUP_SLOTS};
@@ -0,0 +1 @@
1
+ const e={root:{"InputGroup__styles.root":`InputGroup__styles.root`,"position-kVAEAm":`x1n2onr6`,"display-k1xSpc":`x78zum5`,"alignItems-kGNEyG":`x6s0dn4`,"width-kzqmXN":`xh8yej3`,"minWidth-k7Eaqz":`xeuugli`,"backgroundColor-kWkggS":`xsdq91f`,"borderRadius-kaIpWk":`x12ur2as`,"borderWidth-kMzoRj":`xmkeg23`,"borderStyle-ksu8eU":`x1y0btm7`,"borderColor-kVAM5u":`x1bue7yx`,"boxShadow-kGVxlE":`xzh026d`,"outlineStyle-k3XXqK":`x1t137rt`,"transitionProperty-k1ekBW":`x12zzom9`,"transitionDuration-kIyJzY":`xx6bhzk`,"transitionTimingFunction-kAMwcw":`x9lcvmn`,":has(> [data-align='block-start'])_flexDirection-kFri6d":`x194fthc`,":has(> [data-align='block-end'])_flexDirection-kYhW9S":`x18kp75k`,':has(> [data-align="inline-start"]) > input, :has(> [data-align="inline-start"]) > textarea_paddingInlineStart-kQ95yr':`xt6ss43`,':has(> [data-align="inline-end"]) > input, :has(> [data-align="inline-end"]) > textarea_paddingInlineEnd-kU9a4k':`x1h3il70`,":has(> input:focus-visible, > textarea:focus-visible)_borderColor-k2cnuw":`xnyhjf`,":has(> input:focus-visible, > textarea:focus-visible)_boxShadow-kk70Jk":`x1yi73pz`,':has(> input[aria-invalid="true"], > textarea[aria-invalid="true"])_borderColor-kXNN1s':`xn0a4ft`,':has(> input[aria-invalid="true"]:focus-visible, > textarea[aria-invalid="true"]:focus-visible)_borderColor-kpScTd':`x1m8uku1`,':has(> input[aria-invalid="true"]:focus-visible, > textarea[aria-invalid="true"]:focus-visible)_boxShadow-kBzYxT':`xw3o6j3`,":has(> input:disabled, > textarea:disabled)_opacity-kQ45ge":`x1jyfq15`,":has(> input:disabled, > textarea:disabled)_cursor-kO6b0Y":`x13hg1u5`,$$css:`@stridge/kit:src/shared/ui/InputGroup/InputGroup.styles.ts:17`},addonBase:{"InputGroup__styles.addonBase":`InputGroup__styles.addonBase`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"flexShrink-kmuXW":`x2lah0s`,"gap-kOIVth":`x1a6yh9e`,"userSelect-kfSwDN":`x87ps6o`,"color-kMwMTN":`xi96bwj`,"cursor-kkrTdU":`x1ed109x`,$$css:`@stridge/kit:src/shared/ui/InputGroup/InputGroup.styles.ts:82`},text:{"InputGroup__styles.text":`InputGroup__styles.text`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x1a6yh9e`,"fontSize-kGuDYH":`x14qa7mu`,"lineHeight-kLWn49":`x2fnr2h`,"color-kMwMTN":`xi96bwj`,$$css:`@stridge/kit:src/shared/ui/InputGroup/InputGroup.styles.ts:95`},control:{"InputGroup__styles.control":`InputGroup__styles.control`,"flexGrow-kzQI83":`x1iyjqo2`,"flexShrink-kmuXW":`xs83m0k`,"minWidth-k7Eaqz":`xeuugli`,"borderWidth-kMzoRj":`xc342km`,"outlineStyle-k3XXqK":`x1t137rt`,"backgroundColor-kWkggS":`xjbqb8w`,"boxShadow-kGVxlE":`x1gnnqk1`,"paddingBlock-k8WAf4":`xrii95j`,"paddingInline-kg3NbH":`x1hr3lfm`,"fontFamily-kMv6JI":`xlaww2m`,"fontSize-kGuDYH":`x1j61zf2`,"lineHeight-kLWn49":`x19v9tvf`,"fontWeight-k63SB2":`xk50ysn`,"color-kMwMTN":`xzn0pkc`,"caretColor-knGrYV":`x1s2wxje`,"appearance-kysU6D":`xtilpmw`,"::placeholder_color-k8Qsv1":`x16nik3i`,":disabled_cursor-kYPGJ8":`x1s07b3s`,$$css:`@stridge/kit:src/shared/ui/InputGroup/InputGroup.styles.ts:109`},controlTextarea:{"InputGroup__styles.controlTextarea":`InputGroup__styles.controlTextarea`,"resize-kHenm0":`xtt52l0`,"overflow-kVQacm":`xysyzu8`,"fieldSizing-kOwNse":`x5f5z56`,"minHeight-kAzted":`xe0957l`,"maxHeight-kskxy":`xpulllz`,"overflowWrap-kHjlTd":`xj0a0fe`,"wordBreak-kTgw9":`x1yn0g08`,"whiteSpace-khDVqt":`x126k92a`,$$css:`@stridge/kit:src/shared/ui/InputGroup/InputGroup.styles.ts:138`}},t={"inline-start":{"InputGroup__addonAlignStyles.inline-start":`InputGroup__addonAlignStyles.inline-start`,"order-kayTVb":`x1clqncf`,"paddingInlineStart-kZCmMZ":`x1qntkwk`,$$css:`@stridge/kit:src/shared/ui/InputGroup/InputGroup.styles.ts:154`},"inline-end":{"InputGroup__addonAlignStyles.inline-end":`InputGroup__addonAlignStyles.inline-end`,"order-kayTVb":`x9ek82g`,"paddingInlineEnd-kwRFfy":`xi8f3d1`,$$css:`@stridge/kit:src/shared/ui/InputGroup/InputGroup.styles.ts:158`},"block-start":{"InputGroup__addonAlignStyles.block-start":`InputGroup__addonAlignStyles.block-start`,"order-kayTVb":`x1clqncf`,"width-kzqmXN":`xh8yej3`,"justifyContent-kjj79g":`x1nhvcw1`,"paddingTop-kLKAdn":`x19ment4`,"paddingInline-kg3NbH":`x1fk34n2`,$$css:`@stridge/kit:src/shared/ui/InputGroup/InputGroup.styles.ts:162`},"block-end":{"InputGroup__addonAlignStyles.block-end":`InputGroup__addonAlignStyles.block-end`,"order-kayTVb":`x9ek82g`,"width-kzqmXN":`xh8yej3`,"justifyContent-kjj79g":`x1nhvcw1`,"paddingBottom-kGO01o":`x1df270x`,"paddingInline-kg3NbH":`x1fk34n2`,$$css:`@stridge/kit:src/shared/ui/InputGroup/InputGroup.styles.ts:169`}};export{t as addonAlignStyles,e as styles};
@@ -0,0 +1,2 @@
1
+ import { InputGroup, InputGroupAddonAlign } from "./InputGroup.js";
2
+ import { INPUT_GROUP_SLOTS, InputGroupSlot } from "./InputGroup.slots.js";
@@ -0,0 +1 @@
1
+ import"./InputGroup.slots.js";import"./InputGroup.js";
@@ -0,0 +1,31 @@
1
+ import { CSSProperties, ReactNode } from "react";
2
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+
4
+ //#region src/shared/ui/LtrAtom/LtrAtom.d.ts
5
+ interface LtrAtomProps {
6
+ children: ReactNode;
7
+ className?: string;
8
+ style?: CSSProperties;
9
+ }
10
+ /**
11
+ * One-line `<bdi dir="ltr">` wrapper for atomic strings whose visual order is meaningful in
12
+ * left-to-right form regardless of the surrounding paragraph direction — wallet addresses, tx
13
+ * hashes, raw token amounts, ISO timestamps. The browser's bidi algorithm would otherwise
14
+ * mirror these inside an RTL paragraph (e.g. flipping `0xABC…1234` → `1234…0xABC`).
15
+ *
16
+ * Use this primitive instead of inlining `<bdi dir="ltr">` everywhere so isolation behavior
17
+ * stays consistent across the kit. Forwards `className` + `style` so it slots into existing
18
+ * stylex / inline-style flows without a wrapper element.
19
+ *
20
+ * @example
21
+ * ```tsx
22
+ * <LtrAtom>{wallet.payload.address.formatted}</LtrAtom>
23
+ * ```
24
+ */
25
+ declare function LtrAtom({
26
+ children,
27
+ className,
28
+ style
29
+ }: LtrAtomProps): _$react_jsx_runtime0.JSX.Element;
30
+ //#endregion
31
+ export { LtrAtom, type LtrAtomProps };
@@ -0,0 +1 @@
1
+ "use client";import{jsx as e}from"react/jsx-runtime";function t({children:t,className:n,style:r}){return e(`bdi`,{dir:`ltr`,className:n,style:r,children:t})}export{t as LtrAtom};
@@ -0,0 +1 @@
1
+ import { LtrAtom, LtrAtomProps } from "./LtrAtom.js";
@@ -0,0 +1 @@
1
+ import"./LtrAtom.js";
@@ -0,0 +1,86 @@
1
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import { ScrollArea } from "@base-ui/react/scroll-area";
3
+
4
+ //#region src/shared/ui/ScrollArea/ScrollArea.d.ts
5
+ /**
6
+ * Overflow container with a custom scrollbar. Wraps Base UI's `ScrollArea.Root` with kit slot stamps and
7
+ * styling. Compose with {@link ScrollArea.Viewport}, {@link ScrollArea.Scrollbar}, and {@link ScrollArea.Thumb}.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * <ScrollArea>
12
+ * <ScrollArea.Viewport>
13
+ * {children}
14
+ * </ScrollArea.Viewport>
15
+ * <ScrollArea.Scrollbar orientation="vertical">
16
+ * <ScrollArea.Thumb />
17
+ * </ScrollArea.Scrollbar>
18
+ * </ScrollArea>
19
+ * ```
20
+ */
21
+ declare function ScrollArea$1({
22
+ className,
23
+ style,
24
+ ...props
25
+ }: ScrollArea$1.Props): _$react_jsx_runtime0.JSX.Element;
26
+ /**
27
+ * Scrollable viewport inside a {@link ScrollArea}. Wraps Base UI's `ScrollArea.Viewport` with kit styles
28
+ * and state-aware class/style merging.
29
+ */
30
+ declare function ScrollAreaViewport({
31
+ className,
32
+ style,
33
+ ...props
34
+ }: ScrollArea$1.ViewportProps): _$react_jsx_runtime0.JSX.Element;
35
+ /**
36
+ * Content sizing wrapper inside a {@link ScrollArea.Viewport}. Wraps Base UI's `ScrollArea.Content` with a
37
+ * kit slot stamp; applies no additional styles beyond what the primitive sets.
38
+ */
39
+ declare function ScrollAreaContent({
40
+ className,
41
+ style,
42
+ ...props
43
+ }: ScrollArea$1.ContentProps): _$react_jsx_runtime0.JSX.Element;
44
+ /**
45
+ * Scrollbar track for a {@link ScrollArea}. Wraps Base UI's `ScrollArea.Scrollbar` with kit track styles.
46
+ * Defaults to `orientation="vertical"`. Place {@link ScrollArea.Thumb} inside to render the draggable handle.
47
+ */
48
+ declare function ScrollAreaScrollbar({
49
+ orientation,
50
+ className,
51
+ style,
52
+ ...props
53
+ }: ScrollArea$1.ScrollbarProps): _$react_jsx_runtime0.JSX.Element;
54
+ /**
55
+ * Draggable thumb rendered inside a {@link ScrollArea.Scrollbar}. Wraps Base UI's `ScrollArea.Thumb` with
56
+ * kit thumb styles and state-aware class/style merging.
57
+ */
58
+ declare function ScrollAreaThumb({
59
+ className,
60
+ style,
61
+ ...props
62
+ }: ScrollArea$1.ThumbProps): _$react_jsx_runtime0.JSX.Element;
63
+ /**
64
+ * Corner fill rendered at the intersection of a vertical and horizontal scrollbar. Wraps Base UI's
65
+ * `ScrollArea.Corner` with kit corner styles.
66
+ */
67
+ declare function ScrollAreaCorner({
68
+ className,
69
+ style,
70
+ ...props
71
+ }: ScrollArea$1.CornerProps): _$react_jsx_runtime0.JSX.Element;
72
+ declare namespace ScrollArea$1 {
73
+ type Props = ScrollArea.Root.Props;
74
+ type ViewportProps = ScrollArea.Viewport.Props;
75
+ type ContentProps = ScrollArea.Content.Props;
76
+ type ScrollbarProps = ScrollArea.Scrollbar.Props;
77
+ type ThumbProps = ScrollArea.Thumb.Props;
78
+ type CornerProps = ScrollArea.Corner.Props;
79
+ const Viewport: typeof ScrollAreaViewport;
80
+ const Content: typeof ScrollAreaContent;
81
+ const Scrollbar: typeof ScrollAreaScrollbar;
82
+ const Thumb: typeof ScrollAreaThumb;
83
+ const Corner: typeof ScrollAreaCorner;
84
+ }
85
+ //#endregion
86
+ export { ScrollArea$1 as ScrollArea };
@@ -0,0 +1 @@
1
+ "use client";import{mergeClassName as e}from"../../utils/mergeClassName.js";import{mergeStyle as t}from"../../utils/mergeStyle.js";import{SCROLL_AREA_SLOTS as n}from"./ScrollArea.slots.js";import{styles as r}from"./ScrollArea.styles.js";import{jsx as i}from"react/jsx-runtime";import*as a from"@stylexjs/stylex";import{ScrollArea as o}from"@base-ui/react/scroll-area";function s({className:s,style:c,...l}){let u=a.props(r.root);return i(o.Root,{"data-stridge-slot":n.root,...l,className:e(u.className,s),style:t(u.style,c)})}function c({className:s,style:c,...l}){let u=a.props(r.viewport);return i(o.Viewport,{"data-stridge-slot":n.viewport,...l,className:e(u.className,s),style:t(u.style,c)})}function l({className:r,style:a,...s}){return i(o.Content,{"data-stridge-slot":n.content,...s,className:e(void 0,r),style:t(void 0,a)})}function u({orientation:s=`vertical`,className:c,style:l,...u}){let d=a.props(r.scrollbar);return i(o.Scrollbar,{"data-stridge-slot":n.scrollbar,orientation:s,...u,className:e(d.className,c),style:t(d.style,l)})}function d({className:s,style:c,...l}){let u=a.props(r.thumb);return i(o.Thumb,{"data-stridge-slot":n.thumb,...l,className:e(u.className,s),style:t(u.style,c)})}function f({className:s,style:c,...l}){let u=a.props(r.corner);return i(o.Corner,{"data-stridge-slot":n.corner,...l,className:e(u.className,s),style:t(u.style,c)})}(function(e){e.Viewport=c,e.Content=l,e.Scrollbar=u,e.Thumb=d,e.Corner=f})(s||={});export{s as ScrollArea};
@@ -0,0 +1,12 @@
1
+ //#region src/shared/ui/ScrollArea/ScrollArea.slots.d.ts
2
+ declare const SCROLL_AREA_SLOTS: {
3
+ readonly root: "scroll-area";
4
+ readonly viewport: "scroll-area-viewport";
5
+ readonly content: "scroll-area-content";
6
+ readonly scrollbar: "scroll-area-scrollbar";
7
+ readonly thumb: "scroll-area-thumb";
8
+ readonly corner: "scroll-area-corner";
9
+ };
10
+ type ScrollAreaSlot = (typeof SCROLL_AREA_SLOTS)[keyof typeof SCROLL_AREA_SLOTS];
11
+ //#endregion
12
+ export { SCROLL_AREA_SLOTS, ScrollAreaSlot };
@@ -0,0 +1 @@
1
+ const e={root:`scroll-area`,viewport:`scroll-area-viewport`,content:`scroll-area-content`,scrollbar:`scroll-area-scrollbar`,thumb:`scroll-area-thumb`,corner:`scroll-area-corner`};export{e as SCROLL_AREA_SLOTS};
@@ -0,0 +1 @@
1
+ const e={root:{"ScrollArea__styles.root":`ScrollArea__styles.root`,"position-kVAEAm":`x1n2onr6`,"overflow-kVQacm":`xb3r6kr`,"width-kzqmXN":`xh8yej3`,"height-kZKoxP":`x5yr21d`,$$css:`@stridge/kit:src/shared/ui/ScrollArea/ScrollArea.styles.ts:4`},viewport:{"ScrollArea__styles.viewport":`ScrollArea__styles.viewport`,"width-kzqmXN":`xh8yej3`,"height-kZKoxP":`x5yr21d`,"overscrollBehavior-kZeWKH":`xish69e`,"outlineStyle-k3XXqK":`x1t137rt`,":focus-visible_outlineWidth-kPJHz1":`x784prv`,":focus-visible_outlineStyle-k7shQP":`x9v5kkp`,":focus-visible_outlineColor-kZs9gx":`x11ayl2i`,":focus-visible_outlineOffset-kiEn40":`x1bqaal`,":focus-visible_borderRadius-k7aC84":`x63abuj`,$$css:`@stridge/kit:src/shared/ui/ScrollArea/ScrollArea.styles.ts:10`},scrollbar:{"ScrollArea__styles.scrollbar":`ScrollArea__styles.scrollbar`,"display-k1xSpc":`x78zum5`,"touchAction-kFalU9":`x5ve5x3`,"userSelect-kfSwDN":`x87ps6o`,"padding-kmVPX3":`x1ljrego`,"opacity-kSiTet":`xg01cxk`,"transitionProperty-k1ekBW":`x19991ni`,"transitionDuration-kIyJzY":`x1vhb3u9`,"transitionTimingFunction-kAMwcw":`x1xv5090`,"[data-orientation=vertical]_width-kwVBnF":`xr4lo6p`,"[data-orientation=vertical]_height-k2AXh":`xrhq4tq`,"[data-orientation=vertical]_top-kAKlKY":`x1gmvaq8`,"[data-orientation=vertical]_insetInlineEnd-k8vuHP":`x1julj3b`,"[data-orientation=horizontal]_flexDirection-kjU159":`xrvs7vr`,"[data-orientation=horizontal]_height-kH2gFy":`x1thhcpk`,"[data-orientation=horizontal]_width-kUUgZz":`x90yeee`,"[data-orientation=horizontal]_bottom-k9htvw":`x1e9oa8n`,"[data-orientation=horizontal]_insetInlineStart-ksRvkY":`xyj2g8q`,"[data-hovering]_opacity-knyQH7":`x5xkuxn`,"[data-scrolling]_opacity-kAgeN5":`x1mi5j4n`,"@media (prefers-reduced-motion: reduce)_transitionDuration-k6CgDc":`x12w9bfk`,$$css:`@stridge/kit:src/shared/ui/ScrollArea/ScrollArea.styles.ts:23`},thumb:{"ScrollArea__styles.thumb":`ScrollArea__styles.thumb`,"flex-kUk6DE":`x98rzlu`,"backgroundColor-kWkggS":`xriqneg`,"borderRadius-kaIpWk":`x1npxkrn`,"opacity-kSiTet":`xti2d7y`,"transitionProperty-k1ekBW":`x1e8aii2`,"transitionDuration-kIyJzY":`x1vhb3u9`,"transitionTimingFunction-kAMwcw":`x1xv5090`,":hover_opacity-kKhh5M":`x1mzqehw`,"@media (prefers-reduced-motion: reduce)_transitionDuration-k6CgDc":`x12w9bfk`,$$css:`@stridge/kit:src/shared/ui/ScrollArea/ScrollArea.styles.ts:55`},corner:{"ScrollArea__styles.corner":`ScrollArea__styles.corner`,"backgroundColor-kWkggS":`xjbqb8w`,$$css:`@stridge/kit:src/shared/ui/ScrollArea/ScrollArea.styles.ts:70`}};export{e as styles};
@@ -0,0 +1,2 @@
1
+ import { ScrollArea } from "./ScrollArea.js";
2
+ import { SCROLL_AREA_SLOTS, ScrollAreaSlot } from "./ScrollArea.slots.js";
@@ -0,0 +1 @@
1
+ import"./ScrollArea.slots.js";import"./ScrollArea.js";
@@ -0,0 +1,10 @@
1
+ //#region src/shared/ui/Select/Select.context.d.ts
2
+ /**
3
+ * Visual style variant shared across all parts of a `Select` compound.
4
+ *
5
+ * - `outline`: bordered input surface, fixed 36px height.
6
+ * - `tile`: selectable-tile surface + card border + tile radius, sized for asset-row contexts (~44px tall).
7
+ */
8
+ type SelectVariant = "outline" | "tile";
9
+ //#endregion
10
+ export { SelectVariant };
@@ -0,0 +1 @@
1
+ "use client";import{createContext as e,use as t}from"react";const n={variant:`outline`},r=e(n);function i(){return t(r)}export{n as DEFAULT_SELECT_CONTEXT,r as SelectContext,i as useSelectContext};