@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,219 +0,0 @@
1
- import { defineSlotRecipe } from '@chakra-ui/react';
2
-
3
- export const recipe = defineSlotRecipe({
4
- slots: [ 'root', 'list', 'trigger', 'content', 'indicator' ],
5
- base: {
6
- root: {
7
- '--tabs-trigger-radius': 'radii.l2',
8
- position: 'relative',
9
- _horizontal: {
10
- display: 'block',
11
- },
12
- _vertical: {
13
- display: 'flex',
14
- },
15
- },
16
- list: {
17
- display: 'inline-flex',
18
- width: '100%',
19
- position: 'relative',
20
- isolation: 'isolate',
21
- '--tabs-indicator-shadow': 'shadows.xs',
22
- '--tabs-indicator-bg': 'colors.bg',
23
- minH: 'var(--tabs-height)',
24
- _horizontal: {
25
- flexDirection: 'row',
26
- },
27
- _vertical: {
28
- flexDirection: 'column',
29
- },
30
- },
31
- trigger: {
32
- outline: '0',
33
- minW: 'var(--tabs-height)',
34
- height: 'var(--tabs-height)',
35
- display: 'flex',
36
- alignItems: 'center',
37
- position: 'relative',
38
- cursor: 'button',
39
- gap: '2',
40
- _focusVisible: {
41
- zIndex: 1,
42
- outline: '2px solid',
43
- outlineColor: 'colorPalette.focusRing',
44
- },
45
- _disabled: {
46
- cursor: 'not-allowed',
47
- opacity: 0.5,
48
- },
49
- },
50
- content: {
51
- focusVisibleRing: 'inside',
52
- _horizontal: {
53
- width: '100%',
54
- pt: 'var(--tabs-content-padding)',
55
- },
56
- _vertical: {
57
- height: '100%',
58
- ps: 'var(--tabs-content-padding)',
59
- },
60
- },
61
- indicator: {
62
- width: 'var(--width)',
63
- height: 'var(--height)',
64
- borderRadius: 'var(--tabs-indicator-radius)',
65
- bg: 'var(--tabs-indicator-bg)',
66
- shadow: 'var(--tabs-indicator-shadow)',
67
- zIndex: -1,
68
- },
69
- },
70
-
71
- variants: {
72
- fitted: {
73
- 'true': {
74
- list: {
75
- display: 'flex',
76
- },
77
- trigger: {
78
- flex: 1,
79
- textAlign: 'center',
80
- justifyContent: 'center',
81
- },
82
- },
83
- },
84
-
85
- justify: {
86
- start: {
87
- list: {
88
- justifyContent: 'flex-start',
89
- },
90
- },
91
- center: {
92
- list: {
93
- justifyContent: 'center',
94
- },
95
- },
96
- end: {
97
- list: {
98
- justifyContent: 'flex-end',
99
- },
100
- },
101
- },
102
-
103
- size: {
104
- sm: {
105
- root: {
106
- '--tabs-height': 'sizes.8',
107
- '--tabs-content-padding': 'spacing.6',
108
- },
109
- trigger: {
110
- py: '1',
111
- px: '3',
112
- textStyle: 'sm',
113
- },
114
- },
115
- md: {
116
- root: {
117
- '--tabs-height': 'sizes.10',
118
- '--tabs-content-padding': 'spacing.6',
119
- },
120
- trigger: {
121
- py: '2',
122
- px: '4',
123
- textStyle: 'md',
124
- },
125
- },
126
- free: {},
127
- },
128
-
129
- variant: {
130
- solid: {
131
- trigger: {
132
- fontWeight: '600',
133
- gap: '1',
134
- borderRadius: 'base',
135
- color: 'tabs.solid.fg',
136
- bg: 'transparent',
137
- _selected: {
138
- bg: 'tabs.solid.bg.selected',
139
- color: 'tabs.solid.fg.selected',
140
- _hover: {
141
- color: 'tabs.solid.fg.selected',
142
- },
143
- },
144
- _hover: {
145
- color: 'link.primary.hover',
146
- },
147
- },
148
- },
149
- secondary: {
150
- list: {
151
- border: 'none',
152
- columnGap: '2',
153
- _horizontal: {
154
- _before: {
155
- display: 'none',
156
- },
157
- },
158
- },
159
- trigger: {
160
- fontWeight: '500',
161
- color: 'tabs.secondary.fg',
162
- bg: 'transparent',
163
- borderWidth: '2px',
164
- borderStyle: 'solid',
165
- borderColor: 'tabs.secondary.border',
166
- borderRadius: 'base',
167
- _selected: {
168
- bg: 'tabs.secondary.bg.selected',
169
- borderColor: 'transparent',
170
- _hover: {
171
- borderColor: 'transparent',
172
- },
173
- },
174
- _hover: {
175
- color: 'link.primary.hover',
176
- borderColor: 'link.primary.hover',
177
- },
178
- },
179
- },
180
- segmented: {
181
- trigger: {
182
- color: 'tabs.segmented.fg',
183
- bg: 'transparent',
184
- borderWidth: '2px',
185
- borderStyle: 'solid',
186
- borderColor: 'tabs.segmented.border',
187
- _hover: {
188
- color: 'link.primary.hover',
189
- },
190
- _selected: {
191
- color: 'tabs.segmented.fg.selected',
192
- bg: 'tabs.segmented.border',
193
- borderColor: 'tabs.segmented.border',
194
- _hover: {
195
- color: 'tabs.segmented.fg.selected',
196
- },
197
- },
198
- _notFirst: {
199
- borderLeftWidth: '0',
200
- },
201
- _first: {
202
- borderTopLeftRadius: 'base',
203
- borderBottomLeftRadius: 'base',
204
- },
205
- _last: {
206
- borderTopRightRadius: 'base',
207
- borderBottomRightRadius: 'base',
208
- },
209
- },
210
- },
211
- unstyled: {},
212
- },
213
- },
214
-
215
- defaultVariants: {
216
- size: 'md',
217
- variant: 'solid',
218
- },
219
- });
@@ -1,157 +0,0 @@
1
- import { defineSlotRecipe as e } from "@chakra-ui/react";
2
- const o = e({
3
- slots: ["root", "label", "startElement", "endElement", "closeTrigger"],
4
- base: {
5
- root: {
6
- display: "inline-flex",
7
- alignItems: "center",
8
- verticalAlign: "top",
9
- maxWidth: "100%",
10
- userSelect: "none",
11
- borderRadius: "sm",
12
- focusVisibleRing: "outside",
13
- _loading: {
14
- borderRadius: "sm",
15
- bgColor: "unset"
16
- }
17
- },
18
- label: {
19
- lineClamp: "1",
20
- whiteSpace: "nowrap",
21
- textOverflow: "ellipsis",
22
- fontWeight: "medium",
23
- display: "inline"
24
- },
25
- closeTrigger: {
26
- display: "flex",
27
- alignItems: "center",
28
- justifyContent: "center",
29
- outline: "0",
30
- borderRadius: "none",
31
- color: "closeButton.fg",
32
- focusVisibleRing: "inside",
33
- focusRingWidth: "2px",
34
- _hover: {
35
- color: "link.primary.hover"
36
- }
37
- },
38
- startElement: {
39
- flexShrink: 0,
40
- display: "inline-flex",
41
- alignItems: "center",
42
- justifyContent: "center",
43
- boxSize: "var(--tag-element-size)",
44
- ms: "var(--tag-element-offset)",
45
- "&:has([data-scope=avatar])": {
46
- boxSize: "var(--tag-avatar-size)",
47
- ms: "calc(var(--tag-element-offset) * 1.5)"
48
- },
49
- _icon: { boxSize: "100%" }
50
- },
51
- endElement: {
52
- flexShrink: 0,
53
- display: "inline-flex",
54
- alignItems: "center",
55
- justifyContent: "center",
56
- boxSize: "var(--tag-element-size)",
57
- me: "var(--tag-element-offset)",
58
- _icon: { boxSize: "100%" },
59
- "&:has(button)": {
60
- ms: "calc(var(--tag-element-offset) * -1)"
61
- }
62
- }
63
- },
64
- variants: {
65
- size: {
66
- md: {
67
- root: {
68
- px: "1",
69
- py: "0.5",
70
- minH: "6",
71
- gap: "1",
72
- "--tag-avatar-size": "spacing.4",
73
- "--tag-element-size": "spacing.3",
74
- "--tag-element-offset": "0px"
75
- },
76
- label: {
77
- textStyle: "sm"
78
- }
79
- },
80
- lg: {
81
- root: {
82
- px: "6px",
83
- py: "6px",
84
- minH: "8",
85
- gap: "1",
86
- "--tag-avatar-size": "spacing.4",
87
- "--tag-element-size": "spacing.3",
88
- "--tag-element-offset": "0px"
89
- },
90
- label: {
91
- textStyle: "sm"
92
- }
93
- }
94
- },
95
- variant: {
96
- subtle: {
97
- root: {
98
- bgColor: "tag.root.subtle.bg",
99
- color: "tag.root.subtle.fg",
100
- "&:not([data-loading], [aria-busy=true])": {
101
- bgColor: "tag.root.subtle.bg"
102
- }
103
- }
104
- },
105
- clickable: {
106
- root: {
107
- cursor: "pointer",
108
- bgColor: "tag.root.clickable.bg",
109
- color: "tag.root.clickable.fg",
110
- "&:not([data-loading], [aria-busy=true])": {
111
- bgColor: "tag.root.clickable.bg"
112
- },
113
- _hover: {
114
- opacity: 0.76
115
- }
116
- }
117
- },
118
- filter: {
119
- root: {
120
- bgColor: "tag.root.filter.bg",
121
- "&:not([data-loading], [aria-busy=true])": {
122
- bgColor: "tag.root.filter.bg"
123
- }
124
- }
125
- },
126
- select: {
127
- root: {
128
- cursor: "pointer",
129
- bgColor: "tag.root.select.bg",
130
- color: "tag.root.select.fg",
131
- "&:not([data-loading], [aria-busy=true])": {
132
- bgColor: "tag.root.select.bg"
133
- },
134
- _hover: {
135
- color: "blue.400",
136
- opacity: 0.76
137
- },
138
- _selected: {
139
- bgColor: "tag.root.select.bg.selected",
140
- color: "whiteAlpha.800",
141
- _hover: {
142
- color: "whiteAlpha.800",
143
- opacity: 0.76
144
- }
145
- }
146
- }
147
- }
148
- }
149
- },
150
- defaultVariants: {
151
- size: "md",
152
- variant: "subtle"
153
- }
154
- });
155
- export {
156
- o as recipe
157
- };
@@ -1,158 +0,0 @@
1
- import { defineSlotRecipe } from '@chakra-ui/react';
2
-
3
- export const recipe = defineSlotRecipe({
4
- slots: [ 'root', 'label', 'startElement', 'endElement', 'closeTrigger' ],
5
- base: {
6
- root: {
7
- display: 'inline-flex',
8
- alignItems: 'center',
9
- verticalAlign: 'top',
10
- maxWidth: '100%',
11
- userSelect: 'none',
12
- borderRadius: 'sm',
13
- focusVisibleRing: 'outside',
14
- _loading: {
15
- borderRadius: 'sm',
16
- bgColor: 'unset',
17
- },
18
- },
19
- label: {
20
- lineClamp: '1',
21
- whiteSpace: 'nowrap',
22
- textOverflow: 'ellipsis',
23
- fontWeight: 'medium',
24
- display: 'inline',
25
- },
26
- closeTrigger: {
27
- display: 'flex',
28
- alignItems: 'center',
29
- justifyContent: 'center',
30
- outline: '0',
31
- borderRadius: 'none',
32
- color: 'closeButton.fg',
33
- focusVisibleRing: 'inside',
34
- focusRingWidth: '2px',
35
- _hover: {
36
- color: 'link.primary.hover',
37
- },
38
- },
39
- startElement: {
40
- flexShrink: 0,
41
- display: 'inline-flex',
42
- alignItems: 'center',
43
- justifyContent: 'center',
44
- boxSize: 'var(--tag-element-size)',
45
- ms: 'var(--tag-element-offset)',
46
- '&:has([data-scope=avatar])': {
47
- boxSize: 'var(--tag-avatar-size)',
48
- ms: 'calc(var(--tag-element-offset) * 1.5)',
49
- },
50
- _icon: { boxSize: '100%' },
51
- },
52
- endElement: {
53
- flexShrink: 0,
54
- display: 'inline-flex',
55
- alignItems: 'center',
56
- justifyContent: 'center',
57
- boxSize: 'var(--tag-element-size)',
58
- me: 'var(--tag-element-offset)',
59
- _icon: { boxSize: '100%' },
60
- '&:has(button)': {
61
- ms: 'calc(var(--tag-element-offset) * -1)',
62
- },
63
- },
64
- },
65
-
66
- variants: {
67
- size: {
68
- md: {
69
- root: {
70
- px: '1',
71
- py: '0.5',
72
- minH: '6',
73
- gap: '1',
74
- '--tag-avatar-size': 'spacing.4',
75
- '--tag-element-size': 'spacing.3',
76
- '--tag-element-offset': '0px',
77
- },
78
- label: {
79
- textStyle: 'sm',
80
- },
81
- },
82
- lg: {
83
- root: {
84
- px: '6px',
85
- py: '6px',
86
- minH: '8',
87
- gap: '1',
88
- '--tag-avatar-size': 'spacing.4',
89
- '--tag-element-size': 'spacing.3',
90
- '--tag-element-offset': '0px',
91
- },
92
- label: {
93
- textStyle: 'sm',
94
- },
95
- },
96
- },
97
-
98
- variant: {
99
- subtle: {
100
- root: {
101
- bgColor: 'tag.root.subtle.bg',
102
- color: 'tag.root.subtle.fg',
103
- '&:not([data-loading], [aria-busy=true])': {
104
- bgColor: 'tag.root.subtle.bg',
105
- },
106
- },
107
- },
108
- clickable: {
109
- root: {
110
- cursor: 'pointer',
111
- bgColor: 'tag.root.clickable.bg',
112
- color: 'tag.root.clickable.fg',
113
- '&:not([data-loading], [aria-busy=true])': {
114
- bgColor: 'tag.root.clickable.bg',
115
- },
116
- _hover: {
117
- opacity: 0.76,
118
- },
119
- },
120
- },
121
- filter: {
122
- root: {
123
- bgColor: 'tag.root.filter.bg',
124
- '&:not([data-loading], [aria-busy=true])': {
125
- bgColor: 'tag.root.filter.bg',
126
- },
127
- },
128
- },
129
- select: {
130
- root: {
131
- cursor: 'pointer',
132
- bgColor: 'tag.root.select.bg',
133
- color: 'tag.root.select.fg',
134
- '&:not([data-loading], [aria-busy=true])': {
135
- bgColor: 'tag.root.select.bg',
136
- },
137
- _hover: {
138
- color: 'blue.400',
139
- opacity: 0.76,
140
- },
141
- _selected: {
142
- bgColor: 'tag.root.select.bg.selected',
143
- color: 'whiteAlpha.800',
144
- _hover: {
145
- color: 'whiteAlpha.800',
146
- opacity: 0.76,
147
- },
148
- },
149
- },
150
- },
151
- },
152
- },
153
-
154
- defaultVariants: {
155
- size: 'md',
156
- variant: 'subtle',
157
- },
158
- });
@@ -1,86 +0,0 @@
1
- import { defineRecipe as r } from "@chakra-ui/react";
2
- const e = r({
3
- base: {
4
- width: "100%",
5
- minWidth: "0",
6
- minHeight: "160px",
7
- outline: "0",
8
- position: "relative",
9
- appearance: "none",
10
- textAlign: "start",
11
- borderRadius: "base",
12
- color: "input.fg",
13
- "--focus-color": "colors.border.error",
14
- "--error-color": "colors.border.error",
15
- _invalid: {
16
- focusRingColor: "var(--error-color)",
17
- borderColor: "var(--error-color)"
18
- }
19
- },
20
- variants: {
21
- size: {
22
- "2xl": {
23
- textStyle: "md",
24
- py: "4",
25
- pl: "4",
26
- pr: "5",
27
- // === scrollbar width
28
- scrollPaddingBottom: "4"
29
- }
30
- },
31
- variant: {
32
- outline: {
33
- bg: "input.bg",
34
- borderWidth: "2px",
35
- borderColor: "input.border",
36
- focusVisibleRing: "none",
37
- _hover: {
38
- borderColor: "input.border.hover"
39
- },
40
- _focus: {
41
- borderColor: "input.border.focus",
42
- boxShadow: "size.md",
43
- _hover: {
44
- borderColor: "input.border.focus"
45
- }
46
- },
47
- _readOnly: {
48
- userSelect: "all",
49
- bg: "input.bg.readOnly",
50
- borderColor: "input.border.readOnly",
51
- _focus: {
52
- borderColor: "input.border.readOnly"
53
- },
54
- _hover: {
55
- borderColor: "input.border.readOnly"
56
- }
57
- },
58
- _disabled: {
59
- pointerEvents: "none",
60
- opacity: "control.disabled"
61
- },
62
- _invalid: {
63
- borderColor: "input.border.error",
64
- _hover: {
65
- borderColor: "input.border.error"
66
- }
67
- }
68
- }
69
- },
70
- floating: {
71
- true: {
72
- paddingTop: "8",
73
- _placeholderShown: {
74
- paddingTop: "10"
75
- }
76
- }
77
- }
78
- },
79
- defaultVariants: {
80
- size: "2xl",
81
- variant: "outline"
82
- }
83
- });
84
- export {
85
- e as recipe
86
- };
@@ -1,86 +0,0 @@
1
- import { defineRecipe } from '@chakra-ui/react';
2
-
3
- export const recipe = defineRecipe({
4
- base: {
5
- width: '100%',
6
- minWidth: '0',
7
- minHeight: '160px',
8
- outline: '0',
9
- position: 'relative',
10
- appearance: 'none',
11
- textAlign: 'start',
12
- borderRadius: 'base',
13
- color: 'input.fg',
14
- '--focus-color': 'colors.border.error',
15
- '--error-color': 'colors.border.error',
16
- _invalid: {
17
- focusRingColor: 'var(--error-color)',
18
- borderColor: 'var(--error-color)',
19
- },
20
- },
21
- variants: {
22
- size: {
23
- '2xl': {
24
- textStyle: 'md',
25
- py: '4',
26
- pl: '4',
27
- pr: '5', // === scrollbar width
28
- scrollPaddingBottom: '4',
29
- },
30
- },
31
-
32
- variant: {
33
- outline: {
34
- bg: 'input.bg',
35
- borderWidth: '2px',
36
- borderColor: 'input.border',
37
- focusVisibleRing: 'none',
38
- _hover: {
39
- borderColor: 'input.border.hover',
40
- },
41
- _focus: {
42
- borderColor: 'input.border.focus',
43
- boxShadow: 'size.md',
44
- _hover: {
45
- borderColor: 'input.border.focus',
46
- },
47
- },
48
- _readOnly: {
49
- userSelect: 'all',
50
- bg: 'input.bg.readOnly',
51
- borderColor: 'input.border.readOnly',
52
- _focus: {
53
- borderColor: 'input.border.readOnly',
54
- },
55
- _hover: {
56
- borderColor: 'input.border.readOnly',
57
- },
58
- },
59
- _disabled: {
60
- pointerEvents: 'none',
61
- opacity: 'control.disabled',
62
- },
63
- _invalid: {
64
- borderColor: 'input.border.error',
65
- _hover: {
66
- borderColor: 'input.border.error',
67
- },
68
- },
69
- },
70
- },
71
-
72
- floating: {
73
- 'true': {
74
- paddingTop: '8',
75
- _placeholderShown: {
76
- paddingTop: '10',
77
- },
78
- },
79
- },
80
- },
81
-
82
- defaultVariants: {
83
- size: '2xl',
84
- variant: 'outline',
85
- },
86
- });