@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,275 +0,0 @@
1
- import { defineSlotRecipe as e } from "@chakra-ui/react";
2
- const o = e({
3
- slots: ["root", "trigger", "indicatorGroup", "indicator", "content", "item", "control", "itemText", "itemGroup", "itemGroupLabel", "label", "valueText"],
4
- base: {
5
- root: {
6
- display: "flex",
7
- flexDirection: "column",
8
- gap: "1.5",
9
- width: "100%"
10
- },
11
- trigger: {
12
- display: "flex",
13
- alignItems: "center",
14
- justifyContent: "flex-start",
15
- width: "full",
16
- minH: "var(--select-trigger-height)",
17
- pr: "var(--select-trigger-padding-right)",
18
- pl: "var(--select-trigger-padding-left)",
19
- borderRadius: "base",
20
- userSelect: "none",
21
- textAlign: "start",
22
- fontWeight: "semibold",
23
- cursor: "pointer",
24
- focusVisibleRing: "none",
25
- _disabled: {
26
- opacity: "control.disabled"
27
- },
28
- _placeholderShown: {
29
- "& [data-part=value-text]": {
30
- display: "-webkit-box"
31
- }
32
- }
33
- },
34
- indicatorGroup: {
35
- display: "flex",
36
- alignItems: "center",
37
- gap: "1",
38
- pos: "absolute",
39
- right: "0",
40
- top: "0",
41
- bottom: "0",
42
- px: "0",
43
- pointerEvents: "none"
44
- },
45
- indicator: {
46
- display: "flex",
47
- alignItems: "center",
48
- justifyContent: "center",
49
- boxSize: "5",
50
- color: "inherit",
51
- _open: {
52
- color: "link.primary.hover"
53
- }
54
- },
55
- content: {
56
- background: "popover.bg",
57
- display: "flex",
58
- flexDirection: "column",
59
- zIndex: "popover",
60
- borderRadius: "md",
61
- borderWidth: "0",
62
- outline: 0,
63
- boxShadow: "popover",
64
- boxShadowColor: "colors.popover.shadow",
65
- maxH: "96",
66
- overflowY: "auto",
67
- minWidth: "150px",
68
- rowGap: "2",
69
- _open: {
70
- animationStyle: "slide-fade-in",
71
- animationDuration: "fast"
72
- },
73
- _closed: {
74
- animationStyle: "slide-fade-out",
75
- animationDuration: "fastest"
76
- }
77
- },
78
- item: {
79
- position: "relative",
80
- userSelect: "none",
81
- display: "flex",
82
- alignItems: "center",
83
- gap: "2",
84
- cursor: "pointer",
85
- justifyContent: "flex-start",
86
- flex: "1",
87
- textAlign: "start",
88
- borderRadius: "none",
89
- _disabled: {
90
- pointerEvents: "none",
91
- opacity: "control.disabled"
92
- },
93
- _highlighted: {
94
- bg: "select.item.bg.highlighted"
95
- }
96
- },
97
- control: {
98
- pos: "relative"
99
- },
100
- itemText: {
101
- flex: "1"
102
- },
103
- itemGroup: {
104
- _first: { mt: "0" }
105
- },
106
- itemGroupLabel: {
107
- py: "1",
108
- fontWeight: "medium"
109
- },
110
- label: {
111
- fontWeight: "medium",
112
- userSelect: "none",
113
- textStyle: "sm",
114
- _disabled: {
115
- opacity: "control.disabled"
116
- }
117
- },
118
- valueText: {
119
- display: "flex",
120
- flexDirection: "column",
121
- lineClamp: "1",
122
- maxW: "100%",
123
- wordBreak: "break-all"
124
- }
125
- },
126
- variants: {
127
- variant: {
128
- outline: {
129
- trigger: {
130
- borderWidth: "2px",
131
- bg: "input.bg",
132
- color: "select.trigger.outline.fg",
133
- borderColor: "input.border.filled",
134
- _expanded: {
135
- color: "link.primary.hover",
136
- borderColor: "link.primary.hover",
137
- _hover: {
138
- color: "link.primary.hover",
139
- borderColor: "link.primary.hover"
140
- }
141
- },
142
- _hover: {
143
- color: "select.trigger.outline.fg",
144
- borderColor: "input.border.hover"
145
- },
146
- _focusVisible: {
147
- borderColor: "input.border.focus"
148
- },
149
- _readOnly: {
150
- userSelect: "all",
151
- pointerEvents: "none",
152
- cursor: "default",
153
- bg: "input.bg.readOnly",
154
- borderColor: "input.border.readOnly",
155
- _focus: {
156
- borderColor: "input.border.readOnly"
157
- },
158
- _hover: {
159
- borderColor: "input.border.readOnly"
160
- }
161
- },
162
- _invalid: {
163
- borderColor: "input.border.error",
164
- _hover: {
165
- borderColor: "input.border.error"
166
- },
167
- _expanded: {
168
- color: "link.primary.hover",
169
- borderColor: "link.primary.hover",
170
- _hover: {
171
- color: "link.primary.hover",
172
- borderColor: "link.primary.hover"
173
- }
174
- }
175
- },
176
- _placeholderShown: {
177
- color: "select.placeholder.fg",
178
- borderColor: "input.border",
179
- _hover: {
180
- color: "select.placeholder.fg"
181
- },
182
- _invalid: {
183
- color: "select.placeholder.fg.error",
184
- _hover: {
185
- color: "select.placeholder.fg.error"
186
- }
187
- }
188
- }
189
- },
190
- indicatorGroup: {
191
- color: "select.indicator.fg",
192
- _peerDisabled: {
193
- opacity: "control.disabled"
194
- }
195
- }
196
- },
197
- plain: {
198
- trigger: {},
199
- indicatorGroup: {}
200
- }
201
- },
202
- size: {
203
- sm: {
204
- root: {
205
- "--select-trigger-height": "sizes.8",
206
- "--select-trigger-padding-right": "spacing.8",
207
- "--select-trigger-padding-left": "spacing.2"
208
- },
209
- content: {
210
- px: "0",
211
- py: "4",
212
- textStyle: "md"
213
- },
214
- trigger: {
215
- textStyle: "sm",
216
- gap: "1"
217
- },
218
- indicatorGroup: {
219
- pr: "2",
220
- pl: "1"
221
- },
222
- item: {
223
- py: "5px",
224
- px: "4"
225
- }
226
- },
227
- lg: {
228
- root: {
229
- "--select-trigger-height": "60px",
230
- "--select-trigger-padding-right": "44px",
231
- "--select-trigger-padding-left": "spacing.4"
232
- },
233
- content: {
234
- px: "0",
235
- py: "4",
236
- textStyle: "md"
237
- },
238
- trigger: {
239
- py: "2"
240
- },
241
- item: {
242
- py: "5px",
243
- px: "4"
244
- },
245
- indicatorGroup: {
246
- pr: "4",
247
- pl: "2"
248
- }
249
- }
250
- }
251
- },
252
- compoundVariants: [
253
- {
254
- size: "sm",
255
- variant: "outline",
256
- css: {
257
- trigger: {
258
- _placeholderShown: {
259
- color: "select.trigger.outline.fg",
260
- _hover: {
261
- color: "select.trigger.outline.fg"
262
- }
263
- }
264
- }
265
- }
266
- }
267
- ],
268
- defaultVariants: {
269
- size: "sm",
270
- variant: "outline"
271
- }
272
- });
273
- export {
274
- o as recipe
275
- };
@@ -1,54 +0,0 @@
1
- import { defineRecipe as a } from "@chakra-ui/react";
2
- const e = a({
3
- base: {},
4
- variants: {
5
- loading: {
6
- true: {
7
- borderRadius: "base",
8
- boxShadow: "none",
9
- backgroundClip: "padding-box",
10
- cursor: "default",
11
- color: "transparent",
12
- pointerEvents: "none",
13
- userSelect: "none",
14
- // we have to override the property set by chakra in order to make the skeleton shrink
15
- // when the text is too long
16
- flexShrink: "initial",
17
- "&::before, &::after, *": {
18
- visibility: "hidden"
19
- }
20
- },
21
- false: {
22
- background: "var(--layer-bg)",
23
- animation: "fade-in var(--fade-duration, 0.1s) ease-out !important"
24
- }
25
- },
26
- variant: {
27
- pulse: {
28
- background: "bg.emphasized",
29
- animation: "pulse",
30
- animationDuration: "var(--duration, 1.2s)"
31
- },
32
- shine: {
33
- "--animate-from": "100%",
34
- "--animate-to": "-100%",
35
- "--start-color": "colors.skeleton.bg.start",
36
- "--end-color": "colors.skeleton.bg.end",
37
- backgroundImage: "linear-gradient(90deg,var(--start-color) 8%,var(--end-color) 18%,var(--start-color) 33%)",
38
- backgroundColor: "transparent",
39
- backgroundSize: "200% 100%",
40
- animation: "bg-position var(--duration, 2s) linear infinite"
41
- },
42
- none: {
43
- animation: "none"
44
- }
45
- }
46
- },
47
- defaultVariants: {
48
- variant: "shine",
49
- loading: !0
50
- }
51
- });
52
- export {
53
- e as recipe
54
- };
@@ -1,33 +0,0 @@
1
- import { defineRecipe as e } from "@chakra-ui/react";
2
- const r = e({
3
- base: {
4
- display: "inline-block",
5
- borderColor: "blue.500",
6
- borderStyle: "solid",
7
- borderWidth: "2px",
8
- borderRadius: "full",
9
- width: "var(--spinner-size)",
10
- height: "var(--spinner-size)",
11
- animation: "spin",
12
- animationDuration: "slowest",
13
- "--spinner-track-color": "{colors.spinner.track}",
14
- borderBottomColor: "var(--spinner-track-color)",
15
- borderInlineStartColor: "var(--spinner-track-color)"
16
- },
17
- variants: {
18
- size: {
19
- inherit: { "--spinner-size": "1em" },
20
- xs: { "--spinner-size": "sizes.3" },
21
- sm: { "--spinner-size": "sizes.4" },
22
- md: { "--spinner-size": "sizes.5" },
23
- lg: { "--spinner-size": "sizes.8" },
24
- xl: { "--spinner-size": "sizes.10" }
25
- }
26
- },
27
- defaultVariants: {
28
- size: "md"
29
- }
30
- });
31
- export {
32
- r as recipe
33
- };
@@ -1,101 +0,0 @@
1
- import { defineSlotRecipe as t } from "@chakra-ui/react";
2
- const i = t({
3
- slots: ["root", "label", "helpText", "valueUnit", "valueText", "indicator"],
4
- base: {
5
- root: {
6
- display: "flex",
7
- flexDirection: "column",
8
- gap: "1",
9
- position: "relative",
10
- flex: "1"
11
- },
12
- label: {
13
- display: "inline-flex",
14
- gap: "1.5",
15
- alignItems: "center",
16
- color: "text",
17
- textStyle: "sm"
18
- },
19
- helpText: {
20
- color: "text",
21
- textStyle: "xs"
22
- },
23
- valueUnit: {
24
- color: "text",
25
- textStyle: "xs",
26
- fontWeight: "initial",
27
- letterSpacing: "initial"
28
- },
29
- valueText: {
30
- verticalAlign: "baseline",
31
- fontWeight: "semibold",
32
- letterSpacing: "normal",
33
- fontFeatureSettings: "initial",
34
- fontVariantNumeric: "initial",
35
- display: "inline-flex",
36
- gap: "1"
37
- },
38
- indicator: {
39
- display: "inline-flex",
40
- alignItems: "center",
41
- justifyContent: "center",
42
- marginEnd: 0,
43
- "& :where(svg)": {
44
- w: "1em",
45
- h: "1em"
46
- },
47
- "&[data-type=up]": {
48
- color: "stat.indicator.up"
49
- },
50
- "&[data-type=down]": {
51
- color: "stat.indicator.down"
52
- }
53
- }
54
- },
55
- variants: {
56
- orientation: {
57
- horizontal: {
58
- root: {
59
- flexDirection: "row",
60
- alignItems: "center"
61
- }
62
- }
63
- },
64
- positive: {
65
- true: {
66
- valueText: {
67
- color: "stat.indicator.up"
68
- }
69
- },
70
- false: {
71
- valueText: {
72
- color: "stat.indicator.down"
73
- }
74
- }
75
- },
76
- size: {
77
- sm: {
78
- valueText: {
79
- textStyle: "sm"
80
- }
81
- },
82
- md: {
83
- valueText: {
84
- textStyle: "md"
85
- }
86
- },
87
- lg: {
88
- valueText: {
89
- textStyle: "lg"
90
- }
91
- }
92
- }
93
- },
94
- defaultVariants: {
95
- size: "md",
96
- orientation: "horizontal"
97
- }
98
- });
99
- export {
100
- i as recipe
101
- };
@@ -1,125 +0,0 @@
1
- import { defineSlotRecipe as i } from "@chakra-ui/react";
2
- const e = i({
3
- slots: ["root", "label", "indicator", "control", "thumb"],
4
- className: "chakra-switch",
5
- base: {
6
- root: {
7
- display: "inline-flex",
8
- gap: "2.5",
9
- alignItems: "center",
10
- position: "relative",
11
- verticalAlign: "middle",
12
- "--switch-diff": "calc(var(--switch-width) - var(--switch-height))",
13
- "--switch-x": {
14
- base: "var(--switch-diff)",
15
- _rtl: "calc(var(--switch-diff) * -1)"
16
- }
17
- },
18
- label: {
19
- lineHeight: "1",
20
- userSelect: "none",
21
- fontSize: "sm",
22
- fontWeight: "400",
23
- _disabled: {
24
- opacity: "0.5"
25
- }
26
- },
27
- indicator: {
28
- position: "absolute",
29
- height: "var(--switch-height)",
30
- width: "var(--switch-height)",
31
- fontSize: "var(--switch-indicator-font-size)",
32
- flexShrink: 0,
33
- userSelect: "none",
34
- display: "grid",
35
- placeContent: "center",
36
- transition: "inset-inline-start 0.12s ease",
37
- insetInlineStart: "calc(var(--switch-x) - 2px)",
38
- _checked: {
39
- insetInlineStart: "2px"
40
- }
41
- },
42
- control: {
43
- display: "inline-flex",
44
- gap: "0.5rem",
45
- flexShrink: 0,
46
- justifyContent: "flex-start",
47
- cursor: "switch",
48
- borderRadius: "full",
49
- position: "relative",
50
- width: "var(--switch-width)",
51
- height: "var(--switch-height)",
52
- _disabled: {
53
- opacity: "0.5",
54
- cursor: "not-allowed"
55
- },
56
- _invalid: {
57
- outline: "2px solid",
58
- outlineColor: "border.error",
59
- outlineOffset: "2px"
60
- }
61
- },
62
- thumb: {
63
- display: "flex",
64
- alignItems: "center",
65
- justifyContent: "center",
66
- flexShrink: 0,
67
- transitionProperty: "translate",
68
- transitionDuration: "fast",
69
- borderRadius: "inherit",
70
- _checked: {
71
- translate: "var(--switch-x) 0"
72
- }
73
- }
74
- },
75
- variants: {
76
- variant: {
77
- primary: {
78
- control: {
79
- borderRadius: "full",
80
- bg: "switch.primary.bg",
81
- focusVisibleRing: "outside",
82
- _checked: {
83
- bg: "switch.primary.bg.checked",
84
- _hover: {
85
- bg: "switch.primary.bg.hover"
86
- }
87
- }
88
- },
89
- thumb: {
90
- bg: "white",
91
- width: "var(--switch-height)",
92
- height: "var(--switch-height)",
93
- scale: "0.8",
94
- boxShadow: "sm",
95
- _checked: {
96
- bg: "white"
97
- }
98
- }
99
- }
100
- },
101
- size: {
102
- sm: {
103
- root: {
104
- "--switch-width": "26px",
105
- "--switch-height": "sizes.4",
106
- "--switch-indicator-font-size": "fontSizes.sm"
107
- }
108
- },
109
- md: {
110
- root: {
111
- "--switch-width": "34px",
112
- "--switch-height": "sizes.5",
113
- "--switch-indicator-font-size": "fontSizes.md"
114
- }
115
- }
116
- }
117
- },
118
- defaultVariants: {
119
- variant: "primary",
120
- size: "md"
121
- }
122
- });
123
- export {
124
- e as recipe
125
- };
@@ -1,83 +0,0 @@
1
- import { defineSlotRecipe as e } from "@chakra-ui/react";
2
- const o = e({
3
- slots: ["root", "row", "cell", "columnHeader", "caption", "footer", "body", "header"],
4
- base: {
5
- root: {
6
- tableLayout: "fixed",
7
- fontVariant: "normal",
8
- fontVariantLigatures: "no-contextual",
9
- borderCollapse: "collapse",
10
- width: "full",
11
- textAlign: "start",
12
- verticalAlign: "top",
13
- overflow: "unset"
14
- },
15
- cell: {
16
- textAlign: "start",
17
- alignItems: "center",
18
- verticalAlign: "top",
19
- fontWeight: "medium"
20
- },
21
- columnHeader: {
22
- fontWeight: "medium",
23
- textAlign: "start"
24
- }
25
- },
26
- variants: {
27
- variant: {
28
- line: {
29
- columnHeader: {
30
- color: "table.header.fg",
31
- backgroundColor: "table.header.bg",
32
- _first: {
33
- borderTopLeftRadius: "8px"
34
- },
35
- _last: {
36
- borderTopRightRadius: "8px"
37
- }
38
- },
39
- cell: {
40
- borderBottomWidth: "1px",
41
- borderColor: "border.divider"
42
- },
43
- row: {
44
- bg: "bg"
45
- }
46
- }
47
- },
48
- size: {
49
- md: {
50
- root: {
51
- fontSize: "sm"
52
- },
53
- columnHeader: {
54
- px: "6px",
55
- py: "10px",
56
- _first: {
57
- pl: 3
58
- },
59
- _last: {
60
- pr: 3
61
- }
62
- },
63
- cell: {
64
- px: "6px",
65
- py: 4,
66
- _first: {
67
- pl: 3
68
- },
69
- _last: {
70
- pr: 3
71
- }
72
- }
73
- }
74
- }
75
- },
76
- defaultVariants: {
77
- variant: "line",
78
- size: "md"
79
- }
80
- });
81
- export {
82
- o as recipe
83
- };