thirdweb 5.110.1 → 5.110.2-nightly-630edadcec2c777cfd4bfef4871aff396e98291e-20251024000336

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 (73) hide show
  1. package/dist/cjs/contract/deployment/utils/create-2-factory.js +1 -0
  2. package/dist/cjs/contract/deployment/utils/create-2-factory.js.map +1 -1
  3. package/dist/cjs/react/core/design-system/index.js +68 -68
  4. package/dist/cjs/react/core/design-system/index.js.map +1 -1
  5. package/dist/cjs/react/web/ui/Bridge/payment-selection/FiatProviderSelection.js +2 -4
  6. package/dist/cjs/react/web/ui/Bridge/payment-selection/FiatProviderSelection.js.map +1 -1
  7. package/dist/cjs/react/web/ui/Bridge/payment-selection/PaymentSelection.js +1 -1
  8. package/dist/cjs/react/web/ui/Bridge/payment-selection/PaymentSelection.js.map +1 -1
  9. package/dist/cjs/react/web/ui/Bridge/payment-selection/TokenSelection.js +25 -22
  10. package/dist/cjs/react/web/ui/Bridge/payment-selection/TokenSelection.js.map +1 -1
  11. package/dist/cjs/react/web/ui/Bridge/payment-selection/WalletFiatSelection.js +22 -30
  12. package/dist/cjs/react/web/ui/Bridge/payment-selection/WalletFiatSelection.js.map +1 -1
  13. package/dist/cjs/react/web/ui/ConnectWallet/WalletEntryButton.js +1 -1
  14. package/dist/cjs/react/web/ui/ConnectWallet/WalletSelector.js +2 -2
  15. package/dist/cjs/react/web/ui/ConnectWallet/WalletSelector.js.map +1 -1
  16. package/dist/cjs/react/web/ui/ConnectWallet/screens/ReceiveFunds.js +1 -1
  17. package/dist/cjs/react/web/ui/ConnectWallet/screens/ReceiveFunds.js.map +1 -1
  18. package/dist/cjs/react/web/ui/components/modalElements.js +2 -1
  19. package/dist/cjs/react/web/ui/components/modalElements.js.map +1 -1
  20. package/dist/cjs/react/web/wallets/shared/ConnectingScreen.js +1 -1
  21. package/dist/cjs/stories/theme.stories.js +59 -0
  22. package/dist/cjs/stories/theme.stories.js.map +1 -0
  23. package/dist/cjs/version.js +1 -1
  24. package/dist/cjs/version.js.map +1 -1
  25. package/dist/esm/contract/deployment/utils/create-2-factory.js +1 -0
  26. package/dist/esm/contract/deployment/utils/create-2-factory.js.map +1 -1
  27. package/dist/esm/react/core/design-system/index.js +68 -68
  28. package/dist/esm/react/core/design-system/index.js.map +1 -1
  29. package/dist/esm/react/web/ui/Bridge/payment-selection/FiatProviderSelection.js +2 -4
  30. package/dist/esm/react/web/ui/Bridge/payment-selection/FiatProviderSelection.js.map +1 -1
  31. package/dist/esm/react/web/ui/Bridge/payment-selection/PaymentSelection.js +1 -1
  32. package/dist/esm/react/web/ui/Bridge/payment-selection/PaymentSelection.js.map +1 -1
  33. package/dist/esm/react/web/ui/Bridge/payment-selection/TokenSelection.js +26 -23
  34. package/dist/esm/react/web/ui/Bridge/payment-selection/TokenSelection.js.map +1 -1
  35. package/dist/esm/react/web/ui/Bridge/payment-selection/WalletFiatSelection.js +24 -32
  36. package/dist/esm/react/web/ui/Bridge/payment-selection/WalletFiatSelection.js.map +1 -1
  37. package/dist/esm/react/web/ui/ConnectWallet/WalletEntryButton.js +1 -1
  38. package/dist/esm/react/web/ui/ConnectWallet/WalletSelector.js +2 -2
  39. package/dist/esm/react/web/ui/ConnectWallet/WalletSelector.js.map +1 -1
  40. package/dist/esm/react/web/ui/ConnectWallet/screens/ReceiveFunds.js +1 -1
  41. package/dist/esm/react/web/ui/ConnectWallet/screens/ReceiveFunds.js.map +1 -1
  42. package/dist/esm/react/web/ui/components/modalElements.js +2 -1
  43. package/dist/esm/react/web/ui/components/modalElements.js.map +1 -1
  44. package/dist/esm/react/web/wallets/shared/ConnectingScreen.js +1 -1
  45. package/dist/esm/stories/theme.stories.js +55 -0
  46. package/dist/esm/stories/theme.stories.js.map +1 -0
  47. package/dist/esm/version.js +1 -1
  48. package/dist/esm/version.js.map +1 -1
  49. package/dist/scripts/bridge-widget.js +78 -78
  50. package/dist/types/react/core/design-system/index.d.ts.map +1 -1
  51. package/dist/types/react/web/ui/Bridge/payment-selection/FiatProviderSelection.d.ts.map +1 -1
  52. package/dist/types/react/web/ui/Bridge/payment-selection/TokenSelection.d.ts.map +1 -1
  53. package/dist/types/react/web/ui/Bridge/payment-selection/WalletFiatSelection.d.ts.map +1 -1
  54. package/dist/types/react/web/ui/ConnectWallet/screens/ReceiveFunds.d.ts.map +1 -1
  55. package/dist/types/react/web/ui/components/modalElements.d.ts.map +1 -1
  56. package/dist/types/stories/theme.stories.d.ts +6 -0
  57. package/dist/types/stories/theme.stories.d.ts.map +1 -0
  58. package/dist/types/version.d.ts +1 -1
  59. package/dist/types/version.d.ts.map +1 -1
  60. package/package.json +1 -1
  61. package/src/contract/deployment/utils/create-2-factory.ts +1 -0
  62. package/src/react/core/design-system/index.ts +70 -102
  63. package/src/react/web/ui/Bridge/payment-selection/FiatProviderSelection.tsx +2 -5
  64. package/src/react/web/ui/Bridge/payment-selection/PaymentSelection.tsx +1 -1
  65. package/src/react/web/ui/Bridge/payment-selection/TokenSelection.tsx +85 -89
  66. package/src/react/web/ui/Bridge/payment-selection/WalletFiatSelection.tsx +67 -100
  67. package/src/react/web/ui/ConnectWallet/WalletEntryButton.tsx +1 -1
  68. package/src/react/web/ui/ConnectWallet/WalletSelector.tsx +2 -2
  69. package/src/react/web/ui/ConnectWallet/screens/ReceiveFunds.tsx +3 -2
  70. package/src/react/web/ui/components/modalElements.tsx +2 -1
  71. package/src/react/web/wallets/shared/ConnectingScreen.tsx +1 -1
  72. package/src/stories/theme.stories.tsx +165 -0
  73. package/src/version.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/react/core/design-system/index.ts"],"names":[],"mappings":"AA6CA;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG;IAClB,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IACvB,MAAM,EAAE;QACN,WAAW,EAAE,MAAM,CAAC;QACpB,aAAa,EAAE,MAAM,CAAC;QACtB,U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AAE,MAAM,CAAC;QAC3B,oBAAoB,EAAE,MAAM,CAAC;QAC7B,uBAAuB,EAAE,MAAM,CAAC;QAEhC,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC;QAEnB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,cAAc,EAAE,MAAM,CAAC;QAEvB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,sBAAsB,EAAE,MAAM,CAAC;KAChC,CAAC;IACF,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAkC1B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAkC3B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;KAC1B,GAAG,IAAI,OAAO,CAAC,MAAM,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;CAC5D,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;CAQpB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;CAQlB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;CAUpB,CAAC;AAGF,eAAO,MAAM,KAAK;;CAEjB,CAAC;AAGF,eAAO,MAAM,MAAM;;;;;CAKlB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,UAAU,CAAC,SAAS,CAAC,EAAE,cAAc,GAAG,KAAK,CAK5D;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,SAAS,CAAC,SAAS,CAAC,EAAE,cAAc,GAAG,KAAK,CAK3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"FiatProviderSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/web/ui/Bridge/payment-selection/FiatProviderSelection.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAmBhF,UAAU,0BAA0B;IAClC,MAAM,EAAE,cAAc,CAAC;IACvB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,UAAU,GAAG,QAAQ,GAAG,SAAS,KAAK,IAAI,CAAC;IAC1E,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B;AAuBD,wBAAgB,qBAAqB,CAAC,EACpC,kBAAkB,EAClB,MAAM,EACN,SAAS,EACT,cAAc,EACd,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,OAAO,GACR,EAAE,0BAA0B,2CAmJ5B"}
1
+ {"version":3,"file":"FiatProviderSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/web/ui/Bridge/payment-selection/FiatProviderSelection.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAkBhF,UAAU,0BAA0B;IAClC,MAAM,EAAE,cAAc,CAAC;IACvB,kBAAkB,EAAE,CAAC,QAAQ,EAAE,UAAU,GAAG,QAAQ,GAAG,SAAS,KAAK,IAAI,CAAC;IAC1E,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,qBAAqB,CAAC;IACjC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B;AAuBD,wBAAgB,qBAAqB,CAAC,EACpC,kBAAkB,EAClB,MAAM,EACN,SAAS,EACT,cAAc,EACd,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,OAAO,GACR,EAAE,0BAA0B,2CAiJ5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"TokenSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/web/ui/Bridge/payment-selection/TokenSelection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAahF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,UAAU,mBAAmB;IAC3B,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,MAAM,EAAE,cAAc,CAAC;IACvB,uBAAuB,EAAE,CAAC,aAAa,EAAE,aAAa,KAAK,IAAI,CAAC;IAChE,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,gBAAgB,EAAE,KAAK,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IACjC,QAAQ,CAAC,EAAE,qBAAqB,CAAC;CAClC;AA6FD,wBAAgB,cAAc,CAAC,EAC7B,cAAc,EACd,qBAAqB,EACrB,MAAM,EACN,uBAAuB,EACvB,MAAM,EACN,gBAAgB,EAChB,iBAAiB,EACjB,QAAQ,EACR,QAAQ,GACT,EAAE,mBAAmB,2CA2HrB"}
1
+ {"version":3,"file":"TokenSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/web/ui/Bridge/payment-selection/TokenSelection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAahF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,UAAU,mBAAmB;IAC3B,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,MAAM,EAAE,cAAc,CAAC;IACvB,uBAAuB,EAAE,CAAC,aAAa,EAAE,aAAa,KAAK,IAAI,CAAC;IAChE,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,gBAAgB,EAAE,KAAK,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IACjC,QAAQ,CAAC,EAAE,qBAAqB,CAAC;CAClC;AA2FD,wBAAgB,cAAc,CAAC,EAC7B,cAAc,EACd,qBAAqB,EACrB,MAAM,EACN,uBAAuB,EACvB,MAAM,EACN,gBAAgB,EAChB,iBAAiB,EACjB,QAAQ,EACR,QAAQ,GACT,EAAE,mBAAmB,2CAyHrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"WalletFiatSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/web/ui/Bridge/payment-selection/WalletFiatSelection.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6CAA6C,CAAC;AAc1E,UAAU,wBAAwB;IAChC,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,MAAM,EAAE,cAAc,CAAC;IACvB,gBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,CAAC,QAAQ,GAAG,MAAM,CAAC,EAAE,CAAC;CACxC;AAED,wBAAgB,mBAAmB,CAAC,EAClC,gBAAgB,EAChB,MAAM,EACN,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,cAAmC,GACpC,EAAE,wBAAwB,2CAwJ1B"}
1
+ {"version":3,"file":"WalletFiatSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/web/ui/Bridge/payment-selection/WalletFiatSelection.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6CAA6C,CAAC;AAa1E,UAAU,wBAAwB;IAChC,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,MAAM,EAAE,cAAc,CAAC;IACvB,gBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,CAAC,QAAQ,GAAG,MAAM,CAAC,EAAE,CAAC;CACxC;AAED,wBAAgB,mBAAmB,CAAC,EAClC,gBAAgB,EAChB,MAAM,EACN,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,cAAmC,GACpC,EAAE,wBAAwB,2CAwH1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReceiveFunds.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/web/ui/ConnectWallet/screens/ReceiveFunds.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAiBvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE;IAClC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,aAAa,EAAE,aAAa,CAAC;IAC7B,MAAM,EAAE,cAAc,CAAC;CACxB,2CAwDA"}
1
+ {"version":3,"file":"ReceiveFunds.d.ts","sourceRoot":"","sources":["../../../../../../../src/react/web/ui/ConnectWallet/screens/ReceiveFunds.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAiBvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE;IAClC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,aAAa,EAAE,aAAa,CAAC;IAC7B,MAAM,EAAE,cAAc,CAAC;CACxB,2CAyDA"}
@@ -1 +1 @@
1
- {"version":3,"file":"modalElements.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/modalElements.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU;;;iHAUrB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAWA,CAAC"}
1
+ {"version":3,"file":"modalElements.d.ts","sourceRoot":"","sources":["../../../../../../src/react/web/ui/components/modalElements.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU;;;iHAWrB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAWA,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { Meta } from "@storybook/react-vite";
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ export declare function Dark(): import("react/jsx-runtime").JSX.Element;
5
+ export declare function Light(): import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=theme.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/theme.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAQlD,QAAA,MAAM,IAAI,EAAE,IAEX,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,wBAAgB,IAAI,4CAEnB;AAED,wBAAgB,KAAK,4CAEpB"}
@@ -1,2 +1,2 @@
1
- export declare const version = "5.110.1";
1
+ export declare const version = "5.110.2-nightly-630edadcec2c777cfd4bfef4871aff396e98291e-20251024000336";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,YAAY,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,4EAA4E,CAAC"}
package/package.json CHANGED
@@ -399,7 +399,7 @@
399
399
  }
400
400
  },
401
401
  "typings": "./dist/types/exports/thirdweb.d.ts",
402
- "version": "5.110.1",
402
+ "version": "5.110.2-nightly-630edadcec2c777cfd4bfef4871aff396e98291e-20251024000336",
403
403
  "scripts": {
404
404
  "bench": "vitest -c ./test/vitest.config.ts bench",
405
405
  "bench:compare": "bun run ./benchmarks/run.ts",
@@ -321,6 +321,7 @@ const CUSTOM_GAS_FOR_CHAIN: Record<string, CustomChain> = {
321
321
 
322
322
  const FACTORIES: Record<string, string> = {
323
323
  "88888": "0xc501b9abf5540de1dd24f66633b1ecf35ff7101f",
324
+ "267": "0x4e59b44847b379578588920cA78FbF26c0B4956C",
324
325
  "420120000": COMMON_FACTORY_ADDRESS,
325
326
  "420120001": COMMON_FACTORY_ADDRESS, // EIP155 is enforced, but the check fails, hence we hardcode the address here instead of computing dynamically
326
327
  };
@@ -1,48 +1,3 @@
1
- type ThemeColors = {
2
- base1: string;
3
- base2: string;
4
- base3: string;
5
- base4: string;
6
- primaryText: string;
7
- secondaryText: string;
8
- danger: string;
9
- success: string;
10
- overlay: string;
11
- accentText: string;
12
- accentBg: string;
13
- textOnAccent: string;
14
- };
15
-
16
- const darkColors = {
17
- accentBg: "hsl(216 100% 50%)",
18
- accentText: "#3385FF",
19
- base1: "hsl(230 11.63% 8.43%)",
20
- base2: "hsl(230 11.63% 12%)",
21
- base3: "hsl(230 11.63% 15%)",
22
- base4: "hsl(230 11.63% 17%)",
23
- danger: "#e5484D",
24
- overlay: "rgba(0, 0, 0, 0.7)",
25
- primaryText: "#eeeef0",
26
- secondaryText: "#7c7a85",
27
- success: "#30A46C",
28
- textOnAccent: "#eeeef0",
29
- } as const satisfies ThemeColors;
30
-
31
- const lightColors = {
32
- accentBg: "hsl(216 100% 50%)",
33
- accentText: "#3385FF",
34
- base1: "#fdfcfd",
35
- base2: "#f2eff3",
36
- base3: "#e3dfe6",
37
- base4: "#dbd8e0",
38
- danger: "#e5484D",
39
- overlay: "rgba(0, 0, 0, 0.7)",
40
- primaryText: "#211f26",
41
- secondaryText: "#6f6d78",
42
- success: "#30A46C",
43
- textOnAccent: "#fdfcfd",
44
- } as const satisfies ThemeColors;
45
-
46
1
  /**
47
2
  * @theme
48
3
  */
@@ -95,64 +50,77 @@ export type Theme = {
95
50
  fontFamily: string;
96
51
  };
97
52
 
98
- /**
99
- * @internal
100
- */
101
- function createThemeObj(type: "dark" | "light", colors: ThemeColors): Theme {
102
- return {
103
- colors: {
104
- accentButtonBg: colors.accentBg,
105
- accentButtonText: colors.textOnAccent,
106
- accentText: colors.accentText,
107
-
108
- borderColor: colors.base4,
109
-
110
- connectedButtonBg: colors.base1,
111
- connectedButtonBgHover: colors.base2,
112
-
113
- danger: colors.danger,
114
-
115
- inputAutofillBg: colors.base1,
116
-
117
- modalBg: colors.base1,
118
-
119
- modalOverlayBg: colors.overlay,
120
-
121
- primaryButtonBg: colors.primaryText,
122
- primaryButtonText: colors.base1,
123
- primaryText: colors.primaryText,
124
- scrollbarBg: colors.base2,
125
-
126
- secondaryButtonBg: colors.base3,
127
- secondaryButtonHoverBg: colors.base4,
128
- secondaryButtonText: colors.primaryText,
129
-
130
- secondaryIconColor: colors.secondaryText,
131
- secondaryIconHoverBg: colors.base3,
132
- secondaryIconHoverColor: colors.primaryText,
133
- secondaryText: colors.secondaryText,
134
- selectedTextBg: colors.primaryText,
135
-
136
- selectedTextColor: colors.base1,
137
-
138
- separatorLine: colors.base4,
139
- skeletonBg: colors.base4,
140
- success: colors.success,
141
- tertiaryBg: colors.base2,
142
-
143
- tooltipBg: colors.primaryText,
144
- tooltipText: colors.base1,
145
- },
146
- fontFamily: "inherit",
147
- type,
148
- };
149
- }
53
+ export const darkThemeObj: Theme = {
54
+ type: "dark",
55
+ colors: {
56
+ accentButtonBg: "hsl(221 83% 54%)",
57
+ accentButtonText: "hsl(0 0% 100%)",
58
+ accentText: "hsl(209.61deg 100% 65.31%)",
59
+ borderColor: "hsl(0 0% 15%)",
60
+ connectedButtonBg: "hsl(0 0% 3.92%)",
61
+ connectedButtonBgHover: "hsl(0 0% 11%)",
62
+ danger: "hsl(360 72% 55%)",
63
+ inputAutofillBg: "hsl(0 0% 11%)",
64
+ modalBg: "hsl(0 0% 3.92%)",
65
+ primaryButtonBg: "hsl(0 0% 100%)",
66
+ primaryButtonText: "hsl(0 0% 0%)",
67
+ primaryText: "hsl(0 0% 98%)",
68
+ scrollbarBg: "hsl(0 0% 11%)",
69
+ secondaryButtonBg: "hsl(0 0% 9%)",
70
+ modalOverlayBg: "rgba(0, 0, 0, 0.7)",
71
+ secondaryButtonHoverBg: "hsl(0 0% 9%/80%)",
72
+ secondaryButtonText: "hsl(0 0% 98%)",
73
+ secondaryIconColor: "hsl(0 0% 63%)",
74
+ secondaryIconHoverBg: "hsl(0 0% 11%)",
75
+ secondaryIconHoverColor: "hsl(0 0% 98%)",
76
+ secondaryText: "hsl(0 0% 63%)",
77
+ selectedTextBg: "hsl(0 0% 100%)",
78
+ selectedTextColor: "hsl(0 0% 0%)",
79
+ separatorLine: "hsl(0 0% 15%)",
80
+ skeletonBg: "hsl(0 0% 12%)",
81
+ success: "hsl(142 75% 50%)",
82
+ tertiaryBg: "hsl(0 0% 11%/50%)",
83
+ tooltipBg: "hsl(0 0% 11%)",
84
+ tooltipText: "hsl(0 0% 98%)",
85
+ },
86
+ fontFamily: "inherit",
87
+ };
150
88
 
151
- export const darkThemeObj = /* @__PURE__ */ createThemeObj("dark", darkColors);
152
- export const lightThemeObj = /* @__PURE__ */ createThemeObj(
153
- "light",
154
- lightColors,
155
- );
89
+ export const lightThemeObj: Theme = {
90
+ type: "light",
91
+ colors: {
92
+ accentButtonBg: "hsl(221 83% 54%)",
93
+ accentButtonText: "hsl(0 0% 100%)",
94
+ accentText: "hsl(211.23deg 100% 44.47%)",
95
+ borderColor: "hsl(0 0% 85%)",
96
+ connectedButtonBg: "hsl(0 0% 100%)",
97
+ connectedButtonBgHover: "hsl(0 0% 93%)",
98
+ danger: "hsl(360 72% 60%)",
99
+ inputAutofillBg: "hsl(0 0% 93%)",
100
+ modalBg: "hsl(0 0% 100%)",
101
+ primaryButtonBg: "hsl(0 0% 4%)",
102
+ primaryButtonText: "hsl(0 0% 100%)",
103
+ primaryText: "hsl(0 0% 4%)",
104
+ scrollbarBg: "hsl(0 0% 93%)",
105
+ secondaryButtonBg: "hsl(0 0% 93%)",
106
+ modalOverlayBg: "rgba(0, 0, 0, 0.7)",
107
+ secondaryButtonHoverBg: "hsl(0 0% 93%/80%)",
108
+ secondaryButtonText: "hsl(0 0% 4%)",
109
+ secondaryIconColor: "hsl(0 0% 40%)",
110
+ secondaryIconHoverBg: "hsl(0 0% 93%)",
111
+ secondaryIconHoverColor: "hsl(0 0% 4%)",
112
+ secondaryText: "hsl(0 0% 40%)",
113
+ selectedTextBg: "hsl(0 0% 4%)",
114
+ selectedTextColor: "hsl(0 0% 100%)",
115
+ separatorLine: "hsl(0 0% 85%)",
116
+ skeletonBg: "hsl(0 0% 85%)",
117
+ success: "hsl(142.09 70.56% 35.29%)",
118
+ tertiaryBg: "hsl(0 0% 93%/70%)",
119
+ tooltipBg: "hsl(0 0% 100%)",
120
+ tooltipText: "hsl(0 0% 4%)",
121
+ },
122
+ fontFamily: "inherit",
123
+ };
156
124
 
157
125
  /**
158
126
  * @theme
@@ -5,7 +5,6 @@ import type { SupportedFiatCurrency } from "../../../../../pay/convert/type.js";
5
5
  import { checksumAddress } from "../../../../../utils/address.js";
6
6
  import { formatNumber } from "../../../../../utils/formatNumber.js";
7
7
  import { toTokens } from "../../../../../utils/units.js";
8
- import { useCustomTheme } from "../../../../core/design-system/CustomThemeProvider.js";
9
8
  import {
10
9
  iconSize,
11
10
  radius,
@@ -62,8 +61,6 @@ export function FiatProviderSelection({
62
61
  currency,
63
62
  country,
64
63
  }: FiatProviderSelectionProps) {
65
- const theme = useCustomTheme();
66
-
67
64
  // Fetch quotes for all providers
68
65
  const quoteQueries = useBuyWithFiatQuotesForProviders({
69
66
  amount: toAmount || "0",
@@ -122,9 +119,9 @@ export function FiatProviderSelection({
122
119
  fullWidth
123
120
  onClick={() => onProviderSelected(provider.id)}
124
121
  style={{
125
- border: `1px solid ${theme.colors.borderColor}`,
126
- borderRadius: radius.md,
122
+ borderRadius: radius.lg,
127
123
  textAlign: "left",
124
+ padding: `${spacing.md}`,
128
125
  }}
129
126
  variant="secondary"
130
127
  >
@@ -269,7 +269,7 @@ export function PaymentSelection({
269
269
  }
270
270
 
271
271
  return (
272
- <Container flex="column" px="md" pb="md" pt="md+">
272
+ <Container flex="column" px="md" pt="md+">
273
273
  <ModalHeader onBack={getBackHandler()} title={getStepTitle()} />
274
274
  <Spacer y="lg" />
275
275
 
@@ -61,10 +61,8 @@ function PaymentMethodTokenRow({
61
61
  onClick={() => onPaymentMethodSelected(paymentMethod)}
62
62
  style={{
63
63
  backgroundColor: theme.colors.tertiaryBg,
64
- border: `1px solid ${theme.colors.borderColor}`,
65
- borderRadius: radius.md,
66
- opacity: hasEnoughBalance ? 1 : 0.5,
67
- padding: `${spacing.sm} ${spacing.md}`,
64
+ borderRadius: radius.lg,
65
+ padding: `${spacing.md} ${spacing.md}`,
68
66
  textAlign: "left",
69
67
  }}
70
68
  variant="secondary"
@@ -134,71 +132,74 @@ export function TokenSelection({
134
132
 
135
133
  if (paymentMethodsLoading) {
136
134
  return (
137
- <>
138
- <Text color="primaryText" size="md">
139
- Loading your tokens
140
- </Text>
141
- <Spacer y="sm" />
142
- <Container flex="column" gap="sm">
143
- {/* Skeleton rows matching PaymentMethodTokenRow structure */}
144
- {[1, 2, 3].map((i) => (
135
+ <Container
136
+ flex="column"
137
+ gap="xs"
138
+ pb="lg"
139
+ style={{
140
+ maxHeight: "400px",
141
+ overflowY: "auto",
142
+ scrollbarWidth: "none",
143
+ }}
144
+ >
145
+ {/* Skeleton rows matching PaymentMethodTokenRow structure */}
146
+ {new Array(10).fill(0).map((_, i) => (
147
+ <Container
148
+ // biome-ignore lint/suspicious/noArrayIndexKey: ok
149
+ key={i}
150
+ style={{
151
+ backgroundColor: theme.colors.tertiaryBg,
152
+ borderRadius: radius.lg,
153
+ padding: `${spacing.md} ${spacing.md}`,
154
+ }}
155
+ >
145
156
  <Container
146
- key={i}
147
- style={{
148
- backgroundColor: theme.colors.tertiaryBg,
149
- border: `1px solid ${theme.colors.borderColor}`,
150
- borderRadius: radius.md,
151
- padding: `${spacing.sm} ${spacing.md}`,
152
- }}
157
+ flex="row"
158
+ gap="md"
159
+ style={{ alignItems: "center", width: "100%" }}
153
160
  >
161
+ {/* Left side: Token icon and name skeleton */}
154
162
  <Container
163
+ center="y"
155
164
  flex="row"
156
- gap="md"
157
- style={{ alignItems: "center", width: "100%" }}
165
+ gap="sm"
166
+ style={{ maxWidth: "50%" }}
158
167
  >
159
- {/* Left side: Token icon and name skeleton */}
160
- <Container
161
- center="y"
162
- flex="row"
163
- gap="sm"
164
- style={{ maxWidth: "50%" }}
165
- >
166
- {/* Token icon skeleton */}
167
- <div
168
- style={{
169
- backgroundColor: theme.colors.skeletonBg,
170
- borderRadius: "50%",
171
- height: "32px",
172
- width: "32px",
173
- }}
174
- />
175
- <Container flex="column" gap="3xs">
176
- {/* Token name skeleton */}
177
- <Skeleton height="14px" width="60px" />
178
- {/* Chain name skeleton */}
179
- <Skeleton height="12px" width="40px" />
180
- </Container>
168
+ {/* Token icon skeleton */}
169
+ <div
170
+ style={{
171
+ backgroundColor: theme.colors.skeletonBg,
172
+ borderRadius: "50%",
173
+ height: "32px",
174
+ width: "32px",
175
+ }}
176
+ />
177
+ <Container flex="column" gap="3xs">
178
+ {/* Token name skeleton */}
179
+ <Skeleton height="14px" width="60px" />
180
+ {/* Chain name skeleton */}
181
+ <Skeleton height="12px" width="40px" />
181
182
  </Container>
183
+ </Container>
182
184
 
183
- {/* Right side: Price and balance skeleton */}
184
- <Container
185
- flex="column"
186
- gap="3xs"
187
- style={{ alignItems: "flex-end", flex: 1 }}
188
- >
189
- {/* Price amount skeleton */}
190
- <Skeleton height="16px" width="80px" />
191
- {/* Balance skeleton */}
192
- <Container flex="row" gap="3xs">
193
- <Skeleton height="12px" width="50px" />
194
- <Skeleton height="12px" width="40px" />
195
- </Container>
185
+ {/* Right side: Price and balance skeleton */}
186
+ <Container
187
+ flex="column"
188
+ gap="3xs"
189
+ style={{ alignItems: "flex-end", flex: 1 }}
190
+ >
191
+ {/* Price amount skeleton */}
192
+ <Skeleton height="16px" width="80px" />
193
+ {/* Balance skeleton */}
194
+ <Container flex="row" gap="3xs">
195
+ <Skeleton height="12px" width="50px" />
196
+ <Skeleton height="12px" width="40px" />
196
197
  </Container>
197
198
  </Container>
198
199
  </Container>
199
- ))}
200
- </Container>
201
- </>
200
+ </Container>
201
+ ))}
202
+ </Container>
202
203
  );
203
204
  }
204
205
 
@@ -221,35 +222,30 @@ export function TokenSelection({
221
222
  }
222
223
 
223
224
  return (
224
- <>
225
- <Text color="primaryText" size="md">
226
- Your token balances
227
- </Text>
228
- <Spacer y="sm" />
229
- <Container
230
- flex="column"
231
- gap="sm"
232
- style={{
233
- maxHeight: "400px",
234
- overflowY: "auto",
235
- scrollbarWidth: "none",
236
- }}
237
- >
238
- {paymentMethods
239
- .filter((method) => method.type === "wallet")
240
- .map((method) => (
241
- <PaymentMethodTokenRow
242
- client={client}
243
- destinationAmount={destinationAmount}
244
- destinationToken={destinationToken}
245
- feePayer={feePayer}
246
- key={`${method.originToken.address}-${method.originToken.chainId}`}
247
- onPaymentMethodSelected={onPaymentMethodSelected}
248
- paymentMethod={method}
249
- currency={currency}
250
- />
251
- ))}
252
- </Container>
253
- </>
225
+ <Container
226
+ flex="column"
227
+ gap="xs"
228
+ pb="lg"
229
+ style={{
230
+ maxHeight: "400px",
231
+ overflowY: "auto",
232
+ scrollbarWidth: "none",
233
+ }}
234
+ >
235
+ {paymentMethods
236
+ .filter((method) => method.type === "wallet")
237
+ .map((method) => (
238
+ <PaymentMethodTokenRow
239
+ client={client}
240
+ destinationAmount={destinationAmount}
241
+ destinationToken={destinationToken}
242
+ feePayer={feePayer}
243
+ key={`${method.originToken.address}-${method.originToken.chainId}`}
244
+ onPaymentMethodSelected={onPaymentMethodSelected}
245
+ paymentMethod={method}
246
+ currency={currency}
247
+ />
248
+ ))}
249
+ </Container>
254
250
  );
255
251
  }