@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
@@ -1,272 +0,0 @@
1
- import { defineRecipe as o } from "@chakra-ui/react";
2
- const r = o({
3
- base: {
4
- display: "flex",
5
- gap: 0,
6
- fontWeight: 600,
7
- overflow: "hidden",
8
- _disabled: {
9
- opacity: "control.disabled"
10
- },
11
- _loading: {
12
- bgColor: "unset"
13
- }
14
- },
15
- variants: {
16
- variant: {
17
- solid: {
18
- bg: "blue.600",
19
- color: "white",
20
- "&:not([data-loading-skeleton])": {
21
- bgColor: "blue.600",
22
- _expanded: {
23
- bg: "blue.400"
24
- }
25
- },
26
- _hover: {
27
- bg: "blue.400"
28
- },
29
- _loading: {
30
- opacity: 1,
31
- "& .chakra-spinner": {
32
- borderColor: "gray.200",
33
- borderBottomColor: "spinner.track",
34
- borderInlineStartColor: "spinner.track"
35
- }
36
- }
37
- },
38
- outline: {
39
- borderWidth: "0px",
40
- borderStyle: "solid",
41
- bg: "transparent",
42
- color: "button.outline.fg",
43
- borderColor: "button.outline.fg",
44
- "&:not([data-loading-skeleton])": {
45
- borderWidth: "2px"
46
- },
47
- _hover: {
48
- bg: "transparent",
49
- color: "blue.400",
50
- borderColor: "blue.400"
51
- },
52
- _loading: {
53
- opacity: 1,
54
- "& .chakra-spinner": {
55
- borderColor: "button.outline.fg",
56
- borderBottomColor: "spinner.track",
57
- borderInlineStartColor: "spinner.track"
58
- }
59
- }
60
- },
61
- dropdown: {
62
- borderWidth: "0px",
63
- borderStyle: "solid",
64
- bg: "transparent",
65
- color: "button.dropdown.fg",
66
- borderColor: "button.dropdown.border",
67
- "&:not([data-loading-skeleton])": {
68
- borderWidth: "2px"
69
- },
70
- _hover: {
71
- bg: "transparent",
72
- color: "blue.400",
73
- borderColor: "blue.400"
74
- },
75
- _loading: {
76
- opacity: 1,
77
- "& .chakra-spinner": {
78
- borderColor: "blue.500",
79
- borderBottomColor: "spinner.track",
80
- borderInlineStartColor: "spinner.track"
81
- }
82
- },
83
- // When the dropdown is open, the button should be active
84
- _expanded: {
85
- bg: "transparent",
86
- color: "blue.400",
87
- borderColor: "blue.400"
88
- },
89
- // We have a special state for this button variant that serves as a popover trigger.
90
- // When any items (filters) are selected in the popover, the button should change its background and text color.
91
- // The last CSS selector is for redefining styles for the TabList component.
92
- _selected: {
93
- bg: "button.dropdown.bg.selected",
94
- color: "button.dropdown.fg.selected",
95
- borderColor: "transparent",
96
- _hover: {
97
- bg: "button.dropdown.bg.selected",
98
- color: "button.dropdown.fg.selected",
99
- borderColor: "transparent"
100
- }
101
- }
102
- },
103
- header: {
104
- bg: "transparent",
105
- color: "button.header.fg",
106
- borderColor: "button.header.border",
107
- borderWidth: "2px",
108
- borderStyle: "solid",
109
- _hover: {
110
- bg: "transparent",
111
- color: "blue.400",
112
- borderColor: "blue.400"
113
- },
114
- _loading: {
115
- opacity: 1,
116
- "& .chakra-spinner": {
117
- borderColor: "blue.500",
118
- borderBottomColor: "spinner.track",
119
- borderInlineStartColor: "spinner.track"
120
- }
121
- },
122
- _selected: {
123
- bg: "button.header.bg.selected",
124
- color: "button.header.fg.selected",
125
- borderColor: "transparent",
126
- borderWidth: "0px",
127
- _hover: {
128
- bg: "button.header.bg.selected",
129
- color: "button.header.fg.selected"
130
- },
131
- _highlighted: {
132
- bg: "button.header.bg.highlighted",
133
- color: "button.header.fg.highlighted",
134
- borderColor: "transparent",
135
- borderWidth: "0px",
136
- _hover: {
137
- bg: "button.header.bg.highlighted",
138
- color: "button.header.fg.highlighted"
139
- }
140
- }
141
- }
142
- },
143
- hero: {
144
- bg: "button.hero.bg",
145
- color: "button.hero.fg",
146
- "&:not([data-loading-skeleton])": {
147
- bg: "button.hero.bg"
148
- },
149
- _loading: {
150
- opacity: 1,
151
- "& .chakra-spinner": {
152
- borderColor: "button.hero.fg",
153
- borderBottomColor: "spinner.track",
154
- borderInlineStartColor: "spinner.track"
155
- }
156
- },
157
- _hover: {
158
- bg: "button.hero.bg.hover",
159
- color: "button.hero.fg.hover"
160
- },
161
- _selected: {
162
- bg: "button.hero.bg.selected",
163
- color: "button.hero.fg.selected",
164
- _hover: {
165
- bg: "button.hero.bg.selected",
166
- color: "button.hero.fg.selected"
167
- }
168
- }
169
- },
170
- segmented: {
171
- bg: "transparent",
172
- color: "button.segmented.fg",
173
- borderColor: "button.segmented.border",
174
- borderWidth: "2px",
175
- borderStyle: "solid",
176
- borderRadius: "none",
177
- _hover: {
178
- color: "link.primary.hover"
179
- },
180
- _selected: {
181
- bg: "button.segmented.border",
182
- color: "button.segmented.fg.selected",
183
- _hover: {
184
- bg: "button.segmented.border",
185
- color: "button.segmented.fg.selected"
186
- }
187
- },
188
- _notFirst: {
189
- borderLeftWidth: "0"
190
- },
191
- _first: {
192
- borderTopLeftRadius: "base",
193
- borderBottomLeftRadius: "base"
194
- },
195
- _last: {
196
- borderTopRightRadius: "base",
197
- borderBottomRightRadius: "base"
198
- }
199
- },
200
- plain: {
201
- bg: "transparent",
202
- color: "inherit",
203
- border: "none",
204
- _hover: {
205
- bg: "transparent"
206
- }
207
- },
208
- subtle: {
209
- bg: "button.subtle.bg",
210
- color: "button.subtle.fg",
211
- "&:not([data-loading-skeleton])": {
212
- bg: "button.subtle.bg"
213
- },
214
- _hover: {
215
- bg: "button.subtle.bg",
216
- color: "link.primary.hover"
217
- },
218
- _disabled: {
219
- bg: "button.subtle.bg",
220
- color: "button.subtle.fg"
221
- }
222
- },
223
- link: {
224
- bg: "transparent",
225
- color: "link.primary",
226
- border: "none",
227
- fontWeight: "400",
228
- px: 0,
229
- h: "auto",
230
- _hover: {
231
- bg: "transparent",
232
- color: "link.primary.hover"
233
- },
234
- _disabled: {
235
- color: "text.secondary"
236
- }
237
- },
238
- icon_secondary: {
239
- bg: "transparent",
240
- color: "button.icon_secondary.fg",
241
- border: "none",
242
- _hover: {
243
- color: "link.primary.hover"
244
- },
245
- _selected: {
246
- bg: "button.icon_secondary.bg.selected",
247
- color: "button.icon_secondary.fg.selected",
248
- _hover: {
249
- bg: "button.icon_secondary.bg.selected",
250
- color: "button.icon_secondary.fg.selected"
251
- }
252
- },
253
- _expanded: {
254
- color: "link.primary.hover"
255
- }
256
- }
257
- },
258
- size: {
259
- "2xs": { px: 2, h: 5, minW: 5, textStyle: "xs", borderRadius: "sm", gap: 1 },
260
- xs: { px: 2, h: 6, minW: 6, textStyle: "sm", borderRadius: "sm", gap: 1 },
261
- sm: { px: 3, h: 8, minW: 8, textStyle: "sm", borderRadius: "base", gap: 1 },
262
- md: { px: 3, h: 10, minW: 10, textStyle: "md", borderRadius: "base", gap: 2, "& .chakra-spinner": { "--spinner-size": "20px" } }
263
- }
264
- },
265
- defaultVariants: {
266
- size: "md",
267
- variant: "solid"
268
- }
269
- });
270
- export {
271
- r as recipe
272
- };
@@ -1,270 +0,0 @@
1
- import { defineRecipe } from '@chakra-ui/react';
2
-
3
- export const recipe = defineRecipe({
4
- base: {
5
- display: 'flex',
6
- gap: 0,
7
- fontWeight: 600,
8
- overflow: 'hidden',
9
- _disabled: {
10
- opacity: 'control.disabled',
11
- },
12
- _loading: {
13
- bgColor: 'unset',
14
- },
15
- },
16
- variants: {
17
- variant: {
18
- solid: {
19
- bg: 'blue.600',
20
- color: 'white',
21
- '&:not([data-loading-skeleton])': {
22
- bgColor: 'blue.600',
23
- _expanded: {
24
- bg: 'blue.400',
25
- },
26
- },
27
- _hover: {
28
- bg: 'blue.400',
29
- },
30
- _loading: {
31
- opacity: 1,
32
- '& .chakra-spinner': {
33
- borderColor: 'gray.200',
34
- borderBottomColor: 'spinner.track',
35
- borderInlineStartColor: 'spinner.track',
36
- },
37
- },
38
- },
39
- outline: {
40
- borderWidth: '0px',
41
- borderStyle: 'solid',
42
- bg: 'transparent',
43
- color: 'button.outline.fg',
44
- borderColor: 'button.outline.fg',
45
- '&:not([data-loading-skeleton])': {
46
- borderWidth: '2px',
47
- },
48
- _hover: {
49
- bg: 'transparent',
50
- color: 'blue.400',
51
- borderColor: 'blue.400',
52
- },
53
- _loading: {
54
- opacity: 1,
55
- '& .chakra-spinner': {
56
- borderColor: 'button.outline.fg',
57
- borderBottomColor: 'spinner.track',
58
- borderInlineStartColor: 'spinner.track',
59
- },
60
- },
61
- },
62
- dropdown: {
63
- borderWidth: '0px',
64
- borderStyle: 'solid',
65
- bg: 'transparent',
66
- color: 'button.dropdown.fg',
67
- borderColor: 'button.dropdown.border',
68
- '&:not([data-loading-skeleton])': {
69
- borderWidth: '2px',
70
- },
71
- _hover: {
72
- bg: 'transparent',
73
- color: 'blue.400',
74
- borderColor: 'blue.400',
75
- },
76
- _loading: {
77
- opacity: 1,
78
- '& .chakra-spinner': {
79
- borderColor: 'blue.500',
80
- borderBottomColor: 'spinner.track',
81
- borderInlineStartColor: 'spinner.track',
82
- },
83
- },
84
- // When the dropdown is open, the button should be active
85
- _expanded: {
86
- bg: 'transparent',
87
- color: 'blue.400',
88
- borderColor: 'blue.400',
89
- },
90
- // We have a special state for this button variant that serves as a popover trigger.
91
- // When any items (filters) are selected in the popover, the button should change its background and text color.
92
- // The last CSS selector is for redefining styles for the TabList component.
93
- _selected: {
94
- bg: 'button.dropdown.bg.selected',
95
- color: 'button.dropdown.fg.selected',
96
- borderColor: 'transparent',
97
- _hover: {
98
- bg: 'button.dropdown.bg.selected',
99
- color: 'button.dropdown.fg.selected',
100
- borderColor: 'transparent',
101
- },
102
- },
103
- },
104
- header: {
105
- bg: 'transparent',
106
- color: 'button.header.fg',
107
- borderColor: 'button.header.border',
108
- borderWidth: '2px',
109
- borderStyle: 'solid',
110
- _hover: {
111
- bg: 'transparent',
112
- color: 'blue.400',
113
- borderColor: 'blue.400',
114
- },
115
- _loading: {
116
- opacity: 1,
117
- '& .chakra-spinner': {
118
- borderColor: 'blue.500',
119
- borderBottomColor: 'spinner.track',
120
- borderInlineStartColor: 'spinner.track',
121
- },
122
- },
123
- _selected: {
124
- bg: 'button.header.bg.selected',
125
- color: 'button.header.fg.selected',
126
- borderColor: 'transparent',
127
- borderWidth: '0px',
128
- _hover: {
129
- bg: 'button.header.bg.selected',
130
- color: 'button.header.fg.selected',
131
- },
132
- _highlighted: {
133
- bg: 'button.header.bg.highlighted',
134
- color: 'button.header.fg.highlighted',
135
- borderColor: 'transparent',
136
- borderWidth: '0px',
137
- _hover: {
138
- bg: 'button.header.bg.highlighted',
139
- color: 'button.header.fg.highlighted',
140
- },
141
- },
142
- },
143
- },
144
- hero: {
145
- bg: 'button.hero.bg',
146
- color: 'button.hero.fg',
147
- '&:not([data-loading-skeleton])': {
148
- bg: 'button.hero.bg',
149
- },
150
- _loading: {
151
- opacity: 1,
152
- '& .chakra-spinner': {
153
- borderColor: 'button.hero.fg',
154
- borderBottomColor: 'spinner.track',
155
- borderInlineStartColor: 'spinner.track',
156
- },
157
- },
158
- _hover: {
159
- bg: 'button.hero.bg.hover',
160
- color: 'button.hero.fg.hover',
161
- },
162
- _selected: {
163
- bg: 'button.hero.bg.selected',
164
- color: 'button.hero.fg.selected',
165
- _hover: {
166
- bg: 'button.hero.bg.selected',
167
- color: 'button.hero.fg.selected',
168
- },
169
- },
170
- },
171
- segmented: {
172
- bg: 'transparent',
173
- color: 'button.segmented.fg',
174
- borderColor: 'button.segmented.border',
175
- borderWidth: '2px',
176
- borderStyle: 'solid',
177
- borderRadius: 'none',
178
- _hover: {
179
- color: 'link.primary.hover',
180
- },
181
- _selected: {
182
- bg: 'button.segmented.border',
183
- color: 'button.segmented.fg.selected',
184
- _hover: {
185
- bg: 'button.segmented.border',
186
- color: 'button.segmented.fg.selected',
187
- },
188
- },
189
- _notFirst: {
190
- borderLeftWidth: '0',
191
- },
192
- _first: {
193
- borderTopLeftRadius: 'base',
194
- borderBottomLeftRadius: 'base',
195
- },
196
- _last: {
197
- borderTopRightRadius: 'base',
198
- borderBottomRightRadius: 'base',
199
- },
200
- },
201
- plain: {
202
- bg: 'transparent',
203
- color: 'inherit',
204
- border: 'none',
205
- _hover: {
206
- bg: 'transparent',
207
- },
208
- },
209
- subtle: {
210
- bg: 'button.subtle.bg',
211
- color: 'button.subtle.fg',
212
- '&:not([data-loading-skeleton])': {
213
- bg: 'button.subtle.bg',
214
- },
215
- _hover: {
216
- bg: 'button.subtle.bg',
217
- color: 'link.primary.hover',
218
- },
219
- _disabled: {
220
- bg: 'button.subtle.bg',
221
- color: 'button.subtle.fg',
222
- },
223
- },
224
- link: {
225
- bg: 'transparent',
226
- color: 'link.primary',
227
- border: 'none',
228
- fontWeight: '400',
229
- px: 0,
230
- h: 'auto',
231
- _hover: {
232
- bg: 'transparent',
233
- color: 'link.primary.hover',
234
- },
235
- _disabled: {
236
- color: 'text.secondary',
237
- },
238
- },
239
- icon_secondary: {
240
- bg: 'transparent',
241
- color: 'button.icon_secondary.fg',
242
- border: 'none',
243
- _hover: {
244
- color: 'link.primary.hover',
245
- },
246
- _selected: {
247
- bg: 'button.icon_secondary.bg.selected',
248
- color: 'button.icon_secondary.fg.selected',
249
- _hover: {
250
- bg: 'button.icon_secondary.bg.selected',
251
- color: 'button.icon_secondary.fg.selected',
252
- },
253
- },
254
- _expanded: {
255
- color: 'link.primary.hover',
256
- },
257
- },
258
- },
259
- size: {
260
- '2xs': { px: 2, h: 5, minW: 5, textStyle: 'xs', borderRadius: 'sm', gap: 1 },
261
- xs: { px: 2, h: 6, minW: 6, textStyle: 'sm', borderRadius: 'sm', gap: 1 },
262
- sm: { px: 3, h: 8, minW: 8, textStyle: 'sm', borderRadius: 'base', gap: 1 },
263
- md: { px: 3, h: 10, minW: 10, textStyle: 'md', borderRadius: 'base', gap: 2, '& .chakra-spinner': { '--spinner-size': '20px' } },
264
- },
265
- },
266
- defaultVariants: {
267
- size: 'md',
268
- variant: 'solid',
269
- },
270
- });
@@ -1,53 +0,0 @@
1
- import { defineSlotRecipe as i } from "@chakra-ui/react";
2
- import { recipe as e } from "./checkmark.recipe.js";
3
- var o, a, r, t;
4
- const n = i({
5
- slots: ["root", "control", "label"],
6
- className: "chakra-checkbox",
7
- base: {
8
- root: {
9
- display: "inline-flex",
10
- gap: "2",
11
- alignItems: "center",
12
- verticalAlign: "top",
13
- position: "relative",
14
- cursor: "pointer",
15
- _disabled: {
16
- cursor: "disabled"
17
- },
18
- _readOnly: {
19
- cursor: "default"
20
- }
21
- },
22
- control: e.base,
23
- label: {
24
- fontWeight: "normal",
25
- userSelect: "none",
26
- flexGrow: 1,
27
- _disabled: {
28
- opacity: "control.disabled"
29
- }
30
- }
31
- },
32
- variants: {
33
- size: {
34
- md: {
35
- root: { gap: "2" },
36
- label: { textStyle: "md" },
37
- control: (a = (o = e.variants) == null ? void 0 : o.size) == null ? void 0 : a.md
38
- }
39
- },
40
- variant: {
41
- solid: {
42
- control: (t = (r = e.variants) == null ? void 0 : r.variant) == null ? void 0 : t.solid
43
- }
44
- }
45
- },
46
- defaultVariants: {
47
- variant: "solid",
48
- size: "md"
49
- }
50
- });
51
- export {
52
- n as recipe
53
- };
@@ -1,56 +0,0 @@
1
- import { defineSlotRecipe } from '@chakra-ui/react';
2
-
3
- import { recipe as checkmarkRecipe } from './checkmark.recipe';
4
-
5
- export const recipe = defineSlotRecipe({
6
- slots: [ 'root', 'control', 'label' ],
7
- className: 'chakra-checkbox',
8
- base: {
9
- root: {
10
- display: 'inline-flex',
11
- gap: '2',
12
- alignItems: 'center',
13
- verticalAlign: 'top',
14
- position: 'relative',
15
- cursor: 'pointer',
16
- _disabled: {
17
- cursor: 'disabled',
18
- },
19
- _readOnly: {
20
- cursor: 'default',
21
- },
22
- },
23
-
24
- control: checkmarkRecipe.base,
25
-
26
- label: {
27
- fontWeight: 'normal',
28
- userSelect: 'none',
29
- flexGrow: 1,
30
- _disabled: {
31
- opacity: 'control.disabled',
32
- },
33
- },
34
- },
35
-
36
- variants: {
37
- size: {
38
- md: {
39
- root: { gap: '2' },
40
- label: { textStyle: 'md' },
41
- control: checkmarkRecipe.variants?.size?.md,
42
- },
43
- },
44
-
45
- variant: {
46
- solid: {
47
- control: checkmarkRecipe.variants?.variant?.solid,
48
- },
49
- },
50
- },
51
-
52
- defaultVariants: {
53
- variant: 'solid',
54
- size: 'md',
55
- },
56
- });