@blockscout/ui-toolkit 0.0.1-alpha.1 → 0.0.1-alpha.3

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 (376) hide show
  1. package/README.md +5 -0
  2. package/dist/chakra/accordion.d.ts +1 -1
  3. package/dist/chakra/drawer.d.ts +1 -1
  4. package/dist/chakra/popover.d.ts +1 -2
  5. package/dist/chakra/select.d.ts +4 -1
  6. package/dist/components/AdaptiveTabs/index.d.ts +3 -0
  7. package/dist/components/Hint/Hint.d.ts +11 -0
  8. package/dist/components/RoutedTabs/index.d.ts +3 -0
  9. package/dist/components/buttons/BackToButton.d.ts +7 -0
  10. package/dist/components/buttons/ClearButton.d.ts +6 -0
  11. package/dist/components/{Filter → filters}/FilterInput.d.ts +2 -3
  12. package/dist/components/forms/components/FormFieldError.d.ts +7 -0
  13. package/dist/components/forms/components/index.d.ts +1 -0
  14. package/dist/components/forms/fields/FormFieldAddress.d.ts +5 -0
  15. package/dist/components/forms/fields/FormFieldCheckbox.d.ts +9 -0
  16. package/dist/components/forms/fields/FormFieldColor.d.ts +9 -0
  17. package/dist/components/forms/fields/FormFieldEmail.d.ts +5 -0
  18. package/dist/components/forms/fields/FormFieldSelect.d.ts +7 -0
  19. package/dist/components/forms/fields/FormFieldSelectAsync.d.ts +7 -0
  20. package/dist/components/forms/fields/FormFieldText.d.ts +8 -0
  21. package/dist/components/forms/fields/FormFieldUrl.d.ts +4 -0
  22. package/dist/components/forms/fields/image/FormFieldImagePreview.d.ts +13 -0
  23. package/dist/components/forms/fields/image/useImageField.d.ts +25 -0
  24. package/dist/components/forms/fields/index.d.ts +10 -0
  25. package/dist/components/forms/fields/types.d.ts +19 -0
  26. package/dist/components/forms/inputs/file/DragAndDropArea.d.ts +11 -0
  27. package/dist/components/forms/inputs/file/FileInput.d.ts +13 -0
  28. package/dist/components/forms/inputs/file/FileSnippet.d.ts +11 -0
  29. package/dist/components/forms/inputs/file/utils.d.ts +2 -0
  30. package/dist/components/forms/inputs/index.d.ts +3 -0
  31. package/dist/components/forms/utils/getFormFieldErrorText.d.ts +2 -0
  32. package/dist/components/forms/utils/index.d.ts +1 -0
  33. package/dist/components/forms/validators/address.d.ts +3 -0
  34. package/dist/components/forms/validators/color.d.ts +2 -0
  35. package/dist/components/forms/validators/email.d.ts +2 -0
  36. package/dist/components/forms/validators/index.d.ts +7 -0
  37. package/dist/components/forms/validators/signature.d.ts +1 -0
  38. package/dist/components/forms/validators/text.d.ts +1 -0
  39. package/dist/components/forms/validators/transaction.d.ts +2 -0
  40. package/dist/components/forms/validators/url.d.ts +3 -0
  41. package/dist/components/truncation/TruncatedTextTooltip.d.ts +8 -0
  42. package/dist/hooks/useClipboard.d.ts +1 -1
  43. package/dist/hooks/useFirstMountState.d.ts +1 -0
  44. package/dist/hooks/useIsSticky.d.ts +2 -0
  45. package/dist/hooks/useUpdateEffect.d.ts +2 -0
  46. package/dist/hooks/useViewportSize.d.ts +1 -1
  47. package/dist/index.d.ts +2 -0
  48. package/dist/index.js +10479 -0
  49. package/dist/package/src/index.d.ts +29 -11
  50. package/dist/theme/recipes/alert.recipe.d.ts +6 -46
  51. package/dist/theme/recipes/badge.recipe.d.ts +11 -44
  52. package/dist/theme/recipes/button.recipe.d.ts +17 -20
  53. package/dist/theme/recipes/close-button.recipe.d.ts +0 -3
  54. package/dist/theme/recipes/dialog.recipe.d.ts +1 -1
  55. package/dist/theme/recipes/drawer.recipe.d.ts +1 -1
  56. package/dist/theme/recipes/index.d.ts +47 -147
  57. package/dist/theme/recipes/link.recipe.d.ts +1 -9
  58. package/dist/theme/recipes/list.recipe.d.ts +1 -1
  59. package/dist/theme/recipes/menu.recipe.d.ts +1 -1
  60. package/dist/theme/recipes/select.recipe.d.ts +1 -1
  61. package/dist/theme/recipes/skeleton.recipe.d.ts +5 -6
  62. package/dist/theme/recipes/table.recipe.d.ts +1 -1
  63. package/dist/theme/recipes/tag.recipe.d.ts +0 -12
  64. package/dist/theme/recipes/toast.recipe.d.ts +1 -1
  65. package/dist/theme/theme.d.ts +1 -0
  66. package/dist/utils/consts.d.ts +15 -0
  67. package/dist/utils/guards.d.ts +2 -0
  68. package/dist/utils/htmlEntities.d.ts +26 -0
  69. package/dist/utils/isBrowser.d.ts +1 -0
  70. package/dist/utils/regexp.d.ts +6 -0
  71. package/dist/utils/url.d.ts +6 -0
  72. package/package.json +17 -28
  73. package/dist/_virtual/Button.js +0 -4
  74. package/dist/_virtual/Element.js +0 -4
  75. package/dist/_virtual/Link.js +0 -4
  76. package/dist/_virtual/_commonjsHelpers.js +0 -4
  77. package/dist/_virtual/animate-scroll.js +0 -4
  78. package/dist/_virtual/cancel-events.js +0 -4
  79. package/dist/_virtual/index.js +0 -5
  80. package/dist/_virtual/index2.js +0 -4
  81. package/dist/_virtual/index3.js +0 -4
  82. package/dist/_virtual/index4.js +0 -4
  83. package/dist/_virtual/jsx-runtime.js +0 -5
  84. package/dist/_virtual/jsx-runtime2.js +0 -4
  85. package/dist/_virtual/passive-event-listeners.js +0 -4
  86. package/dist/_virtual/react-is.development.js +0 -4
  87. package/dist/_virtual/react-is.production.min.js +0 -4
  88. package/dist/_virtual/react-jsx-runtime.development.js +0 -4
  89. package/dist/_virtual/react-jsx-runtime.production.min.js +0 -4
  90. package/dist/_virtual/scroll-element.js +0 -4
  91. package/dist/_virtual/scroll-events.js +0 -4
  92. package/dist/_virtual/scroll-hash.js +0 -4
  93. package/dist/_virtual/scroll-link.js +0 -4
  94. package/dist/_virtual/scroll-spy.js +0 -4
  95. package/dist/_virtual/scroller.js +0 -4
  96. package/dist/_virtual/smooth.js +0 -4
  97. package/dist/_virtual/utils.js +0 -4
  98. package/dist/chakra/accordion.js +0 -61
  99. package/dist/chakra/alert.js +0 -45
  100. package/dist/chakra/avatar.js +0 -36
  101. package/dist/chakra/badge.js +0 -18
  102. package/dist/chakra/button.js +0 -65
  103. package/dist/chakra/checkbox.js +0 -33
  104. package/dist/chakra/close-button.js +0 -13
  105. package/dist/chakra/collapsible.js +0 -58
  106. package/dist/chakra/color-mode.js +0 -35
  107. package/dist/chakra/dialog.js +0 -47
  108. package/dist/chakra/drawer.js +0 -39
  109. package/dist/chakra/field.js +0 -65
  110. package/dist/chakra/heading.js +0 -12
  111. package/dist/chakra/icon-button.js +0 -44
  112. package/dist/chakra/image.js +0 -30
  113. package/dist/chakra/input-group.js +0 -47
  114. package/dist/chakra/input.js +0 -5
  115. package/dist/chakra/link.js +0 -68
  116. package/dist/chakra/menu.js +0 -63
  117. package/dist/chakra/pin-input.js +0 -15
  118. package/dist/chakra/popover.js +0 -69
  119. package/dist/chakra/progress-circle.js +0 -17
  120. package/dist/chakra/provider.js +0 -10
  121. package/dist/chakra/radio.js +0 -17
  122. package/dist/chakra/rating.js +0 -21
  123. package/dist/chakra/select.js +0 -185
  124. package/dist/chakra/skeleton.js +0 -40
  125. package/dist/chakra/slider.js +0 -39
  126. package/dist/chakra/switch.js +0 -19
  127. package/dist/chakra/table.js +0 -66
  128. package/dist/chakra/tabs.js +0 -29
  129. package/dist/chakra/tag.js +0 -51
  130. package/dist/chakra/textarea.js +0 -5
  131. package/dist/chakra/toaster.js +0 -31
  132. package/dist/chakra/tooltip.js +0 -85
  133. package/dist/chakra.d.ts +0 -1
  134. package/dist/chakra.js +0 -155
  135. package/dist/components/ButtonBackTo.d.ts +0 -8
  136. package/dist/components/ButtonBackTo.js +0 -22
  137. package/dist/components/Filter/FilterInput.js +0 -48
  138. package/dist/components/TruncatedTextTooltip.d.ts +0 -9
  139. package/dist/components/TruncatedTextTooltip.js +0 -49
  140. package/dist/components/index.d.ts +0 -1
  141. package/dist/components.d.ts +0 -2
  142. package/dist/components.js +0 -1
  143. package/dist/configs/app/api.js +0 -23
  144. package/dist/configs/app/app.js +0 -19
  145. package/dist/configs/app/chain.js +0 -30
  146. package/dist/configs/app/features/account.js +0 -13
  147. package/dist/configs/app/features/addressMetadata.js +0 -15
  148. package/dist/configs/app/features/addressProfileAPI.js +0 -25
  149. package/dist/configs/app/features/addressVerification.js +0 -17
  150. package/dist/configs/app/features/adsBanner.js +0 -50
  151. package/dist/configs/app/features/adsText.js +0 -16
  152. package/dist/configs/app/features/advancedFilter.js +0 -11
  153. package/dist/configs/app/features/beaconChain.js +0 -15
  154. package/dist/configs/app/features/blockchainInteraction.js +0 -15
  155. package/dist/configs/app/features/bridgedTokens.js +0 -16
  156. package/dist/configs/app/features/celo.js +0 -13
  157. package/dist/configs/app/features/csvExport.js +0 -14
  158. package/dist/configs/app/features/dataAvailability.js +0 -11
  159. package/dist/configs/app/features/deFiDropdown.js +0 -12
  160. package/dist/configs/app/features/easterEggBadge.js +0 -12
  161. package/dist/configs/app/features/externalTxs.js +0 -14
  162. package/dist/configs/app/features/faultProofSystem.js +0 -12
  163. package/dist/configs/app/features/gasTracker.js +0 -17
  164. package/dist/configs/app/features/getGasButton.js +0 -17
  165. package/dist/configs/app/features/googleAnalytics.js +0 -12
  166. package/dist/configs/app/features/graphqlApiDocs.js +0 -12
  167. package/dist/configs/app/features/growthBook.js +0 -12
  168. package/dist/configs/app/features/index.js +0 -92
  169. package/dist/configs/app/features/marketplace.js +0 -46
  170. package/dist/configs/app/features/metasuites.js +0 -11
  171. package/dist/configs/app/features/mixpanel.js +0 -12
  172. package/dist/configs/app/features/mudFramework.js +0 -12
  173. package/dist/configs/app/features/multichainButton.js +0 -18
  174. package/dist/configs/app/features/nameService.js +0 -15
  175. package/dist/configs/app/features/pools.js +0 -15
  176. package/dist/configs/app/features/publicTagsSubmission.js +0 -17
  177. package/dist/configs/app/features/restApiDocs.js +0 -12
  178. package/dist/configs/app/features/rewards.js +0 -17
  179. package/dist/configs/app/features/rollbar.js +0 -20
  180. package/dist/configs/app/features/rollup.js +0 -37
  181. package/dist/configs/app/features/safe.js +0 -23
  182. package/dist/configs/app/features/saveOnGas.js +0 -13
  183. package/dist/configs/app/features/sol2uml.js +0 -16
  184. package/dist/configs/app/features/stats.js +0 -16
  185. package/dist/configs/app/features/suave.js +0 -11
  186. package/dist/configs/app/features/txInterpretation.js +0 -16
  187. package/dist/configs/app/features/userOps.js +0 -11
  188. package/dist/configs/app/features/validators.js +0 -16
  189. package/dist/configs/app/features/verifiedTokens.js +0 -15
  190. package/dist/configs/app/features/web3Wallet.js +0 -24
  191. package/dist/configs/app/features/xStarScore.js +0 -12
  192. package/dist/configs/app/index.js +0 -19
  193. package/dist/configs/app/meta.js +0 -16
  194. package/dist/configs/app/services.js +0 -9
  195. package/dist/configs/app/ui/views/address.js +0 -36
  196. package/dist/configs/app/ui/views/block.js +0 -11
  197. package/dist/configs/app/ui/views/index.js +0 -12
  198. package/dist/configs/app/ui/views/nft.js +0 -10
  199. package/dist/configs/app/ui/views/token.js +0 -7
  200. package/dist/configs/app/ui/views/tx.js +0 -15
  201. package/dist/configs/app/ui.js +0 -128
  202. package/dist/configs/app/utils.js +0 -45
  203. package/dist/hooks/useClipboard.js +0 -27
  204. package/dist/hooks/useDisclosure.js +0 -17
  205. package/dist/hooks/useViewportSize.js +0 -17
  206. package/dist/hooks.d.ts +0 -1
  207. package/dist/hooks.js +0 -8
  208. package/dist/icons/arrows/east-mini.svg.js +0 -4
  209. package/dist/icons/arrows/east.svg.js +0 -4
  210. package/dist/icons/check.svg.js +0 -4
  211. package/dist/icons/close.svg.js +0 -4
  212. package/dist/icons/info_filled.svg.js +0 -4
  213. package/dist/icons/link_external.svg.js +0 -4
  214. package/dist/icons/star_filled.svg.js +0 -4
  215. package/dist/icons/star_outline.svg.js +0 -4
  216. package/dist/lib/consts.js +0 -10
  217. package/dist/lib/hooks/useFirstMountState.js +0 -8
  218. package/dist/lib/hooks/useIsMobile.js +0 -7
  219. package/dist/lib/hooks/useUpdateEffect.js +0 -12
  220. package/dist/lib/html-entities.js +0 -5
  221. package/dist/lib/isBrowser.js +0 -6
  222. package/dist/lib/regexp.js +0 -4
  223. package/dist/lib/settings/colorTheme.js +0 -33
  224. package/dist/lib/stripTrailingSlash.js +0 -4
  225. package/dist/node_modules/@uidotdev/usehooks/index.js +0 -51
  226. package/dist/node_modules/bignumber.js/bignumber.js +0 -627
  227. package/dist/node_modules/es-toolkit/dist/function/debounce.js +0 -30
  228. package/dist/node_modules/es-toolkit/dist/function/throttle.js +0 -11
  229. package/dist/node_modules/lodash.throttle/index.js +0 -95
  230. package/dist/node_modules/object-assign/index.js +0 -54
  231. package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
  232. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
  233. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
  234. package/dist/node_modules/prop-types/index.js +0 -17
  235. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
  236. package/dist/node_modules/prop-types/lib/has.js +0 -7
  237. package/dist/node_modules/react-icons/lib/iconBase.js +0 -108
  238. package/dist/node_modules/react-icons/lib/iconContext.js +0 -12
  239. package/dist/node_modules/react-icons/lu/index.js +0 -12
  240. package/dist/node_modules/react-is/cjs/react-is.development.js +0 -95
  241. package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -78
  242. package/dist/node_modules/react-is/index.js +0 -10
  243. package/dist/node_modules/react-scroll/modules/components/Button.js +0 -58
  244. package/dist/node_modules/react-scroll/modules/components/Element.js +0 -72
  245. package/dist/node_modules/react-scroll/modules/components/Link.js +0 -49
  246. package/dist/node_modules/react-scroll/modules/index.js +0 -26
  247. package/dist/node_modules/react-scroll/modules/mixins/Helpers.js +0 -192
  248. package/dist/node_modules/react-scroll/modules/mixins/animate-scroll.js +0 -132
  249. package/dist/node_modules/react-scroll/modules/mixins/cancel-events.js +0 -20
  250. package/dist/node_modules/react-scroll/modules/mixins/passive-event-listeners.js +0 -27
  251. package/dist/node_modules/react-scroll/modules/mixins/scroll-element.js +0 -98
  252. package/dist/node_modules/react-scroll/modules/mixins/scroll-events.js +0 -23
  253. package/dist/node_modules/react-scroll/modules/mixins/scroll-hash.js +0 -61
  254. package/dist/node_modules/react-scroll/modules/mixins/scroll-link.js +0 -171
  255. package/dist/node_modules/react-scroll/modules/mixins/scroll-spy.js +0 -79
  256. package/dist/node_modules/react-scroll/modules/mixins/scroller.js +0 -62
  257. package/dist/node_modules/react-scroll/modules/mixins/smooth.js +0 -72
  258. package/dist/node_modules/react-scroll/modules/mixins/utils.js +0 -55
  259. package/dist/package/node_modules/react/cjs/react-jsx-runtime.development.js +0 -604
  260. package/dist/package/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -28
  261. package/dist/package/node_modules/react/jsx-runtime.js +0 -10
  262. package/dist/theme/foundations/animations.js +0 -15
  263. package/dist/theme/foundations/animations.ts +0 -12
  264. package/dist/theme/foundations/borders.js +0 -12
  265. package/dist/theme/foundations/borders.ts +0 -13
  266. package/dist/theme/foundations/breakpoints.js +0 -11
  267. package/dist/theme/foundations/breakpoints.ts +0 -10
  268. package/dist/theme/foundations/colors.js +0 -163
  269. package/dist/theme/foundations/colors.ts +0 -162
  270. package/dist/theme/foundations/durations.js +0 -12
  271. package/dist/theme/foundations/durations.ts +0 -15
  272. package/dist/theme/foundations/semanticTokens.js +0 -474
  273. package/dist/theme/foundations/semanticTokens.ts +0 -475
  274. package/dist/theme/foundations/shadows.js +0 -16
  275. package/dist/theme/foundations/shadows.ts +0 -19
  276. package/dist/theme/foundations/typography.js +0 -92
  277. package/dist/theme/foundations/typography.ts +0 -93
  278. package/dist/theme/foundations/zIndex.js +0 -24
  279. package/dist/theme/foundations/zIndex.ts +0 -20
  280. package/dist/theme/globalCss.js +0 -51
  281. package/dist/theme/globalCss.ts +0 -57
  282. package/dist/theme/globals/address-entity.js +0 -34
  283. package/dist/theme/globals/address-entity.ts +0 -33
  284. package/dist/theme/globals/recaptcha.js +0 -21
  285. package/dist/theme/globals/recaptcha.ts +0 -20
  286. package/dist/theme/globals/scrollbar.js +0 -33
  287. package/dist/theme/globals/scrollbar.ts +0 -32
  288. package/dist/theme/index.d.ts +0 -1
  289. package/dist/theme/index.ts +0 -1
  290. package/dist/theme/recipes/accordion.recipe.js +0 -143
  291. package/dist/theme/recipes/accordion.recipe.ts +0 -145
  292. package/dist/theme/recipes/alert.recipe.js +0 -134
  293. package/dist/theme/recipes/alert.recipe.ts +0 -138
  294. package/dist/theme/recipes/badge.recipe.js +0 -119
  295. package/dist/theme/recipes/badge.recipe.ts +0 -117
  296. package/dist/theme/recipes/button.recipe.js +0 -272
  297. package/dist/theme/recipes/button.recipe.ts +0 -270
  298. package/dist/theme/recipes/checkbox.recipe.js +0 -53
  299. package/dist/theme/recipes/checkbox.recipe.ts +0 -56
  300. package/dist/theme/recipes/checkmark.recipe.js +0 -73
  301. package/dist/theme/recipes/checkmark.recipe.ts +0 -73
  302. package/dist/theme/recipes/close-button.recipe.js +0 -39
  303. package/dist/theme/recipes/close-button.recipe.ts +0 -37
  304. package/dist/theme/recipes/dialog.recipe.js +0 -210
  305. package/dist/theme/recipes/dialog.recipe.ts +0 -213
  306. package/dist/theme/recipes/drawer.recipe.js +0 -168
  307. package/dist/theme/recipes/drawer.recipe.ts +0 -173
  308. package/dist/theme/recipes/field.recipe.js +0 -174
  309. package/dist/theme/recipes/field.recipe.ts +0 -175
  310. package/dist/theme/recipes/index.js +0 -69
  311. package/dist/theme/recipes/index.ts +0 -68
  312. package/dist/theme/recipes/input.recipe.js +0 -116
  313. package/dist/theme/recipes/input.recipe.ts +0 -119
  314. package/dist/theme/recipes/link.recipe.js +0 -88
  315. package/dist/theme/recipes/link.recipe.ts +0 -86
  316. package/dist/theme/recipes/list.recipe.js +0 -65
  317. package/dist/theme/recipes/list.recipe.ts +0 -67
  318. package/dist/theme/recipes/menu.recipe.js +0 -104
  319. package/dist/theme/recipes/menu.recipe.ts +0 -105
  320. package/dist/theme/recipes/pin-input.recipe.js +0 -34
  321. package/dist/theme/recipes/pin-input.recipe.ts +0 -35
  322. package/dist/theme/recipes/popover.recipe.js +0 -72
  323. package/dist/theme/recipes/popover.recipe.ts +0 -70
  324. package/dist/theme/recipes/progress-circle.recipe.js +0 -74
  325. package/dist/theme/recipes/progress-circle.recipe.ts +0 -74
  326. package/dist/theme/recipes/radio-group.recipe.js +0 -69
  327. package/dist/theme/recipes/radio-group.recipe.ts +0 -73
  328. package/dist/theme/recipes/radiomark.recipe.js +0 -87
  329. package/dist/theme/recipes/radiomark.recipe.ts +0 -91
  330. package/dist/theme/recipes/rating-group.recipe.js +0 -84
  331. package/dist/theme/recipes/rating-group.recipe.ts +0 -93
  332. package/dist/theme/recipes/select.recipe.js +0 -275
  333. package/dist/theme/recipes/select.recipe.ts +0 -277
  334. package/dist/theme/recipes/skeleton.recipe.js +0 -54
  335. package/dist/theme/recipes/skeleton.recipe.ts +0 -55
  336. package/dist/theme/recipes/spinner.recipe.js +0 -33
  337. package/dist/theme/recipes/spinner.recipe.ts +0 -31
  338. package/dist/theme/recipes/stat.recipe.js +0 -101
  339. package/dist/theme/recipes/stat.recipe.ts +0 -101
  340. package/dist/theme/recipes/switch.recipe.js +0 -125
  341. package/dist/theme/recipes/switch.recipe.ts +0 -130
  342. package/dist/theme/recipes/table.recipe.js +0 -83
  343. package/dist/theme/recipes/table.recipe.ts +0 -84
  344. package/dist/theme/recipes/tabs.recipe.js +0 -216
  345. package/dist/theme/recipes/tabs.recipe.ts +0 -219
  346. package/dist/theme/recipes/tag.recipe.js +0 -157
  347. package/dist/theme/recipes/tag.recipe.ts +0 -158
  348. package/dist/theme/recipes/textarea.recipe.js +0 -86
  349. package/dist/theme/recipes/textarea.recipe.ts +0 -86
  350. package/dist/theme/recipes/toast.recipe.js +0 -98
  351. package/dist/theme/recipes/toast.recipe.ts +0 -97
  352. package/dist/theme/recipes/tooltip.recipe.js +0 -87
  353. package/dist/theme/recipes/tooltip.recipe.ts +0 -85
  354. package/dist/theme/theme.js +0 -40
  355. package/dist/theme/theme.ts +0 -41
  356. package/dist/theme/utils/entries.js +0 -11
  357. package/dist/theme/utils/entries.ts +0 -12
  358. package/dist/theme.d.ts +0 -2
  359. package/dist/theme.js +0 -4
  360. package/dist/types/client/adProviders.js +0 -12
  361. package/dist/types/client/contract.js +0 -13
  362. package/dist/types/client/gasTracker.js +0 -7
  363. package/dist/types/client/navigation.js +0 -4
  364. package/dist/types/client/rollup.js +0 -11
  365. package/dist/types/client/txInterpretation.js +0 -8
  366. package/dist/types/client/validators.js +0 -8
  367. package/dist/types/client/wallets.js +0 -8
  368. package/dist/types/homepage.js +0 -15
  369. package/dist/types/views/address.js +0 -14
  370. package/dist/types/views/block.js +0 -12
  371. package/dist/types/views/tx.js +0 -16
  372. package/dist/ui/shared/forms/validators/url.js +0 -12
  373. package/dist/utils/getComponentDisplayName.js +0 -7
  374. package/dist/utils/index.d.ts +0 -1
  375. package/dist/utils.d.ts +0 -2
  376. package/dist/utils.js +0 -4
package/dist/chakra.js DELETED
@@ -1,155 +0,0 @@
1
- import { AccordionItem as r, AccordionItemContent as t, AccordionItemTrigger as a, AccordionRoot as l } from "./chakra/accordion.js";
2
- import { Alert as p } from "./chakra/alert.js";
3
- import { Avatar as m, AvatarGroup as g } from "./chakra/avatar.js";
4
- import { Badge as T } from "./chakra/badge.js";
5
- import { Button as c, ButtonGroup as f, ButtonGroupRadio as d } from "./chakra/button.js";
6
- import { Checkbox as s, CheckboxGroup as D } from "./chakra/checkbox.js";
7
- import { CloseButton as I } from "./chakra/close-button.js";
8
- import { CollapsibleDetails as M, CollapsibleList as P } from "./chakra/collapsible.js";
9
- import { ColorModeProvider as v, useColorMode as w, useColorModeValue as k } from "./chakra/color-mode.js";
10
- import { DialogActionTrigger as A, DialogBackdrop as G, DialogBody as H, DialogCloseTrigger as y, DialogContent as L, DialogDescription as h, DialogFooter as F, DialogHeader as V, DialogRoot as E, DialogTitle as O, DialogTrigger as W } from "./chakra/dialog.js";
11
- import { DrawerActionTrigger as q, DrawerBackdrop as z, DrawerBody as J, DrawerCloseTrigger as K, DrawerContent as N, DrawerDescription as Q, DrawerFooter as U, DrawerHeader as X, DrawerRoot as Y, DrawerTitle as Z, DrawerTrigger as _ } from "./chakra/drawer.js";
12
- import { Field as ee } from "./chakra/field.js";
13
- import { Heading as re } from "./chakra/heading.js";
14
- import { IconButton as ae } from "./chakra/icon-button.js";
15
- import { Image as ie } from "./chakra/image.js";
16
- import { Input as ne } from "./chakra/input.js";
17
- import { InputGroup as ge } from "./chakra/input-group.js";
18
- import { Link as Te, LinkBox as ue, LinkExternalIcon as ce, LinkOverlay as fe } from "./chakra/link.js";
19
- import { MenuArrow as Ce, MenuCheckboxItem as se, MenuContent as De, MenuContextTrigger as be, MenuItem as Ie, MenuItemCommand as Se, MenuItemGroup as Me, MenuItemText as Pe, MenuRadioItem as Re, MenuRadioItemGroup as ve, MenuRoot as we, MenuSeparator as ke, MenuTrigger as Be, MenuTriggerItem as Ae } from "./chakra/menu.js";
20
- import { PinInput as He } from "./chakra/pin-input.js";
21
- import { PopoverArrow as Le, PopoverBody as he, PopoverCloseTrigger as Fe, PopoverCloseTriggerWrapper as Ve, PopoverContent as Ee, PopoverDescription as Oe, PopoverFooter as We, PopoverHeader as je, PopoverRoot as qe, PopoverTitle as ze, PopoverTrigger as Je } from "./chakra/popover.js";
22
- import { ProgressCircleRing as Ne, ProgressCircleRoot as Qe, ProgressCircleValueText as Ue } from "./chakra/progress-circle.js";
23
- import { Provider as Ye } from "./chakra/provider.js";
24
- import { Radio as _e, RadioGroup as $e } from "./chakra/radio.js";
25
- import { Rating as oo } from "./chakra/rating.js";
26
- import { Select as to, SelectAsync as ao, SelectClearTrigger as lo, SelectContent as io, SelectControl as po, SelectItem as no, SelectItemGroup as mo, SelectItemText as go, SelectLabel as xo, SelectRoot as To, SelectValueText as uo } from "./chakra/select.js";
27
- import { Skeleton as fo, SkeletonCircle as Co, SkeletonText as so } from "./chakra/skeleton.js";
28
- import { Slider as bo } from "./chakra/slider.js";
29
- import { Switch as So } from "./chakra/switch.js";
30
- import { TableBody as Po, TableCell as Ro, TableColumnHeader as vo, TableColumnHeaderSortable as wo, TableHeader as ko, TableHeaderSticky as Bo, TableRoot as Ao, TableRow as Go } from "./chakra/table.js";
31
- import { TabsContent as yo, TabsCounter as Lo, TabsList as ho, TabsRoot as Fo, TabsTrigger as Vo } from "./chakra/tabs.js";
32
- import { Tag as Oo } from "./chakra/tag.js";
33
- import { Textarea as jo } from "./chakra/textarea.js";
34
- import { Toaster as zo, toaster as Jo } from "./chakra/toaster.js";
35
- import { Tooltip as No } from "./chakra/tooltip.js";
36
- export {
37
- r as AccordionItem,
38
- t as AccordionItemContent,
39
- a as AccordionItemTrigger,
40
- l as AccordionRoot,
41
- p as Alert,
42
- m as Avatar,
43
- g as AvatarGroup,
44
- T as Badge,
45
- c as Button,
46
- f as ButtonGroup,
47
- d as ButtonGroupRadio,
48
- s as Checkbox,
49
- D as CheckboxGroup,
50
- I as CloseButton,
51
- M as CollapsibleDetails,
52
- P as CollapsibleList,
53
- v as ColorModeProvider,
54
- A as DialogActionTrigger,
55
- G as DialogBackdrop,
56
- H as DialogBody,
57
- y as DialogCloseTrigger,
58
- L as DialogContent,
59
- h as DialogDescription,
60
- F as DialogFooter,
61
- V as DialogHeader,
62
- E as DialogRoot,
63
- O as DialogTitle,
64
- W as DialogTrigger,
65
- q as DrawerActionTrigger,
66
- z as DrawerBackdrop,
67
- J as DrawerBody,
68
- K as DrawerCloseTrigger,
69
- N as DrawerContent,
70
- Q as DrawerDescription,
71
- U as DrawerFooter,
72
- X as DrawerHeader,
73
- Y as DrawerRoot,
74
- Z as DrawerTitle,
75
- _ as DrawerTrigger,
76
- ee as Field,
77
- re as Heading,
78
- ae as IconButton,
79
- ie as Image,
80
- ne as Input,
81
- ge as InputGroup,
82
- Te as Link,
83
- ue as LinkBox,
84
- ce as LinkExternalIcon,
85
- fe as LinkOverlay,
86
- Ce as MenuArrow,
87
- se as MenuCheckboxItem,
88
- De as MenuContent,
89
- be as MenuContextTrigger,
90
- Ie as MenuItem,
91
- Se as MenuItemCommand,
92
- Me as MenuItemGroup,
93
- Pe as MenuItemText,
94
- Re as MenuRadioItem,
95
- ve as MenuRadioItemGroup,
96
- we as MenuRoot,
97
- ke as MenuSeparator,
98
- Be as MenuTrigger,
99
- Ae as MenuTriggerItem,
100
- He as PinInput,
101
- Le as PopoverArrow,
102
- he as PopoverBody,
103
- Fe as PopoverCloseTrigger,
104
- Ve as PopoverCloseTriggerWrapper,
105
- Ee as PopoverContent,
106
- Oe as PopoverDescription,
107
- We as PopoverFooter,
108
- je as PopoverHeader,
109
- qe as PopoverRoot,
110
- ze as PopoverTitle,
111
- Je as PopoverTrigger,
112
- Ne as ProgressCircleRing,
113
- Qe as ProgressCircleRoot,
114
- Ue as ProgressCircleValueText,
115
- Ye as Provider,
116
- _e as Radio,
117
- $e as RadioGroup,
118
- oo as Rating,
119
- to as Select,
120
- ao as SelectAsync,
121
- lo as SelectClearTrigger,
122
- io as SelectContent,
123
- po as SelectControl,
124
- no as SelectItem,
125
- mo as SelectItemGroup,
126
- go as SelectItemText,
127
- xo as SelectLabel,
128
- To as SelectRoot,
129
- uo as SelectValueText,
130
- fo as Skeleton,
131
- Co as SkeletonCircle,
132
- so as SkeletonText,
133
- bo as Slider,
134
- So as Switch,
135
- Po as TableBody,
136
- Ro as TableCell,
137
- vo as TableColumnHeader,
138
- wo as TableColumnHeaderSortable,
139
- ko as TableHeader,
140
- Bo as TableHeaderSticky,
141
- Ao as TableRoot,
142
- Go as TableRow,
143
- yo as TabsContent,
144
- Lo as TabsCounter,
145
- ho as TabsList,
146
- Fo as TabsRoot,
147
- Vo as TabsTrigger,
148
- Oo as Tag,
149
- jo as Textarea,
150
- zo as Toaster,
151
- No as Tooltip,
152
- Jo as toaster,
153
- w as useColorMode,
154
- k as useColorModeValue
155
- };
@@ -1,8 +0,0 @@
1
- import { default as React } from 'react';
2
- import { IconButtonProps } from '../chakra/icon-button';
3
- interface Props extends IconButtonProps {
4
- href?: string;
5
- hint?: string;
6
- }
7
- declare const _default: React.MemoExoticComponent<({ href, hint, ...rest }: Props) => React.JSX.Element>;
8
- export default _default;
@@ -1,22 +0,0 @@
1
- import { j as o } from "../_virtual/jsx-runtime.js";
2
- import { Icon as m } from "@chakra-ui/react";
3
- import c from "react";
4
- import e from "../icons/arrows/east.svg.js";
5
- import { IconButton as s } from "../chakra/icon-button.js";
6
- import { Link as a } from "../chakra/link.js";
7
- import { Tooltip as l } from "../chakra/tooltip.js";
8
- const p = ({ href: r, hint: t, ...i }) => {
9
- const n = /* @__PURE__ */ o.jsx(s, { ...i, boxSize: 6, children: /* @__PURE__ */ o.jsx(
10
- m,
11
- {
12
- transform: "rotate(180deg)",
13
- color: "icon.backTo",
14
- _hover: { color: "link.primary.hover" },
15
- children: /* @__PURE__ */ o.jsx(e, {})
16
- }
17
- ) });
18
- return /* @__PURE__ */ o.jsx(l, { content: t, disabled: !t, children: r ? /* @__PURE__ */ o.jsx(a, { href: r, asChild: !0, children: n }) : n });
19
- }, B = c.memo(p);
20
- export {
21
- B as default
22
- };
@@ -1,48 +0,0 @@
1
- import { j as t } from "../../_virtual/jsx-runtime.js";
2
- import b, { useState as w, useCallback as v } from "react";
3
- import { Input as y } from "../../chakra/input.js";
4
- import { InputGroup as E } from "../../chakra/input-group.js";
5
- import { Skeleton as F } from "../../chakra/skeleton.js";
6
- const P = ({ onChange: e, size: s = "sm", placeholder: l, initialValue: o, type: p, name: i, loading: u = !1, onFocus: a, onBlur: m, inputProps: n, ...f }) => {
7
- const [x, c] = w(o || ""), d = b.useRef(null), j = v((R) => {
8
- const { value: r } = R.target;
9
- c(r), e == null || e(r);
10
- }, [e]);
11
- return /* @__PURE__ */ t.jsx(
12
- F,
13
- {
14
- minW: "250px",
15
- borderRadius: "base",
16
- loading: u,
17
- ...f,
18
- children: /* @__PURE__ */ t.jsx(
19
- E,
20
- {
21
- startElementProps: { px: 2 },
22
- endElementProps: { w: "32px" },
23
- children: /* @__PURE__ */ t.jsx(
24
- y,
25
- {
26
- ref: d,
27
- size: s,
28
- value: x,
29
- onChange: j,
30
- onFocus: a,
31
- onBlur: m,
32
- placeholder: l,
33
- borderWidth: "2px",
34
- textOverflow: "ellipsis",
35
- whiteSpace: "nowrap",
36
- type: p,
37
- name: i,
38
- ...n
39
- }
40
- )
41
- }
42
- )
43
- }
44
- );
45
- };
46
- export {
47
- P as default
48
- };
@@ -1,9 +0,0 @@
1
- import { Placement } from '@floating-ui/dom';
2
- import { default as React } from 'react';
3
- interface Props {
4
- children: React.ReactNode;
5
- label: React.ReactNode;
6
- placement?: Placement;
7
- }
8
- declare const _default: React.MemoExoticComponent<({ children, label, placement }: Props) => React.JSX.Element>;
9
- export default _default;
@@ -1,49 +0,0 @@
1
- import { j as E } from "../_virtual/jsx-runtime.js";
2
- import e from "react";
3
- import C from "use-font-face-observer";
4
- import { Tooltip as v } from "../chakra/tooltip.js";
5
- import { useDisclosure as b } from "../hooks/useDisclosure.js";
6
- import { BODY_TYPEFACE as g } from "../theme/foundations/typography.js";
7
- import { debounce as w } from "../node_modules/es-toolkit/dist/function/debounce.js";
8
- const F = ({ children: l, label: a, placement: u }) => {
9
- const o = e.useRef(null), [d, r] = e.useState(!1), { open: f, onToggle: s, onOpen: m, onClose: p } = b(), T = C([
10
- { family: g }
11
- ]), n = e.useCallback(() => {
12
- if (o.current) {
13
- const t = o.current.scrollWidth, i = o.current.clientWidth;
14
- t > i ? r(!0) : r(!1);
15
- }
16
- }, []);
17
- e.useEffect(() => {
18
- n();
19
- }, [n, T]), e.useEffect(() => {
20
- const t = w(n, 1e3);
21
- return window.addEventListener("resize", t), function() {
22
- window.removeEventListener("resize", t);
23
- };
24
- }, [n]);
25
- const h = e.Children.only(l), x = e.useCallback((t) => {
26
- t.stopPropagation(), s();
27
- }, [s]), c = e.cloneElement(
28
- h,
29
- {
30
- ref: o,
31
- onClick: x,
32
- onMouseEnter: m,
33
- onMouseLeave: p
34
- }
35
- );
36
- return d ? /* @__PURE__ */ E.jsx(
37
- v,
38
- {
39
- content: a,
40
- contentProps: { maxW: { base: "calc(100vw - 8px)", lg: "400px" } },
41
- positioning: { placement: u },
42
- open: f,
43
- children: c
44
- }
45
- ) : c;
46
- }, P = e.memo(F);
47
- export {
48
- P as default
49
- };
@@ -1 +0,0 @@
1
- export * from './TruncatedTextTooltip';
@@ -1,2 +0,0 @@
1
- export * from './components/index'
2
- export {}
@@ -1 +0,0 @@
1
- import "./components/TruncatedTextTooltip.js";
@@ -1,23 +0,0 @@
1
- import s from "../../lib/stripTrailingSlash.js";
2
- import { getEnvValue as t } from "./utils.js";
3
- const e = t("NEXT_PUBLIC_API_HOST"), n = t("NEXT_PUBLIC_API_PROTOCOL") || "https", o = t("NEXT_PUBLIC_API_PORT"), i = [
4
- n,
5
- "://",
6
- e,
7
- o && ":" + o
8
- ].filter(Boolean).join(""), _ = t("NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL") || "wss", a = [
9
- _,
10
- "://",
11
- e,
12
- o && ":" + o
13
- ].filter(Boolean).join(""), c = Object.freeze({
14
- host: e,
15
- protocol: n,
16
- port: o,
17
- endpoint: i,
18
- socket: a,
19
- basePath: s(t("NEXT_PUBLIC_API_BASE_PATH") || "")
20
- });
21
- export {
22
- c as default
23
- };
@@ -1,19 +0,0 @@
1
- import { getEnvValue as t } from "./utils.js";
2
- const P = t("NEXT_PUBLIC_APP_PORT"), _ = t("NEXT_PUBLIC_APP_PROTOCOL"), o = t("NEXT_PUBLIC_APP_HOST"), e = [
3
- _ || "https",
4
- "://",
5
- o,
6
- P && ":" + P
7
- ].filter(Boolean).join(""), s = t("NEXT_PUBLIC_APP_ENV") === "development", p = t("NEXT_PUBLIC_APP_INSTANCE") === "pw", E = t("NEXT_PUBLIC_ICON_SPRITE_HASH"), n = Object.freeze({
8
- isDev: s,
9
- isPw: p,
10
- protocol: _,
11
- host: o,
12
- port: P,
13
- baseUrl: e,
14
- useProxy: t("NEXT_PUBLIC_USE_NEXT_JS_PROXY") === "true",
15
- spriteHash: E
16
- });
17
- export {
18
- n as default
19
- };
@@ -1,30 +0,0 @@
1
- import { urlValidator as T } from "../../ui/shared/forms/validators/url.js";
2
- import { getEnvValue as _, parseEnvJson as C } from "./utils.js";
3
- const n = 18, r = _("NEXT_PUBLIC_ROLLUP_TYPE"), t = r === "arbitrum" ? "posting" : r === "zkEvm" ? "sequencing" : _("NEXT_PUBLIC_NETWORK_VERIFICATION_TYPE") || "mining", R = (() => {
4
- const E = _("NEXT_PUBLIC_NETWORK_RPC_URL"), e = T(E);
5
- if (E && e === !0)
6
- return [E];
7
- const N = C(E);
8
- return Array.isArray(N) ? N : [];
9
- })(), I = Object.freeze({
10
- id: _("NEXT_PUBLIC_NETWORK_ID"),
11
- name: _("NEXT_PUBLIC_NETWORK_NAME"),
12
- shortName: _("NEXT_PUBLIC_NETWORK_SHORT_NAME"),
13
- currency: {
14
- name: _("NEXT_PUBLIC_NETWORK_CURRENCY_NAME"),
15
- weiName: _("NEXT_PUBLIC_NETWORK_CURRENCY_WEI_NAME"),
16
- symbol: _("NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL"),
17
- decimals: Number(_("NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS")) || n
18
- },
19
- secondaryCoin: {
20
- symbol: _("NEXT_PUBLIC_NETWORK_SECONDARY_COIN_SYMBOL")
21
- },
22
- hasMultipleGasCurrencies: _("NEXT_PUBLIC_NETWORK_MULTIPLE_GAS_CURRENCIES") === "true",
23
- tokenStandard: _("NEXT_PUBLIC_NETWORK_TOKEN_STANDARD_NAME") || "ERC",
24
- rpcUrls: R,
25
- isTestnet: _("NEXT_PUBLIC_IS_TESTNET") === "true",
26
- verificationType: t
27
- });
28
- export {
29
- I as default
30
- };
@@ -1,13 +0,0 @@
1
- import e from "../services.js";
2
- import { getEnvValue as r } from "../utils.js";
3
- const t = "My account", i = r("NEXT_PUBLIC_IS_ACCOUNT_SUPPORTED") === "true" && e.reCaptchaV2.siteKey ? Object.freeze({
4
- title: t,
5
- isEnabled: !0,
6
- recaptchaSiteKey: e.reCaptchaV2.siteKey
7
- }) : Object.freeze({
8
- title: t,
9
- isEnabled: !1
10
- });
11
- export {
12
- i as default
13
- };
@@ -1,15 +0,0 @@
1
- import { getEnvValue as a } from "../utils.js";
2
- const e = a("NEXT_PUBLIC_METADATA_SERVICE_API_HOST"), t = "Address metadata", r = Object.freeze(e ? {
3
- title: t,
4
- isEnabled: !0,
5
- api: {
6
- endpoint: e,
7
- basePath: ""
8
- }
9
- } : {
10
- title: t,
11
- isEnabled: !1
12
- });
13
- export {
14
- r as default
15
- };
@@ -1,25 +0,0 @@
1
- import { parseEnvJson as l, getEnvValue as o } from "../utils.js";
2
- const e = l(o("NEXT_PUBLIC_ADDRESS_USERNAME_TAG"));
3
- function n(a) {
4
- try {
5
- const t = a.replace("{address}", "0x0000000000000000000000000000000000000000");
6
- return new URL(t).toString(), !0;
7
- } catch {
8
- return !1;
9
- }
10
- }
11
- const r = "User profile API", i = e && n(e.api_url_template) ? Object.freeze({
12
- title: r,
13
- isEnabled: !0,
14
- apiUrlTemplate: e.api_url_template,
15
- tagLinkTemplate: e.tag_link_template,
16
- tagIcon: e.tag_icon,
17
- tagBgColor: e.tag_bg_color,
18
- tagTextColor: e.tag_text_color
19
- }) : Object.freeze({
20
- title: r,
21
- isEnabled: !1
22
- });
23
- export {
24
- i as default
25
- };
@@ -1,17 +0,0 @@
1
- import { getEnvValue as i } from "../utils.js";
2
- import t from "./account.js";
3
- import n from "./verifiedTokens.js";
4
- const e = i("NEXT_PUBLIC_ADMIN_SERVICE_API_HOST"), o = 'Address verification in "My account"', s = t.isEnabled && n.isEnabled && e ? Object.freeze({
5
- title: 'Address verification in "My account"',
6
- isEnabled: !0,
7
- api: {
8
- endpoint: e,
9
- basePath: ""
10
- }
11
- }) : Object.freeze({
12
- title: o,
13
- isEnabled: !1
14
- });
15
- export {
16
- s as default
17
- };
@@ -1,50 +0,0 @@
1
- import { SUPPORTED_AD_BANNER_PROVIDERS as E } from "../../../types/client/adProviders.js";
2
- import { getEnvValue as t, parseEnvJson as r } from "../utils.js";
3
- const n = (() => {
4
- const e = t("NEXT_PUBLIC_AD_BANNER_PROVIDER");
5
- return e && E.includes(e) ? e : "slise";
6
- })(), i = t("NEXT_PUBLIC_AD_BANNER_ADDITIONAL_PROVIDER"), _ = "Banner ads", d = (() => {
7
- if (n === "adbutler") {
8
- const e = r(t("NEXT_PUBLIC_AD_ADBUTLER_CONFIG_DESKTOP")), o = r(t("NEXT_PUBLIC_AD_ADBUTLER_CONFIG_MOBILE"));
9
- if (e && o)
10
- return Object.freeze({
11
- title: _,
12
- isEnabled: !0,
13
- provider: n,
14
- adButler: {
15
- config: {
16
- desktop: e,
17
- mobile: o
18
- }
19
- }
20
- });
21
- } else if (n !== "none") {
22
- if (i === "adbutler") {
23
- const e = r(t("NEXT_PUBLIC_AD_ADBUTLER_CONFIG_DESKTOP")), o = r(t("NEXT_PUBLIC_AD_ADBUTLER_CONFIG_MOBILE"));
24
- return Object.freeze({
25
- title: _,
26
- isEnabled: !0,
27
- provider: n,
28
- additionalProvider: i,
29
- adButler: {
30
- config: {
31
- desktop: e,
32
- mobile: o
33
- }
34
- }
35
- });
36
- }
37
- return Object.freeze({
38
- title: _,
39
- isEnabled: !0,
40
- provider: n
41
- });
42
- }
43
- return Object.freeze({
44
- title: _,
45
- isEnabled: !1
46
- });
47
- })();
48
- export {
49
- d as default
50
- };
@@ -1,16 +0,0 @@
1
- import { SUPPORTED_AD_TEXT_PROVIDERS as r } from "../../../types/client/adProviders.js";
2
- import { getEnvValue as o } from "../utils.js";
3
- const t = (() => {
4
- const e = o("NEXT_PUBLIC_AD_TEXT_PROVIDER");
5
- return e && r.includes(e) ? e : "coinzilla";
6
- })(), n = "Text ads", s = Object.freeze(t !== "none" ? {
7
- title: n,
8
- isEnabled: !0,
9
- provider: t
10
- } : {
11
- title: n,
12
- isEnabled: !1
13
- });
14
- export {
15
- s as default
16
- };
@@ -1,11 +0,0 @@
1
- import { getEnvValue as t } from "../utils.js";
2
- const r = t("NEXT_PUBLIC_ADVANCED_FILTER_ENABLED") === "false", e = "Advanced filter", s = Object.freeze(r ? {
3
- title: e,
4
- isEnabled: !1
5
- } : {
6
- title: e,
7
- isEnabled: !0
8
- });
9
- export {
10
- s as default
11
- };
@@ -1,15 +0,0 @@
1
- import { getEnvValue as e } from "../utils.js";
2
- const t = "Beacon chain", _ = e("NEXT_PUBLIC_HAS_BEACON_CHAIN") === "true" ? Object.freeze({
3
- title: t,
4
- isEnabled: !0,
5
- currency: {
6
- symbol: e("NEXT_PUBLIC_BEACON_CHAIN_CURRENCY_SYMBOL") || e("NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL") || ""
7
- // maybe we need some other default value here
8
- }
9
- }) : Object.freeze({
10
- title: t,
11
- isEnabled: !1
12
- });
13
- export {
14
- _ as default
15
- };
@@ -1,15 +0,0 @@
1
- import e from "../chain.js";
2
- import { getEnvValue as n } from "../utils.js";
3
- const t = n("NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID"), c = "Blockchain interaction (writing to contract, etc.)", a = /* all chain parameters are required for wagmi provider */ /* @wagmi/chains/dist/index.d.ts */ e.id && e.name && e.currency.name && e.currency.symbol && e.currency.decimals && e.rpcUrls.length > 0 && t ? Object.freeze({
4
- title: c,
5
- isEnabled: !0,
6
- walletConnect: {
7
- projectId: t
8
- }
9
- }) : Object.freeze({
10
- title: c,
11
- isEnabled: !1
12
- });
13
- export {
14
- a as default
15
- };
@@ -1,16 +0,0 @@
1
- import { parseEnvJson as n, getEnvValue as r } from "../utils.js";
2
- const s = "Bridged tokens", o = (() => {
3
- const e = n(r("NEXT_PUBLIC_BRIDGED_TOKENS_CHAINS")), t = n(r("NEXT_PUBLIC_BRIDGED_TOKENS_BRIDGES"));
4
- return e && e.length > 0 && t && t.length > 0 ? Object.freeze({
5
- title: s,
6
- isEnabled: !0,
7
- chains: e,
8
- bridges: t
9
- }) : Object.freeze({
10
- title: s,
11
- isEnabled: !1
12
- });
13
- })();
14
- export {
15
- o as default
16
- };
@@ -1,13 +0,0 @@
1
- import { getEnvValue as e } from "../utils.js";
2
- const E = "Celo chain", t = e("NEXT_PUBLIC_CELO_ENABLED") === "true" ? Object.freeze({
3
- title: E,
4
- isEnabled: !0,
5
- L2UpgradeBlock: e("NEXT_PUBLIC_CELO_L2_UPGRADE_BLOCK") ? Number(e("NEXT_PUBLIC_CELO_L2_UPGRADE_BLOCK")) : void 0,
6
- BLOCKS_PER_EPOCH: 17280
7
- }) : Object.freeze({
8
- title: E,
9
- isEnabled: !1
10
- });
11
- export {
12
- t as default
13
- };
@@ -1,14 +0,0 @@
1
- import e from "../services.js";
2
- const t = "Export data to CSV file", a = e.reCaptchaV2.siteKey ? Object.freeze({
3
- title: t,
4
- isEnabled: !0,
5
- reCaptcha: {
6
- siteKey: e.reCaptchaV2.siteKey
7
- }
8
- }) : Object.freeze({
9
- title: t,
10
- isEnabled: !1
11
- });
12
- export {
13
- a as default
14
- };
@@ -1,11 +0,0 @@
1
- import { getEnvValue as t } from "../utils.js";
2
- const e = "Data availability", r = t("NEXT_PUBLIC_DATA_AVAILABILITY_ENABLED") === "true" ? Object.freeze({
3
- title: e,
4
- isEnabled: !0
5
- }) : Object.freeze({
6
- title: e,
7
- isEnabled: !1
8
- });
9
- export {
10
- r as default
11
- };
@@ -1,12 +0,0 @@
1
- import { parseEnvJson as n, getEnvValue as o } from "../utils.js";
2
- const e = n(o("NEXT_PUBLIC_DEFI_DROPDOWN_ITEMS")) || [], t = "DeFi dropdown", r = e.length > 0 ? Object.freeze({
3
- title: t,
4
- isEnabled: !0,
5
- items: e
6
- }) : Object.freeze({
7
- title: t,
8
- isEnabled: !1
9
- });
10
- export {
11
- r as default
12
- };
@@ -1,12 +0,0 @@
1
- import { getEnvValue as r } from "../utils.js";
2
- const e = r("NEXT_PUBLIC_GAME_BADGE_CLAIM_LINK"), t = "Easter egg badge", n = Object.freeze(e ? {
3
- title: t,
4
- isEnabled: !0,
5
- badgeClaimLink: e
6
- } : {
7
- title: t,
8
- isEnabled: !1
9
- });
10
- export {
11
- n as default
12
- };