@blockscout/ui-toolkit 0.0.1-alpha.0 → 0.0.1-alpha.2

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 (367) hide show
  1. package/README.md +8 -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/index.d.ts +2 -0
  6. package/dist/index.js +9284 -0
  7. package/dist/package/src/index.d.ts +7 -11
  8. package/dist/theme/foundations/semanticTokens.ts +1 -5
  9. package/dist/theme/recipes/alert.recipe.d.ts +6 -46
  10. package/dist/theme/recipes/alert.recipe.ts +45 -48
  11. package/dist/theme/recipes/badge.recipe.d.ts +11 -44
  12. package/dist/theme/recipes/badge.recipe.ts +11 -45
  13. package/dist/theme/recipes/button.recipe.d.ts +17 -20
  14. package/dist/theme/recipes/button.recipe.ts +42 -27
  15. package/dist/theme/recipes/close-button.recipe.d.ts +0 -3
  16. package/dist/theme/recipes/close-button.recipe.ts +0 -3
  17. package/dist/theme/recipes/dialog.recipe.d.ts +1 -1
  18. package/dist/theme/recipes/drawer.recipe.d.ts +1 -1
  19. package/dist/theme/recipes/index.d.ts +47 -147
  20. package/dist/theme/recipes/link.recipe.d.ts +1 -9
  21. package/dist/theme/recipes/link.recipe.ts +1 -9
  22. package/dist/theme/recipes/list.recipe.d.ts +1 -1
  23. package/dist/theme/recipes/menu.recipe.d.ts +1 -1
  24. package/dist/theme/recipes/popover.recipe.ts +4 -3
  25. package/dist/theme/recipes/select.recipe.d.ts +1 -1
  26. package/dist/theme/recipes/skeleton.recipe.d.ts +5 -6
  27. package/dist/theme/recipes/skeleton.recipe.ts +10 -9
  28. package/dist/theme/recipes/table.recipe.d.ts +1 -1
  29. package/dist/theme/recipes/tag.recipe.d.ts +0 -12
  30. package/dist/theme/recipes/tag.recipe.ts +0 -13
  31. package/dist/theme/recipes/toast.recipe.d.ts +1 -1
  32. package/package.json +14 -26
  33. package/dist/_virtual/Button.js +0 -4
  34. package/dist/_virtual/Element.js +0 -4
  35. package/dist/_virtual/Link2.js +0 -4
  36. package/dist/_virtual/_commonjsHelpers.js +0 -8
  37. package/dist/_virtual/_interop_require_default.js +0 -4
  38. package/dist/_virtual/_interop_require_wildcard.js +0 -4
  39. package/dist/_virtual/add-base-path.js +0 -4
  40. package/dist/_virtual/add-locale.js +0 -4
  41. package/dist/_virtual/add-locale2.js +0 -4
  42. package/dist/_virtual/add-path-prefix.js +0 -4
  43. package/dist/_virtual/animate-scroll.js +0 -4
  44. package/dist/_virtual/app-paths.js +0 -4
  45. package/dist/_virtual/cancel-events.js +0 -4
  46. package/dist/_virtual/constants.js +0 -4
  47. package/dist/_virtual/detect-domain-locale.js +0 -4
  48. package/dist/_virtual/detect-domain-locale2.js +0 -4
  49. package/dist/_virtual/ensure-leading-slash.js +0 -4
  50. package/dist/_virtual/escape-regexp.js +0 -4
  51. package/dist/_virtual/format-url.js +0 -4
  52. package/dist/_virtual/get-domain-locale.js +0 -4
  53. package/dist/_virtual/has-base-path.js +0 -4
  54. package/dist/_virtual/index.js +0 -5
  55. package/dist/_virtual/index2.js +0 -4
  56. package/dist/_virtual/index3.js +0 -4
  57. package/dist/_virtual/index4.js +0 -4
  58. package/dist/_virtual/index5.js +0 -4
  59. package/dist/_virtual/interception-routes.js +0 -4
  60. package/dist/_virtual/interpolate-as.js +0 -4
  61. package/dist/_virtual/is-dynamic.js +0 -4
  62. package/dist/_virtual/is-local-url.js +0 -4
  63. package/dist/_virtual/jsx-runtime.js +0 -5
  64. package/dist/_virtual/jsx-runtime2.js +0 -4
  65. package/dist/_virtual/link.js +0 -7
  66. package/dist/_virtual/link3.js +0 -4
  67. package/dist/_virtual/normalize-locale-path.js +0 -4
  68. package/dist/_virtual/normalize-locale-path2.js +0 -4
  69. package/dist/_virtual/normalize-trailing-slash.js +0 -4
  70. package/dist/_virtual/omit.js +0 -4
  71. package/dist/_virtual/parse-path.js +0 -4
  72. package/dist/_virtual/passive-event-listeners.js +0 -4
  73. package/dist/_virtual/path-has-prefix.js +0 -4
  74. package/dist/_virtual/querystring.js +0 -4
  75. package/dist/_virtual/react-is.development.js +0 -4
  76. package/dist/_virtual/react-is.production.min.js +0 -4
  77. package/dist/_virtual/react-jsx-runtime.development.js +0 -4
  78. package/dist/_virtual/react-jsx-runtime.production.min.js +0 -4
  79. package/dist/_virtual/remove-trailing-slash.js +0 -4
  80. package/dist/_virtual/request-idle-callback.js +0 -4
  81. package/dist/_virtual/resolve-href.js +0 -4
  82. package/dist/_virtual/route-matcher.js +0 -4
  83. package/dist/_virtual/route-regex.js +0 -4
  84. package/dist/_virtual/router-context.shared-runtime.js +0 -4
  85. package/dist/_virtual/scroll-element.js +0 -4
  86. package/dist/_virtual/scroll-events.js +0 -4
  87. package/dist/_virtual/scroll-hash.js +0 -4
  88. package/dist/_virtual/scroll-link.js +0 -4
  89. package/dist/_virtual/scroll-spy.js +0 -4
  90. package/dist/_virtual/scroller.js +0 -4
  91. package/dist/_virtual/segment.js +0 -4
  92. package/dist/_virtual/smooth.js +0 -4
  93. package/dist/_virtual/sorted-routes.js +0 -4
  94. package/dist/_virtual/use-intersection.js +0 -4
  95. package/dist/_virtual/use-merged-ref.js +0 -4
  96. package/dist/_virtual/utils.js +0 -4
  97. package/dist/_virtual/utils2.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.js +0 -22
  136. package/dist/components/Filter/FilterInput.js +0 -48
  137. package/dist/components/TruncatedTextTooltip.js +0 -49
  138. package/dist/components.d.ts +0 -2
  139. package/dist/components.js +0 -1
  140. package/dist/configs/app/api.js +0 -23
  141. package/dist/configs/app/app.js +0 -19
  142. package/dist/configs/app/chain.js +0 -30
  143. package/dist/configs/app/features/account.js +0 -13
  144. package/dist/configs/app/features/addressMetadata.js +0 -15
  145. package/dist/configs/app/features/addressProfileAPI.js +0 -25
  146. package/dist/configs/app/features/addressVerification.js +0 -17
  147. package/dist/configs/app/features/adsBanner.js +0 -50
  148. package/dist/configs/app/features/adsText.js +0 -16
  149. package/dist/configs/app/features/advancedFilter.js +0 -11
  150. package/dist/configs/app/features/beaconChain.js +0 -15
  151. package/dist/configs/app/features/blockchainInteraction.js +0 -15
  152. package/dist/configs/app/features/bridgedTokens.js +0 -16
  153. package/dist/configs/app/features/celo.js +0 -13
  154. package/dist/configs/app/features/csvExport.js +0 -14
  155. package/dist/configs/app/features/dataAvailability.js +0 -11
  156. package/dist/configs/app/features/deFiDropdown.js +0 -12
  157. package/dist/configs/app/features/easterEggBadge.js +0 -12
  158. package/dist/configs/app/features/externalTxs.js +0 -14
  159. package/dist/configs/app/features/faultProofSystem.js +0 -12
  160. package/dist/configs/app/features/gasTracker.js +0 -17
  161. package/dist/configs/app/features/getGasButton.js +0 -17
  162. package/dist/configs/app/features/googleAnalytics.js +0 -12
  163. package/dist/configs/app/features/graphqlApiDocs.js +0 -12
  164. package/dist/configs/app/features/growthBook.js +0 -12
  165. package/dist/configs/app/features/index.js +0 -92
  166. package/dist/configs/app/features/marketplace.js +0 -46
  167. package/dist/configs/app/features/metasuites.js +0 -11
  168. package/dist/configs/app/features/mixpanel.js +0 -12
  169. package/dist/configs/app/features/mudFramework.js +0 -12
  170. package/dist/configs/app/features/multichainButton.js +0 -18
  171. package/dist/configs/app/features/nameService.js +0 -15
  172. package/dist/configs/app/features/pools.js +0 -15
  173. package/dist/configs/app/features/publicTagsSubmission.js +0 -17
  174. package/dist/configs/app/features/restApiDocs.js +0 -12
  175. package/dist/configs/app/features/rewards.js +0 -17
  176. package/dist/configs/app/features/rollbar.js +0 -20
  177. package/dist/configs/app/features/rollup.js +0 -37
  178. package/dist/configs/app/features/safe.js +0 -23
  179. package/dist/configs/app/features/saveOnGas.js +0 -13
  180. package/dist/configs/app/features/sol2uml.js +0 -16
  181. package/dist/configs/app/features/stats.js +0 -16
  182. package/dist/configs/app/features/suave.js +0 -11
  183. package/dist/configs/app/features/txInterpretation.js +0 -16
  184. package/dist/configs/app/features/userOps.js +0 -11
  185. package/dist/configs/app/features/validators.js +0 -16
  186. package/dist/configs/app/features/verifiedTokens.js +0 -15
  187. package/dist/configs/app/features/web3Wallet.js +0 -24
  188. package/dist/configs/app/features/xStarScore.js +0 -12
  189. package/dist/configs/app/index.js +0 -19
  190. package/dist/configs/app/meta.js +0 -16
  191. package/dist/configs/app/services.js +0 -9
  192. package/dist/configs/app/ui/views/address.js +0 -36
  193. package/dist/configs/app/ui/views/block.js +0 -11
  194. package/dist/configs/app/ui/views/index.js +0 -12
  195. package/dist/configs/app/ui/views/nft.js +0 -10
  196. package/dist/configs/app/ui/views/token.js +0 -7
  197. package/dist/configs/app/ui/views/tx.js +0 -15
  198. package/dist/configs/app/ui.js +0 -128
  199. package/dist/configs/app/utils.js +0 -45
  200. package/dist/hooks/useClipboard.js +0 -27
  201. package/dist/hooks/useDisclosure.js +0 -17
  202. package/dist/hooks/useViewportSize.js +0 -17
  203. package/dist/hooks.d.ts +0 -1
  204. package/dist/hooks.js +0 -8
  205. package/dist/icons/arrows/east-mini.svg.js +0 -4
  206. package/dist/icons/arrows/east.svg.js +0 -4
  207. package/dist/icons/check.svg.js +0 -4
  208. package/dist/icons/close.svg.js +0 -4
  209. package/dist/icons/info_filled.svg.js +0 -4
  210. package/dist/icons/link_external.svg.js +0 -4
  211. package/dist/icons/star_filled.svg.js +0 -4
  212. package/dist/icons/star_outline.svg.js +0 -4
  213. package/dist/lib/consts.js +0 -10
  214. package/dist/lib/hooks/useFirstMountState.js +0 -8
  215. package/dist/lib/hooks/useIsMobile.js +0 -7
  216. package/dist/lib/hooks/useUpdateEffect.js +0 -12
  217. package/dist/lib/html-entities.js +0 -5
  218. package/dist/lib/isBrowser.js +0 -6
  219. package/dist/lib/regexp.js +0 -4
  220. package/dist/lib/settings/colorTheme.js +0 -33
  221. package/dist/lib/stripTrailingSlash.js +0 -4
  222. package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -13
  223. package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -30
  224. package/dist/node_modules/@uidotdev/usehooks/index.js +0 -51
  225. package/dist/node_modules/bignumber.js/bignumber.js +0 -627
  226. package/dist/node_modules/es-toolkit/dist/function/debounce.js +0 -30
  227. package/dist/node_modules/es-toolkit/dist/function/throttle.js +0 -11
  228. package/dist/node_modules/lodash.throttle/index.js +0 -95
  229. package/dist/node_modules/next/dist/client/add-base-path.js +0 -24
  230. package/dist/node_modules/next/dist/client/add-locale.js +0 -25
  231. package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -25
  232. package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -33
  233. package/dist/node_modules/next/dist/client/has-base-path.js +0 -23
  234. package/dist/node_modules/next/dist/client/link.js +0 -249
  235. package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -23
  236. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -26
  237. package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -40
  238. package/dist/node_modules/next/dist/client/resolve-href.js +0 -67
  239. package/dist/node_modules/next/dist/client/use-intersection.js +0 -85
  240. package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -44
  241. package/dist/node_modules/next/dist/lib/constants.js +0 -285
  242. package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -21
  243. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -28
  244. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -37
  245. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -20
  246. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -25
  247. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -25
  248. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -39
  249. package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -57
  250. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -32
  251. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -90
  252. package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -49
  253. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -22
  254. package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -29
  255. package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -23
  256. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -29
  257. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -25
  258. package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -64
  259. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -20
  260. package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -42
  261. package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -167
  262. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -154
  263. package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -21
  264. package/dist/node_modules/next/dist/shared/lib/segment.js +0 -49
  265. package/dist/node_modules/next/dist/shared/lib/utils.js +0 -166
  266. package/dist/node_modules/next/link.js +0 -8
  267. package/dist/node_modules/next-themes/dist/index.js +0 -85
  268. package/dist/node_modules/object-assign/index.js +0 -54
  269. package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
  270. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
  271. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
  272. package/dist/node_modules/prop-types/index.js +0 -17
  273. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
  274. package/dist/node_modules/prop-types/lib/has.js +0 -7
  275. package/dist/node_modules/react-icons/lib/iconBase.js +0 -108
  276. package/dist/node_modules/react-icons/lib/iconContext.js +0 -12
  277. package/dist/node_modules/react-icons/lu/index.js +0 -12
  278. package/dist/node_modules/react-is/cjs/react-is.development.js +0 -95
  279. package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -78
  280. package/dist/node_modules/react-is/index.js +0 -10
  281. package/dist/node_modules/react-scroll/modules/components/Button.js +0 -58
  282. package/dist/node_modules/react-scroll/modules/components/Element.js +0 -72
  283. package/dist/node_modules/react-scroll/modules/components/Link.js +0 -49
  284. package/dist/node_modules/react-scroll/modules/index.js +0 -26
  285. package/dist/node_modules/react-scroll/modules/mixins/Helpers.js +0 -192
  286. package/dist/node_modules/react-scroll/modules/mixins/animate-scroll.js +0 -132
  287. package/dist/node_modules/react-scroll/modules/mixins/cancel-events.js +0 -20
  288. package/dist/node_modules/react-scroll/modules/mixins/passive-event-listeners.js +0 -27
  289. package/dist/node_modules/react-scroll/modules/mixins/scroll-element.js +0 -98
  290. package/dist/node_modules/react-scroll/modules/mixins/scroll-events.js +0 -23
  291. package/dist/node_modules/react-scroll/modules/mixins/scroll-hash.js +0 -61
  292. package/dist/node_modules/react-scroll/modules/mixins/scroll-link.js +0 -171
  293. package/dist/node_modules/react-scroll/modules/mixins/scroll-spy.js +0 -79
  294. package/dist/node_modules/react-scroll/modules/mixins/scroller.js +0 -62
  295. package/dist/node_modules/react-scroll/modules/mixins/smooth.js +0 -72
  296. package/dist/node_modules/react-scroll/modules/mixins/utils.js +0 -55
  297. package/dist/package/node_modules/react/cjs/react-jsx-runtime.development.js +0 -604
  298. package/dist/package/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -28
  299. package/dist/package/node_modules/react/jsx-runtime.js +0 -10
  300. package/dist/theme/foundations/animations.js +0 -15
  301. package/dist/theme/foundations/borders.js +0 -12
  302. package/dist/theme/foundations/breakpoints.js +0 -11
  303. package/dist/theme/foundations/colors.js +0 -163
  304. package/dist/theme/foundations/durations.js +0 -12
  305. package/dist/theme/foundations/semanticTokens.js +0 -474
  306. package/dist/theme/foundations/shadows.js +0 -16
  307. package/dist/theme/foundations/typography.js +0 -92
  308. package/dist/theme/foundations/zIndex.js +0 -24
  309. package/dist/theme/globalCss.js +0 -51
  310. package/dist/theme/globals/address-entity.js +0 -34
  311. package/dist/theme/globals/recaptcha.js +0 -21
  312. package/dist/theme/globals/scrollbar.js +0 -33
  313. package/dist/theme/index.d.ts +0 -1
  314. package/dist/theme/index.ts +0 -1
  315. package/dist/theme/recipes/accordion.recipe.js +0 -143
  316. package/dist/theme/recipes/alert.recipe.js +0 -134
  317. package/dist/theme/recipes/badge.recipe.js +0 -119
  318. package/dist/theme/recipes/button.recipe.js +0 -272
  319. package/dist/theme/recipes/checkbox.recipe.js +0 -53
  320. package/dist/theme/recipes/checkmark.recipe.js +0 -73
  321. package/dist/theme/recipes/close-button.recipe.js +0 -39
  322. package/dist/theme/recipes/dialog.recipe.js +0 -210
  323. package/dist/theme/recipes/drawer.recipe.js +0 -168
  324. package/dist/theme/recipes/field.recipe.js +0 -174
  325. package/dist/theme/recipes/index.js +0 -69
  326. package/dist/theme/recipes/input.recipe.js +0 -116
  327. package/dist/theme/recipes/link.recipe.js +0 -88
  328. package/dist/theme/recipes/list.recipe.js +0 -65
  329. package/dist/theme/recipes/menu.recipe.js +0 -104
  330. package/dist/theme/recipes/pin-input.recipe.js +0 -34
  331. package/dist/theme/recipes/popover.recipe.js +0 -72
  332. package/dist/theme/recipes/progress-circle.recipe.js +0 -74
  333. package/dist/theme/recipes/radio-group.recipe.js +0 -69
  334. package/dist/theme/recipes/radiomark.recipe.js +0 -87
  335. package/dist/theme/recipes/rating-group.recipe.js +0 -84
  336. package/dist/theme/recipes/select.recipe.js +0 -275
  337. package/dist/theme/recipes/skeleton.recipe.js +0 -54
  338. package/dist/theme/recipes/spinner.recipe.js +0 -33
  339. package/dist/theme/recipes/stat.recipe.js +0 -101
  340. package/dist/theme/recipes/switch.recipe.js +0 -125
  341. package/dist/theme/recipes/table.recipe.js +0 -83
  342. package/dist/theme/recipes/tabs.recipe.js +0 -216
  343. package/dist/theme/recipes/tag.recipe.js +0 -157
  344. package/dist/theme/recipes/textarea.recipe.js +0 -86
  345. package/dist/theme/recipes/toast.recipe.js +0 -98
  346. package/dist/theme/recipes/tooltip.recipe.js +0 -87
  347. package/dist/theme/theme.js +0 -40
  348. package/dist/theme/utils/entries.js +0 -11
  349. package/dist/theme.d.ts +0 -2
  350. package/dist/theme.js +0 -4
  351. package/dist/types/client/adProviders.js +0 -12
  352. package/dist/types/client/contract.js +0 -13
  353. package/dist/types/client/gasTracker.js +0 -7
  354. package/dist/types/client/navigation.js +0 -4
  355. package/dist/types/client/rollup.js +0 -11
  356. package/dist/types/client/txInterpretation.js +0 -8
  357. package/dist/types/client/validators.js +0 -8
  358. package/dist/types/client/wallets.js +0 -8
  359. package/dist/types/homepage.js +0 -15
  360. package/dist/types/views/address.js +0 -14
  361. package/dist/types/views/block.js +0 -12
  362. package/dist/types/views/tx.js +0 -16
  363. package/dist/ui/shared/forms/validators/url.js +0 -12
  364. package/dist/utils/getComponentDisplayName.js +0 -7
  365. package/dist/utils/index.d.ts +0 -1
  366. package/dist/utils.d.ts +0 -2
  367. package/dist/utils.js +0 -4
@@ -1,31 +0,0 @@
1
- import { j as e } from "../_virtual/jsx-runtime.js";
2
- import { createToaster as l, Portal as s, Toaster as n, Toast as i, Spinner as c, Stack as d } from "@chakra-ui/react";
3
- import { SECOND as p } from "../lib/consts.js";
4
- import { CloseButton as a } from "./close-button.js";
5
- const m = l({
6
- placement: "top-end",
7
- pauseOnPageIdle: !0,
8
- duration: 10 * p,
9
- offsets: {
10
- top: "12px",
11
- right: "12px",
12
- bottom: "12px",
13
- left: "12px"
14
- }
15
- }), f = () => /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx(n, { toaster: m, insetInline: { mdDown: "4" }, children: (r) => {
16
- var o;
17
- const t = ((o = r.meta) == null ? void 0 : o.closable) !== void 0 ? r.meta.closable : !0;
18
- return /* @__PURE__ */ e.jsxs(i.Root, { width: { md: "sm" }, children: [
19
- r.type === "loading" ? /* @__PURE__ */ e.jsx(c, { size: "sm", color: "blue.solid", my: 1 }) : null,
20
- /* @__PURE__ */ e.jsxs(d, { gap: "0", flex: "1", maxWidth: "100%", children: [
21
- r.title && /* @__PURE__ */ e.jsx(i.Title, { children: r.title }),
22
- r.description && /* @__PURE__ */ e.jsx(i.Description, { children: r.description })
23
- ] }),
24
- r.action && /* @__PURE__ */ e.jsx(i.ActionTrigger, { children: r.action.label }),
25
- t && /* @__PURE__ */ e.jsx(i.CloseTrigger, { asChild: !0, children: /* @__PURE__ */ e.jsx(a, {}) })
26
- ] });
27
- } }) });
28
- export {
29
- f as Toaster,
30
- m as toaster
31
- };
@@ -1,85 +0,0 @@
1
- import { j as o } from "../_virtual/jsx-runtime.js";
2
- import { Tooltip as e, Portal as D } from "@chakra-ui/react";
3
- import { useClickAway as S } from "../node_modules/@uidotdev/usehooks/index.js";
4
- import * as n from "react";
5
- import E from "../configs/app/index.js";
6
- import z from "../lib/hooks/useIsMobile.js";
7
- const J = n.forwardRef(
8
- function(d, u) {
9
- var f;
10
- const {
11
- showArrow: l,
12
- onOpenChange: r,
13
- variant: a,
14
- selected: w,
15
- children: c,
16
- disabled: h,
17
- disableOnMobile: m,
18
- portalled: g = !0,
19
- content: x,
20
- contentProps: j,
21
- portalRef: A,
22
- defaultOpen: C = !1,
23
- lazyMount: b = !0,
24
- unmountOnExit: P = !0,
25
- triggerProps: O,
26
- ...s
27
- } = d, [T, i] = n.useState(C), p = z(), k = S(() => i(!1)), R = n.useCallback((t) => {
28
- i(t.open), r == null || r(t);
29
- }, [r]), v = n.useCallback(() => {
30
- i((t) => !t);
31
- }, []);
32
- if (h || m && p) return c;
33
- const y = l !== void 0 ? l : a !== "popover", M = {
34
- ...s.positioning,
35
- overflowPadding: 4,
36
- offset: {
37
- mainAxis: 4,
38
- ...(f = s.positioning) == null ? void 0 : f.offset
39
- }
40
- };
41
- return /* @__PURE__ */ o.jsxs(
42
- e.Root,
43
- {
44
- openDelay: 100,
45
- closeDelay: E.app.isPw ? 1e4 : 100,
46
- open: T,
47
- onOpenChange: R,
48
- closeOnClick: !1,
49
- closeOnPointerDown: !0,
50
- variant: a,
51
- lazyMount: b,
52
- unmountOnExit: P,
53
- ...s,
54
- positioning: M,
55
- children: [
56
- /* @__PURE__ */ o.jsx(
57
- e.Trigger,
58
- {
59
- ref: k,
60
- asChild: !0,
61
- onClick: p ? v : void 0,
62
- ...O,
63
- children: c
64
- }
65
- ),
66
- /* @__PURE__ */ o.jsx(D, { disabled: !g, container: A, children: /* @__PURE__ */ o.jsx(e.Positioner, { children: /* @__PURE__ */ o.jsxs(
67
- e.Content,
68
- {
69
- ref: u,
70
- ...w ? { "data-selected": !0 } : {},
71
- ...j,
72
- children: [
73
- y && /* @__PURE__ */ o.jsx(e.Arrow, { children: /* @__PURE__ */ o.jsx(e.ArrowTip, {}) }),
74
- x
75
- ]
76
- }
77
- ) }) })
78
- ]
79
- }
80
- );
81
- }
82
- );
83
- export {
84
- J as Tooltip
85
- };
package/dist/chakra.d.ts DELETED
@@ -1 +0,0 @@
1
- export {}
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,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,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,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
- };