@blockscout/ui-toolkit 0.0.1-alpha.1 → 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 (286) 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 -28
  33. package/dist/_virtual/Button.js +0 -4
  34. package/dist/_virtual/Element.js +0 -4
  35. package/dist/_virtual/Link.js +0 -4
  36. package/dist/_virtual/_commonjsHelpers.js +0 -4
  37. package/dist/_virtual/animate-scroll.js +0 -4
  38. package/dist/_virtual/cancel-events.js +0 -4
  39. package/dist/_virtual/index.js +0 -5
  40. package/dist/_virtual/index2.js +0 -4
  41. package/dist/_virtual/index3.js +0 -4
  42. package/dist/_virtual/index4.js +0 -4
  43. package/dist/_virtual/jsx-runtime.js +0 -5
  44. package/dist/_virtual/jsx-runtime2.js +0 -4
  45. package/dist/_virtual/passive-event-listeners.js +0 -4
  46. package/dist/_virtual/react-is.development.js +0 -4
  47. package/dist/_virtual/react-is.production.min.js +0 -4
  48. package/dist/_virtual/react-jsx-runtime.development.js +0 -4
  49. package/dist/_virtual/react-jsx-runtime.production.min.js +0 -4
  50. package/dist/_virtual/scroll-element.js +0 -4
  51. package/dist/_virtual/scroll-events.js +0 -4
  52. package/dist/_virtual/scroll-hash.js +0 -4
  53. package/dist/_virtual/scroll-link.js +0 -4
  54. package/dist/_virtual/scroll-spy.js +0 -4
  55. package/dist/_virtual/scroller.js +0 -4
  56. package/dist/_virtual/smooth.js +0 -4
  57. package/dist/_virtual/utils.js +0 -4
  58. package/dist/chakra/accordion.js +0 -61
  59. package/dist/chakra/alert.js +0 -45
  60. package/dist/chakra/avatar.js +0 -36
  61. package/dist/chakra/badge.js +0 -18
  62. package/dist/chakra/button.js +0 -65
  63. package/dist/chakra/checkbox.js +0 -33
  64. package/dist/chakra/close-button.js +0 -13
  65. package/dist/chakra/collapsible.js +0 -58
  66. package/dist/chakra/color-mode.js +0 -35
  67. package/dist/chakra/dialog.js +0 -47
  68. package/dist/chakra/drawer.js +0 -39
  69. package/dist/chakra/field.js +0 -65
  70. package/dist/chakra/heading.js +0 -12
  71. package/dist/chakra/icon-button.js +0 -44
  72. package/dist/chakra/image.js +0 -30
  73. package/dist/chakra/input-group.js +0 -47
  74. package/dist/chakra/input.js +0 -5
  75. package/dist/chakra/link.js +0 -68
  76. package/dist/chakra/menu.js +0 -63
  77. package/dist/chakra/pin-input.js +0 -15
  78. package/dist/chakra/popover.js +0 -69
  79. package/dist/chakra/progress-circle.js +0 -17
  80. package/dist/chakra/provider.js +0 -10
  81. package/dist/chakra/radio.js +0 -17
  82. package/dist/chakra/rating.js +0 -21
  83. package/dist/chakra/select.js +0 -185
  84. package/dist/chakra/skeleton.js +0 -40
  85. package/dist/chakra/slider.js +0 -39
  86. package/dist/chakra/switch.js +0 -19
  87. package/dist/chakra/table.js +0 -66
  88. package/dist/chakra/tabs.js +0 -29
  89. package/dist/chakra/tag.js +0 -51
  90. package/dist/chakra/textarea.js +0 -5
  91. package/dist/chakra/toaster.js +0 -31
  92. package/dist/chakra/tooltip.js +0 -85
  93. package/dist/chakra.d.ts +0 -1
  94. package/dist/chakra.js +0 -155
  95. package/dist/components/ButtonBackTo.js +0 -22
  96. package/dist/components/Filter/FilterInput.js +0 -48
  97. package/dist/components/TruncatedTextTooltip.js +0 -49
  98. package/dist/components.d.ts +0 -2
  99. package/dist/components.js +0 -1
  100. package/dist/configs/app/api.js +0 -23
  101. package/dist/configs/app/app.js +0 -19
  102. package/dist/configs/app/chain.js +0 -30
  103. package/dist/configs/app/features/account.js +0 -13
  104. package/dist/configs/app/features/addressMetadata.js +0 -15
  105. package/dist/configs/app/features/addressProfileAPI.js +0 -25
  106. package/dist/configs/app/features/addressVerification.js +0 -17
  107. package/dist/configs/app/features/adsBanner.js +0 -50
  108. package/dist/configs/app/features/adsText.js +0 -16
  109. package/dist/configs/app/features/advancedFilter.js +0 -11
  110. package/dist/configs/app/features/beaconChain.js +0 -15
  111. package/dist/configs/app/features/blockchainInteraction.js +0 -15
  112. package/dist/configs/app/features/bridgedTokens.js +0 -16
  113. package/dist/configs/app/features/celo.js +0 -13
  114. package/dist/configs/app/features/csvExport.js +0 -14
  115. package/dist/configs/app/features/dataAvailability.js +0 -11
  116. package/dist/configs/app/features/deFiDropdown.js +0 -12
  117. package/dist/configs/app/features/easterEggBadge.js +0 -12
  118. package/dist/configs/app/features/externalTxs.js +0 -14
  119. package/dist/configs/app/features/faultProofSystem.js +0 -12
  120. package/dist/configs/app/features/gasTracker.js +0 -17
  121. package/dist/configs/app/features/getGasButton.js +0 -17
  122. package/dist/configs/app/features/googleAnalytics.js +0 -12
  123. package/dist/configs/app/features/graphqlApiDocs.js +0 -12
  124. package/dist/configs/app/features/growthBook.js +0 -12
  125. package/dist/configs/app/features/index.js +0 -92
  126. package/dist/configs/app/features/marketplace.js +0 -46
  127. package/dist/configs/app/features/metasuites.js +0 -11
  128. package/dist/configs/app/features/mixpanel.js +0 -12
  129. package/dist/configs/app/features/mudFramework.js +0 -12
  130. package/dist/configs/app/features/multichainButton.js +0 -18
  131. package/dist/configs/app/features/nameService.js +0 -15
  132. package/dist/configs/app/features/pools.js +0 -15
  133. package/dist/configs/app/features/publicTagsSubmission.js +0 -17
  134. package/dist/configs/app/features/restApiDocs.js +0 -12
  135. package/dist/configs/app/features/rewards.js +0 -17
  136. package/dist/configs/app/features/rollbar.js +0 -20
  137. package/dist/configs/app/features/rollup.js +0 -37
  138. package/dist/configs/app/features/safe.js +0 -23
  139. package/dist/configs/app/features/saveOnGas.js +0 -13
  140. package/dist/configs/app/features/sol2uml.js +0 -16
  141. package/dist/configs/app/features/stats.js +0 -16
  142. package/dist/configs/app/features/suave.js +0 -11
  143. package/dist/configs/app/features/txInterpretation.js +0 -16
  144. package/dist/configs/app/features/userOps.js +0 -11
  145. package/dist/configs/app/features/validators.js +0 -16
  146. package/dist/configs/app/features/verifiedTokens.js +0 -15
  147. package/dist/configs/app/features/web3Wallet.js +0 -24
  148. package/dist/configs/app/features/xStarScore.js +0 -12
  149. package/dist/configs/app/index.js +0 -19
  150. package/dist/configs/app/meta.js +0 -16
  151. package/dist/configs/app/services.js +0 -9
  152. package/dist/configs/app/ui/views/address.js +0 -36
  153. package/dist/configs/app/ui/views/block.js +0 -11
  154. package/dist/configs/app/ui/views/index.js +0 -12
  155. package/dist/configs/app/ui/views/nft.js +0 -10
  156. package/dist/configs/app/ui/views/token.js +0 -7
  157. package/dist/configs/app/ui/views/tx.js +0 -15
  158. package/dist/configs/app/ui.js +0 -128
  159. package/dist/configs/app/utils.js +0 -45
  160. package/dist/hooks/useClipboard.js +0 -27
  161. package/dist/hooks/useDisclosure.js +0 -17
  162. package/dist/hooks/useViewportSize.js +0 -17
  163. package/dist/hooks.d.ts +0 -1
  164. package/dist/hooks.js +0 -8
  165. package/dist/icons/arrows/east-mini.svg.js +0 -4
  166. package/dist/icons/arrows/east.svg.js +0 -4
  167. package/dist/icons/check.svg.js +0 -4
  168. package/dist/icons/close.svg.js +0 -4
  169. package/dist/icons/info_filled.svg.js +0 -4
  170. package/dist/icons/link_external.svg.js +0 -4
  171. package/dist/icons/star_filled.svg.js +0 -4
  172. package/dist/icons/star_outline.svg.js +0 -4
  173. package/dist/lib/consts.js +0 -10
  174. package/dist/lib/hooks/useFirstMountState.js +0 -8
  175. package/dist/lib/hooks/useIsMobile.js +0 -7
  176. package/dist/lib/hooks/useUpdateEffect.js +0 -12
  177. package/dist/lib/html-entities.js +0 -5
  178. package/dist/lib/isBrowser.js +0 -6
  179. package/dist/lib/regexp.js +0 -4
  180. package/dist/lib/settings/colorTheme.js +0 -33
  181. package/dist/lib/stripTrailingSlash.js +0 -4
  182. package/dist/node_modules/@uidotdev/usehooks/index.js +0 -51
  183. package/dist/node_modules/bignumber.js/bignumber.js +0 -627
  184. package/dist/node_modules/es-toolkit/dist/function/debounce.js +0 -30
  185. package/dist/node_modules/es-toolkit/dist/function/throttle.js +0 -11
  186. package/dist/node_modules/lodash.throttle/index.js +0 -95
  187. package/dist/node_modules/object-assign/index.js +0 -54
  188. package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
  189. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
  190. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
  191. package/dist/node_modules/prop-types/index.js +0 -17
  192. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
  193. package/dist/node_modules/prop-types/lib/has.js +0 -7
  194. package/dist/node_modules/react-icons/lib/iconBase.js +0 -108
  195. package/dist/node_modules/react-icons/lib/iconContext.js +0 -12
  196. package/dist/node_modules/react-icons/lu/index.js +0 -12
  197. package/dist/node_modules/react-is/cjs/react-is.development.js +0 -95
  198. package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -78
  199. package/dist/node_modules/react-is/index.js +0 -10
  200. package/dist/node_modules/react-scroll/modules/components/Button.js +0 -58
  201. package/dist/node_modules/react-scroll/modules/components/Element.js +0 -72
  202. package/dist/node_modules/react-scroll/modules/components/Link.js +0 -49
  203. package/dist/node_modules/react-scroll/modules/index.js +0 -26
  204. package/dist/node_modules/react-scroll/modules/mixins/Helpers.js +0 -192
  205. package/dist/node_modules/react-scroll/modules/mixins/animate-scroll.js +0 -132
  206. package/dist/node_modules/react-scroll/modules/mixins/cancel-events.js +0 -20
  207. package/dist/node_modules/react-scroll/modules/mixins/passive-event-listeners.js +0 -27
  208. package/dist/node_modules/react-scroll/modules/mixins/scroll-element.js +0 -98
  209. package/dist/node_modules/react-scroll/modules/mixins/scroll-events.js +0 -23
  210. package/dist/node_modules/react-scroll/modules/mixins/scroll-hash.js +0 -61
  211. package/dist/node_modules/react-scroll/modules/mixins/scroll-link.js +0 -171
  212. package/dist/node_modules/react-scroll/modules/mixins/scroll-spy.js +0 -79
  213. package/dist/node_modules/react-scroll/modules/mixins/scroller.js +0 -62
  214. package/dist/node_modules/react-scroll/modules/mixins/smooth.js +0 -72
  215. package/dist/node_modules/react-scroll/modules/mixins/utils.js +0 -55
  216. package/dist/package/node_modules/react/cjs/react-jsx-runtime.development.js +0 -604
  217. package/dist/package/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -28
  218. package/dist/package/node_modules/react/jsx-runtime.js +0 -10
  219. package/dist/theme/foundations/animations.js +0 -15
  220. package/dist/theme/foundations/borders.js +0 -12
  221. package/dist/theme/foundations/breakpoints.js +0 -11
  222. package/dist/theme/foundations/colors.js +0 -163
  223. package/dist/theme/foundations/durations.js +0 -12
  224. package/dist/theme/foundations/semanticTokens.js +0 -474
  225. package/dist/theme/foundations/shadows.js +0 -16
  226. package/dist/theme/foundations/typography.js +0 -92
  227. package/dist/theme/foundations/zIndex.js +0 -24
  228. package/dist/theme/globalCss.js +0 -51
  229. package/dist/theme/globals/address-entity.js +0 -34
  230. package/dist/theme/globals/recaptcha.js +0 -21
  231. package/dist/theme/globals/scrollbar.js +0 -33
  232. package/dist/theme/index.d.ts +0 -1
  233. package/dist/theme/index.ts +0 -1
  234. package/dist/theme/recipes/accordion.recipe.js +0 -143
  235. package/dist/theme/recipes/alert.recipe.js +0 -134
  236. package/dist/theme/recipes/badge.recipe.js +0 -119
  237. package/dist/theme/recipes/button.recipe.js +0 -272
  238. package/dist/theme/recipes/checkbox.recipe.js +0 -53
  239. package/dist/theme/recipes/checkmark.recipe.js +0 -73
  240. package/dist/theme/recipes/close-button.recipe.js +0 -39
  241. package/dist/theme/recipes/dialog.recipe.js +0 -210
  242. package/dist/theme/recipes/drawer.recipe.js +0 -168
  243. package/dist/theme/recipes/field.recipe.js +0 -174
  244. package/dist/theme/recipes/index.js +0 -69
  245. package/dist/theme/recipes/input.recipe.js +0 -116
  246. package/dist/theme/recipes/link.recipe.js +0 -88
  247. package/dist/theme/recipes/list.recipe.js +0 -65
  248. package/dist/theme/recipes/menu.recipe.js +0 -104
  249. package/dist/theme/recipes/pin-input.recipe.js +0 -34
  250. package/dist/theme/recipes/popover.recipe.js +0 -72
  251. package/dist/theme/recipes/progress-circle.recipe.js +0 -74
  252. package/dist/theme/recipes/radio-group.recipe.js +0 -69
  253. package/dist/theme/recipes/radiomark.recipe.js +0 -87
  254. package/dist/theme/recipes/rating-group.recipe.js +0 -84
  255. package/dist/theme/recipes/select.recipe.js +0 -275
  256. package/dist/theme/recipes/skeleton.recipe.js +0 -54
  257. package/dist/theme/recipes/spinner.recipe.js +0 -33
  258. package/dist/theme/recipes/stat.recipe.js +0 -101
  259. package/dist/theme/recipes/switch.recipe.js +0 -125
  260. package/dist/theme/recipes/table.recipe.js +0 -83
  261. package/dist/theme/recipes/tabs.recipe.js +0 -216
  262. package/dist/theme/recipes/tag.recipe.js +0 -157
  263. package/dist/theme/recipes/textarea.recipe.js +0 -86
  264. package/dist/theme/recipes/toast.recipe.js +0 -98
  265. package/dist/theme/recipes/tooltip.recipe.js +0 -87
  266. package/dist/theme/theme.js +0 -40
  267. package/dist/theme/utils/entries.js +0 -11
  268. package/dist/theme.d.ts +0 -2
  269. package/dist/theme.js +0 -4
  270. package/dist/types/client/adProviders.js +0 -12
  271. package/dist/types/client/contract.js +0 -13
  272. package/dist/types/client/gasTracker.js +0 -7
  273. package/dist/types/client/navigation.js +0 -4
  274. package/dist/types/client/rollup.js +0 -11
  275. package/dist/types/client/txInterpretation.js +0 -8
  276. package/dist/types/client/validators.js +0 -8
  277. package/dist/types/client/wallets.js +0 -8
  278. package/dist/types/homepage.js +0 -15
  279. package/dist/types/views/address.js +0 -14
  280. package/dist/types/views/block.js +0 -12
  281. package/dist/types/views/tx.js +0 -16
  282. package/dist/ui/shared/forms/validators/url.js +0 -12
  283. package/dist/utils/getComponentDisplayName.js +0 -7
  284. package/dist/utils/index.d.ts +0 -1
  285. package/dist/utils.d.ts +0 -2
  286. package/dist/utils.js +0 -4
@@ -1,92 +0,0 @@
1
- import i from "../../configs/app/index.js";
2
- var e;
3
- const n = ((e = i.UI.fonts.body) == null ? void 0 : e.name) ?? "Inter";
4
- var t;
5
- const o = ((t = i.UI.fonts.heading) == null ? void 0 : t.name) ?? "Poppins", l = {
6
- heading: { value: `${o}, sans-serif` },
7
- body: { value: `${n}, sans-serif` }
8
- }, a = {
9
- heading: {
10
- xl: {
11
- value: {
12
- fontSize: "32px",
13
- lineHeight: "40px",
14
- fontWeight: "500",
15
- letterSpacing: "-0.5px",
16
- fontFamily: "heading"
17
- }
18
- },
19
- lg: {
20
- value: {
21
- fontSize: "24px",
22
- lineHeight: "32px",
23
- fontWeight: "500",
24
- fontFamily: "heading"
25
- }
26
- },
27
- md: {
28
- value: {
29
- fontSize: "18px",
30
- lineHeight: "24px",
31
- fontWeight: "500",
32
- fontFamily: "heading"
33
- }
34
- },
35
- sm: {
36
- value: {
37
- fontSize: "16px",
38
- lineHeight: "24px",
39
- fontWeight: "500",
40
- fontFamily: "heading"
41
- }
42
- },
43
- xs: {
44
- value: {
45
- fontSize: "14px",
46
- lineHeight: "20px",
47
- fontWeight: "600",
48
- fontFamily: "heading"
49
- }
50
- }
51
- },
52
- text: {
53
- xl: {
54
- value: {
55
- fontSize: "20px",
56
- lineHeight: "28px",
57
- fontWeight: "400",
58
- fontFamily: "body"
59
- }
60
- },
61
- md: {
62
- value: {
63
- fontSize: "16px",
64
- lineHeight: "24px",
65
- fontWeight: "400",
66
- fontFamily: "body"
67
- }
68
- },
69
- sm: {
70
- value: {
71
- fontSize: "14px",
72
- lineHeight: "20px",
73
- fontWeight: "400",
74
- fontFamily: "body"
75
- }
76
- },
77
- xs: {
78
- value: {
79
- fontSize: "12px",
80
- lineHeight: "16px",
81
- fontWeight: "400",
82
- fontFamily: "body"
83
- }
84
- }
85
- }
86
- };
87
- export {
88
- n as BODY_TYPEFACE,
89
- o as HEADING_TYPEFACE,
90
- l as fonts,
91
- a as textStyles
92
- };
@@ -1,24 +0,0 @@
1
- const e = {
2
- hide: { value: -1 },
3
- auto: { value: "auto" },
4
- base: { value: 0 },
5
- docked: { value: 10 },
6
- dropdown: { value: 1e3 },
7
- sticky: { value: 1100 },
8
- sticky1: { value: 1101 },
9
- sticky2: { value: 1102 },
10
- banner: { value: 1200 },
11
- overlay: { value: 1300 },
12
- modal: { value: 1400 },
13
- popover: { value: 1500 },
14
- tooltip: { value: 1550 },
15
- // otherwise tooltips will not be visible in modals
16
- tooltip2: { value: 1551 },
17
- // for tooltips in tooltips
18
- skipLink: { value: 1600 },
19
- toast: { value: 1700 }
20
- };
21
- export {
22
- e as default,
23
- e as zIndex
24
- };
@@ -1,51 +0,0 @@
1
- import e from "./globals/address-entity.js";
2
- import i from "./globals/recaptcha.js";
3
- import r from "./globals/scrollbar.js";
4
- const o = {
5
- WebkitTextFillColor: "var(--chakra-colors-input-fg)",
6
- "-webkit-box-shadow": "0 0 0px 1000px var(--chakra-colors-input-bg) inset",
7
- transition: "background-color 5000s ease-in-out 0s"
8
- }, t = {
9
- "&:-webkit-autofill": o,
10
- "&:-webkit-autofill:hover": o,
11
- "&:-webkit-autofill:focus": o
12
- }, s = {
13
- body: {
14
- bg: "global.body.bg",
15
- color: "global.body.fg",
16
- WebkitTapHighlightColor: "transparent",
17
- fontVariantLigatures: "no-contextual",
18
- focusRingStyle: "hidden"
19
- },
20
- mark: {
21
- bg: "global.mark.bg",
22
- color: "inherit"
23
- },
24
- "svg *::selection": {
25
- color: "none",
26
- background: "none"
27
- },
28
- form: {
29
- w: "100%"
30
- },
31
- input: {
32
- // hide number input arrows in Google Chrome
33
- "&::-webkit-outer-spin-button, &::-webkit-inner-spin-button": {
34
- WebkitAppearance: "none",
35
- margin: 0
36
- },
37
- ...t
38
- },
39
- textarea: {
40
- ...t
41
- },
42
- select: {
43
- ...t
44
- },
45
- ...i,
46
- ...r,
47
- ...e
48
- };
49
- export {
50
- s as default
51
- };
@@ -1,34 +0,0 @@
1
- const e = {
2
- ".address-entity": {
3
- "&.address-entity_highlighted": {
4
- _before: {
5
- content: '" "',
6
- position: "absolute",
7
- py: 1,
8
- pl: 1,
9
- pr: 0,
10
- top: "-5px",
11
- left: "-5px",
12
- width: "calc(100% + 6px)",
13
- height: "calc(100% + 10px)",
14
- borderRadius: "base",
15
- borderColor: "address.highlighted.border",
16
- borderWidth: "1px",
17
- borderStyle: "dashed",
18
- bgColor: "address.highlighted.bg",
19
- zIndex: -1
20
- }
21
- }
22
- },
23
- ".address-entity_no-copy": {
24
- "&.address-entity_highlighted": {
25
- _before: {
26
- pr: 2,
27
- width: "calc(100% + 6px + 8px)"
28
- }
29
- }
30
- }
31
- };
32
- export {
33
- e as default
34
- };
@@ -1,21 +0,0 @@
1
- const e = {
2
- ".grecaptcha-badge": {
3
- visibility: "hidden"
4
- },
5
- 'div:has(div):has(iframe[title="recaptcha challenge expires in two minutes"])': {
6
- "&::after": {
7
- content: '" "',
8
- display: "block",
9
- position: "fixed",
10
- top: 0,
11
- left: 0,
12
- width: "100vw",
13
- height: "100vh",
14
- zIndex: 1e5,
15
- bgColor: "blackAlpha.300"
16
- }
17
- }
18
- };
19
- export {
20
- e as default
21
- };
@@ -1,33 +0,0 @@
1
- const r = {
2
- "body *::-webkit-scrollbar": {
3
- width: "20px"
4
- },
5
- "body *::-webkit-scrollbar-track": {
6
- backgroundColor: "transparent"
7
- },
8
- "body *::-webkit-scrollbar-thumb": {
9
- backgroundColor: "{colors.global.scrollbar.thumb}",
10
- borderRadius: "20px",
11
- border: "8px solid rgba(0,0,0,0)",
12
- backgroundClip: "content-box",
13
- minHeight: "32px"
14
- },
15
- "body *::-webkit-scrollbar-button": {
16
- display: "none"
17
- },
18
- "body *::-webkit-scrollbar-corner": {
19
- backgroundColor: "transparent"
20
- },
21
- "body *::-webkit-resizer": {
22
- // FIXME for dark mode we need to use a different image - /static/resizer_dark.png
23
- backgroundImage: "url(/static/resizer_light.png)",
24
- backgroundSize: "20px"
25
- },
26
- "body *": {
27
- scrollbarWidth: "thin",
28
- scrollbarColor: "{colors.global.scrollbar.thumb} transparent"
29
- }
30
- };
31
- export {
32
- r as default
33
- };
@@ -1 +0,0 @@
1
- export { default as theme } from './theme';
@@ -1 +0,0 @@
1
- export { default as theme } from './theme';
@@ -1,143 +0,0 @@
1
- import { defineSlotRecipe as i } from "@chakra-ui/react";
2
- const e = i({
3
- className: "chakra-accordion",
4
- slots: ["root", "item", "itemTrigger", "itemContent", "itemBody", "itemIndicator"],
5
- base: {
6
- root: {
7
- width: "full",
8
- "--accordion-radius": "none"
9
- },
10
- item: {
11
- overflowAnchor: "none",
12
- borderColor: "border.divider"
13
- },
14
- itemTrigger: {
15
- display: "flex",
16
- alignItems: "center",
17
- width: "full",
18
- outline: "0",
19
- gap: "1",
20
- fontWeight: "medium",
21
- borderRadius: "var(--accordion-radius)",
22
- cursor: "pointer",
23
- _focusVisible: {
24
- outline: "2px solid",
25
- outlineColor: "colorPalette.focusRing"
26
- }
27
- },
28
- itemBody: {
29
- pt: "0",
30
- pb: "var(--accordion-padding-y)"
31
- },
32
- itemContent: {
33
- overflow: "hidden",
34
- borderRadius: "var(--accordion-radius)",
35
- _open: {
36
- animationName: "expand-height, fade-in",
37
- animationDuration: "moderate"
38
- },
39
- _closed: {
40
- animationName: "collapse-height, fade-out",
41
- animationDuration: "moderate"
42
- }
43
- },
44
- itemIndicator: {
45
- transition: "rotate 0.2s ease-in-out",
46
- transformOrigin: "center"
47
- }
48
- },
49
- variants: {
50
- noAnimation: {
51
- true: {
52
- itemContent: {
53
- _open: {
54
- animationName: "none"
55
- },
56
- _closed: {
57
- animationName: "none"
58
- }
59
- },
60
- itemIndicator: {
61
- transition: "none"
62
- }
63
- }
64
- },
65
- variant: {
66
- outline: {
67
- item: {
68
- borderBottomWidth: "1px"
69
- },
70
- itemIndicator: {
71
- color: "gray.500"
72
- }
73
- },
74
- faq: {
75
- item: {
76
- borderBottomWidth: "1px"
77
- },
78
- itemTrigger: {
79
- textStyle: "heading.md"
80
- },
81
- itemIndicator: {
82
- color: "link.primary",
83
- _groupHover: {
84
- color: "link.primary.hover"
85
- }
86
- }
87
- }
88
- },
89
- size: {
90
- sm: {
91
- root: {
92
- "--accordion-padding-x": "0",
93
- "--accordion-padding-y": "spacing.2"
94
- },
95
- itemTrigger: {
96
- textStyle: "sm",
97
- py: "var(--accordion-padding-y)"
98
- },
99
- itemIndicator: {
100
- boxSize: "5"
101
- }
102
- },
103
- md: {
104
- root: {
105
- "--accordion-padding-x": "0",
106
- "--accordion-padding-y": "spacing.3"
107
- },
108
- itemTrigger: {
109
- textStyle: "md",
110
- py: "var(--accordion-padding-y)"
111
- },
112
- itemIndicator: {
113
- boxSize: "5"
114
- }
115
- }
116
- }
117
- },
118
- compoundVariants: [
119
- {
120
- variant: "faq",
121
- size: "md",
122
- css: {
123
- itemIndicator: {
124
- boxSize: "14px",
125
- margin: "5px"
126
- },
127
- itemBody: {
128
- paddingLeft: "36px"
129
- },
130
- itemTrigger: {
131
- gap: "3"
132
- }
133
- }
134
- }
135
- ],
136
- defaultVariants: {
137
- size: "md",
138
- variant: "outline"
139
- }
140
- });
141
- export {
142
- e as recipe
143
- };
@@ -1,134 +0,0 @@
1
- import { defineSlotRecipe as t } from "@chakra-ui/react";
2
- const r = t({
3
- slots: ["root", "title", "description", "indicator", "content"],
4
- base: {
5
- root: {
6
- width: "full",
7
- display: "flex",
8
- alignItems: "flex-start",
9
- position: "relative",
10
- borderRadius: "base",
11
- color: "alert.fg",
12
- _loading: {
13
- bgColor: "unset"
14
- }
15
- },
16
- title: {
17
- fontWeight: "600"
18
- },
19
- description: {
20
- display: "inline"
21
- },
22
- indicator: {
23
- display: "inline-flex",
24
- alignItems: "center",
25
- justifyContent: "center",
26
- flexShrink: "0",
27
- width: "5",
28
- height: "5",
29
- _icon: { boxSize: "full" },
30
- color: "alert.fg"
31
- },
32
- content: {
33
- display: "flex",
34
- flex: "1"
35
- }
36
- },
37
- variants: {
38
- status: {
39
- info: {
40
- root: {
41
- bgColor: "alert.bg.info",
42
- "&:not([data-loading], [aria-busy=true])": {
43
- bgColor: "alert.bg.info"
44
- },
45
- color: "alert.fg"
46
- }
47
- },
48
- warning: {
49
- root: {
50
- bgColor: "alert.bg.warning",
51
- "&:not([data-loading], [aria-busy=true])": {
52
- bgColor: "alert.bg.warning"
53
- },
54
- color: "alert.fg"
55
- }
56
- },
57
- warning_table: {
58
- root: {
59
- bgColor: "alert.bg.warning_table",
60
- "&:not([data-loading], [aria-busy=true])": {
61
- bgColor: "alert.bg.warning_table"
62
- },
63
- color: "alert.fg"
64
- }
65
- },
66
- success: {
67
- root: {
68
- bgColor: "alert.bg.success",
69
- "&:not([data-loading], [aria-busy=true])": {
70
- bgColor: "alert.bg.success"
71
- },
72
- color: "alert.fg"
73
- }
74
- },
75
- error: {
76
- root: {
77
- bgColor: "alert.bg.error",
78
- "&:not([data-loading], [aria-busy=true])": {
79
- bgColor: "alert.bg.error"
80
- },
81
- color: "alert.fg"
82
- }
83
- }
84
- },
85
- variant: {
86
- subtle: {
87
- root: {
88
- color: "alert.fg"
89
- }
90
- }
91
- },
92
- inline: {
93
- true: {
94
- root: {
95
- alignItems: "flex-start"
96
- },
97
- content: {
98
- display: "inline-flex",
99
- flexDirection: "row",
100
- alignItems: "center"
101
- }
102
- },
103
- false: {
104
- content: {
105
- display: "flex",
106
- flexDirection: "column"
107
- }
108
- }
109
- },
110
- size: {
111
- md: {
112
- root: {
113
- gap: "2",
114
- px: "3",
115
- py: "2",
116
- textStyle: "md"
117
- },
118
- indicator: {
119
- boxSize: "5",
120
- my: "2px"
121
- }
122
- }
123
- }
124
- },
125
- defaultVariants: {
126
- status: "info",
127
- size: "md",
128
- inline: !0,
129
- variant: "subtle"
130
- }
131
- });
132
- export {
133
- r as recipe
134
- };
@@ -1,119 +0,0 @@
1
- import { defineRecipe as a } from "@chakra-ui/react";
2
- const g = a({
3
- base: {
4
- display: "inline-flex",
5
- alignItems: "center",
6
- borderRadius: "sm",
7
- gap: "1",
8
- fontWeight: "500",
9
- width: "fit-content",
10
- maxWidth: "100%",
11
- whiteSpace: "nowrap",
12
- fontVariantNumeric: "normal",
13
- userSelect: "none",
14
- _loading: {
15
- borderRadius: "sm",
16
- bgColor: "unset"
17
- }
18
- },
19
- variants: {
20
- variant: {
21
- subtle: {}
22
- },
23
- colorPalette: {
24
- gray: {
25
- bgColor: "badge.gray.bg",
26
- "&:not([data-loading], [aria-busy=true])": {
27
- bgColor: "badge.gray.bg"
28
- },
29
- color: "badge.gray.fg"
30
- },
31
- green: {
32
- bgColor: "badge.green.bg",
33
- "&:not([data-loading], [aria-busy=true])": {
34
- bgColor: "badge.green.bg"
35
- },
36
- color: "badge.green.fg"
37
- },
38
- red: {
39
- bgColor: "badge.red.bg",
40
- "&:not([data-loading], [aria-busy=true])": {
41
- bgColor: "badge.red.bg"
42
- },
43
- color: "badge.red.fg"
44
- },
45
- purple: {
46
- bgColor: "badge.purple.bg",
47
- "&:not([data-loading], [aria-busy=true])": {
48
- bgColor: "badge.purple.bg"
49
- },
50
- color: "badge.purple.fg"
51
- },
52
- orange: {
53
- bgColor: "badge.orange.bg",
54
- "&:not([data-loading], [aria-busy=true])": {
55
- bgColor: "badge.orange.bg"
56
- },
57
- color: "badge.orange.fg"
58
- },
59
- blue: {
60
- bgColor: "badge.blue.bg",
61
- "&:not([data-loading], [aria-busy=true])": {
62
- bgColor: "badge.blue.bg"
63
- },
64
- color: "badge.blue.fg"
65
- },
66
- yellow: {
67
- bgColor: "badge.yellow.bg",
68
- "&:not([data-loading], [aria-busy=true])": {
69
- bgColor: "badge.yellow.bg"
70
- },
71
- color: "badge.yellow.fg"
72
- },
73
- teal: {
74
- bgColor: "badge.teal.bg",
75
- "&:not([data-loading], [aria-busy=true])": {
76
- bgColor: "badge.teal.bg"
77
- },
78
- color: "badge.teal.fg"
79
- },
80
- cyan: {
81
- bgColor: "badge.cyan.bg",
82
- "&:not([data-loading], [aria-busy=true])": {
83
- bgColor: "badge.cyan.bg"
84
- },
85
- color: "badge.cyan.fg"
86
- },
87
- purple_alt: {
88
- bgColor: "badge.purple_alt.bg",
89
- "&:not([data-loading], [aria-busy=true])": {
90
- bgColor: "badge.purple_alt.bg"
91
- },
92
- color: "badge.purple_alt.fg"
93
- },
94
- blue_alt: {
95
- bgColor: "badge.blue_alt.bg",
96
- "&:not([data-loading], [aria-busy=true])": {
97
- bgColor: "badge.blue_alt.bg"
98
- },
99
- color: "badge.blue_alt.fg"
100
- }
101
- },
102
- size: {
103
- md: {
104
- textStyle: "sm",
105
- px: "1",
106
- py: "0.5",
107
- minH: "6"
108
- }
109
- }
110
- },
111
- defaultVariants: {
112
- variant: "subtle",
113
- colorPalette: "gray",
114
- size: "md"
115
- }
116
- });
117
- export {
118
- g as recipe
119
- };