@skip-go/widget 3.14.3 → 3.14.5

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 (84) hide show
  1. package/build/add-BJQPsA8k.js +19 -0
  2. package/build/all-wallets-B11_4Ybe.js +10 -0
  3. package/build/app-store-CARimMW3.js +21 -0
  4. package/build/apple-DEuxqvQi.js +22 -0
  5. package/build/arrow-bottom-BsHbGBdB.js +12 -0
  6. package/build/arrow-bottom-circle-Cs2knW0e.js +15 -0
  7. package/build/arrow-left-DzEykZh_.js +12 -0
  8. package/build/arrow-right-BhBVwf9g.js +12 -0
  9. package/build/arrow-top-CQFpDrN4.js +12 -0
  10. package/build/bank-CjU2Dyen.js +18 -0
  11. package/build/basic-DEapmA0E.js +6930 -0
  12. package/build/browser-DuTL2ZwF.js +18 -0
  13. package/build/card-H_VBjXH3.js +18 -0
  14. package/build/checkmark-Dtjtjmf1.js +15 -0
  15. package/build/checkmark-bold-z4hM-TsC.js +12 -0
  16. package/build/chevron-bottom-CtArV2wF.js +12 -0
  17. package/build/chevron-left-DdvY2CTb.js +12 -0
  18. package/build/chevron-right-CFXUESPe.js +12 -0
  19. package/build/chevron-top-Dy9Hw3fV.js +12 -0
  20. package/build/chrome-store-C_pTffOw.js +65 -0
  21. package/build/clock-CMOyk9S9.js +12 -0
  22. package/build/close-Dms7aMSR.js +12 -0
  23. package/build/coinPlaceholder-B2cZTC3R.js +12 -0
  24. package/build/compass-DNOfEAM2.js +12 -0
  25. package/build/copy-DZbibH1K.js +19 -0
  26. package/build/core-BfKZ4PIC.js +13138 -0
  27. package/build/cursor-BbBjTjwp.js +7 -0
  28. package/build/cursor-transparent-DCOjv2sR.js +16 -0
  29. package/build/desktop-uyYbF0Mn.js +13 -0
  30. package/build/disconnect-CetZ4edH.js +12 -0
  31. package/build/discord-Cf_HZf3N.js +21 -0
  32. package/build/etherscan-C4OLKng2.js +10 -0
  33. package/build/exclamation-triangle-uVxTDhvu.js +8 -0
  34. package/build/extension-DxctmiWz.js +12 -0
  35. package/build/external-link-MqCcqsdd.js +12 -0
  36. package/build/facebook-C4dd-ziA.js +30 -0
  37. package/build/farcaster-CeVdeAEP.js +16 -0
  38. package/build/filters-BiMkQFV8.js +12 -0
  39. package/build/github-CU_W_N6N.js +22 -0
  40. package/build/google-7s8MQVzB.js +22 -0
  41. package/build/help-circle-C3-nycKi.js +16 -0
  42. package/build/id-C2tHtjX6.js +16 -0
  43. package/build/image-DPaMR_cv.js +8 -0
  44. package/build/{index-dsbVbl47.js → index-jvbs7eGH.js} +882 -749
  45. package/build/index-omwtuTW1.js +1132 -0
  46. package/build/index.d.ts +39 -0
  47. package/build/index.es-LTt2Eg_D.js +8712 -0
  48. package/build/index.js +3 -2
  49. package/build/info-circle-B_IxCfxa.js +16 -0
  50. package/build/info-qKe_hnXy.js +7 -0
  51. package/build/lightbulb-1XI0Bxv-.js +7 -0
  52. package/build/mail-CJW1dmhW.js +12 -0
  53. package/build/mobile-DHY_7Eey.js +13 -0
  54. package/build/more-CHCKQBcM.js +15 -0
  55. package/build/network-placeholder-Bjoe5sTj.js +18 -0
  56. package/build/nftPlaceholder-BfGB28hh.js +12 -0
  57. package/build/off-Bf2iuTEi.js +12 -0
  58. package/build/play-store-BIvS0r4I.js +36 -0
  59. package/build/plus-qgz3JQAB.js +17 -0
  60. package/build/qr-code-BuWsCw2z.js +10 -0
  61. package/build/recycle-horizontal-B1CVSSLJ.js +13 -0
  62. package/build/refresh-BhvhNniM.js +12 -0
  63. package/build/reown-logo-C5z3wp07.js +16 -0
  64. package/build/search-BTpo0HGA.js +12 -0
  65. package/build/send-B8pnkBAp.js +19 -0
  66. package/build/swapHorizontal-A29wlFie.js +12 -0
  67. package/build/swapHorizontalBold-CG4RbMR8.js +12 -0
  68. package/build/swapHorizontalMedium-BZPbiWG7.js +20 -0
  69. package/build/swapHorizontalRoundedBold-CgYvX4sR.js +12 -0
  70. package/build/swapVertical-DGjhPMtl.js +12 -0
  71. package/build/telegram-BTYv80UF.js +20 -0
  72. package/build/three-dots-CK7eAfOP.js +9 -0
  73. package/build/twitch-K05X_UT8.js +22 -0
  74. package/build/twitterIcon-BE4qUrhF.js +10 -0
  75. package/build/verify-filled-BfZdE__v.js +12 -0
  76. package/build/verify-zHV40_w6.js +12 -0
  77. package/build/w3m-modal-DkheqxGa.js +1721 -0
  78. package/build/wallet-BTbqWApb.js +12 -0
  79. package/build/wallet-placeholder-B6hnZ20G.js +18 -0
  80. package/build/walletconnect-BgwXLnVI.js +38 -0
  81. package/build/warning-circle-B-OJt-sc.js +16 -0
  82. package/build/x-Dd85BL0v.js +16 -0
  83. package/package.json +2 -2
  84. package/build/index.es-DpbMTIAc.js +0 -62088
package/build/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { Asset } from '@skip-go/client';
2
+ import { Chain } from '@skip-go/client';
2
3
  import { ChainType } from '@skip-go/client';
3
4
  import { default as default_2 } from 'react';
4
5
  import { MessagesRequest } from '@skip-go/client';
@@ -9,6 +10,18 @@ import { SignerGetters } from '@skip-go/client';
9
10
  import { SkipClientOptions } from '@skip-go/client';
10
11
  import { WalletConnectModalConfig } from '@walletconnect/modal';
11
12
 
13
+ declare type AssetDetailsProps = {
14
+ asset?: ClientAsset;
15
+ chain?: Chain;
16
+ symbol?: string;
17
+ assetImage?: string;
18
+ chainName?: string;
19
+ chainImage?: string;
20
+ amount?: string;
21
+ tokenAmount?: string;
22
+ decimals?: number;
23
+ };
24
+
12
25
  declare type Callbacks = {
13
26
  onWalletConnected?: (props: onWalletConnectedProps) => void;
14
27
  onWalletDisconnected?: (props: onWalletDisconnectedProps) => void;
@@ -66,6 +79,7 @@ export declare const defaultTheme: {
66
79
  };
67
80
  };
68
81
  success: {
82
+ background: string;
69
83
  text: string;
70
84
  };
71
85
  warning: {
@@ -103,6 +117,7 @@ export declare const lightTheme: {
103
117
  };
104
118
  };
105
119
  success: {
120
+ background: string;
106
121
  text: string;
107
122
  };
108
123
  warning: {
@@ -235,6 +250,7 @@ export declare type Theme = {
235
250
  };
236
251
  };
237
252
  success: {
253
+ background: string;
238
254
  text: string;
239
255
  };
240
256
  warning: {
@@ -247,6 +263,29 @@ export declare type Theme = {
247
263
  };
248
264
  };
249
265
 
266
+ /**
267
+ * @param {string} [params.assetDenom] - The denomination of the asset to retrieve details for
268
+ * @param {string} [params.amount] - The human-readable amount amount of the asset
269
+ * @param {string} [params.tokenAmount] - The token/raw amount of the asset
270
+ * @param {string} [params.chainId] - The id of the chain associated with the asset
271
+ *
272
+ * @returns {AssetDetails} An object containing the following properties:
273
+ * - `asset` The asset object corresponding to the provided denomination
274
+ * - `chain` The chain object associated with the provided chain id
275
+ * - `symbol` The symbol of the asset, derived from the asset object
276
+ * - `assetImage` The asset image url derived from the asset object
277
+ * - `chainName` The name of the chain, derived from the chain object
278
+ * - `chainImage` The chain image url, derived from the chain object
279
+ * - `amount` The human-readable amount of the asset
280
+ * - `tokenAmount` The token/raw amount of the asset
281
+ */
282
+ export declare const useGetAssetDetails: ({ assetDenom, amount, tokenAmount, chainId, }: {
283
+ assetDenom?: string;
284
+ amount?: string;
285
+ tokenAmount?: string;
286
+ chainId?: string;
287
+ }) => AssetDetailsProps;
288
+
250
289
  declare type WalletConnect = {
251
290
  options: Pick<SignClientTypes.Options, "projectId" | "name"> | null;
252
291
  walletConnectModal?: Pick<WalletConnectModalConfig, "themeVariables" | "themeMode" | "privacyPolicyUrl" | "termsOfServiceUrl"> | null;