@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
@@ -13,8 +13,8 @@ export * from '../../chakra/field';
13
13
  export * from '../../chakra/heading';
14
14
  export * from '../../chakra/icon-button';
15
15
  export * from '../../chakra/image';
16
- export * from '../../chakra/input';
17
16
  export * from '../../chakra/input-group';
17
+ export * from '../../chakra/input';
18
18
  export * from '../../chakra/link';
19
19
  export * from '../../chakra/menu';
20
20
  export * from '../../chakra/pin-input';
@@ -33,13 +33,9 @@ export * from '../../chakra/tag';
33
33
  export * from '../../chakra/textarea';
34
34
  export * from '../../chakra/toaster';
35
35
  export * from '../../chakra/tooltip';
36
- export * from '../../theme/theme';
37
- export * from '../../theme/globalCss';
38
- export * from '../../components/AdaptiveTabs/AdaptiveTabs';
39
- export * from '../../components/AdaptiveTabs/types';
40
- export * from '../../components/RoutedTabs/RoutedTabs';
41
- export * from '../../components/RoutedTabs/RoutedTabsSkeleton';
42
- export * from '../../utils/getComponentDisplayName';
43
- export * from '../../hooks/useClipboard';
44
- export * from '../../hooks/useDisclosure';
45
- export * from '../../hooks/useViewportSize';
36
+ export { AspectRatio, Box, Center, Circle, ClientOnly, Code, ColorPicker, ColorSwatch, Fieldset, Flex, For, FormatNumber, FormatByte, Grid, GridItem, Group, HStack, Icon, LinkBox, LinkOverlay, List, ListItem, LocaleProvider, Portal, Presence, Progress, QrCode, SegmentGroup, Separator, Show, Slider, Spinner, StackSeparator, Stat, Status, Text, Theme, VisuallyHidden, VStack, Wrap, useBreakpointValue, useCheckboxGroup, useToken, useUpdateEffect, chakra, createListCollection, } from '@chakra-ui/react';
37
+ export { default as theme } from '../../theme/theme';
38
+ export { default as getComponentDisplayName } from '../../utils/getComponentDisplayName';
39
+ export { default as useClipboard } from '../../hooks/useClipboard';
40
+ export { useDisclosure } from '../../hooks/useDisclosure';
41
+ export { default as useViewportSize } from '../../hooks/useViewportSize';
@@ -135,12 +135,8 @@ const semanticTokens: ThemingConfig['semanticTokens'] = {
135
135
  active: { value: { _light: '{colors.link.primary.hover}' } },
136
136
  },
137
137
  bg: {
138
- DEFAULT: { value: { _light: '{colors.white}', _dark: '{colors.black}' } },
139
- selected: { value: { _light: '{colors.blue.50}', _dark: '{colors.gray.800}' } },
140
- },
141
- border: {
142
- DEFAULT: { value: '{colors.border.divider}' },
143
138
  selected: { value: { _light: '{colors.blue.50}', _dark: '{colors.gray.800}' } },
139
+ group: { value: { _light: '{colors.white}', _dark: '{colors.black}' } },
144
140
  },
145
141
  },
146
142
  menu: {
@@ -1,50 +1,10 @@
1
- export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"title" | "content" | "description" | "root" | "indicator", {
1
+ export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "title" | "root" | "description" | "indicator", {
2
2
  status: {
3
- info: {
4
- root: {
5
- bgColor: "alert.bg.info";
6
- '&:not([data-loading], [aria-busy=true])': {
7
- bgColor: "alert.bg.info";
8
- };
9
- color: "alert.fg";
10
- };
11
- };
12
- warning: {
13
- root: {
14
- bgColor: "alert.bg.warning";
15
- '&:not([data-loading], [aria-busy=true])': {
16
- bgColor: "alert.bg.warning";
17
- };
18
- color: "alert.fg";
19
- };
20
- };
21
- warning_table: {
22
- root: {
23
- bgColor: "alert.bg.warning_table";
24
- '&:not([data-loading], [aria-busy=true])': {
25
- bgColor: "alert.bg.warning_table";
26
- };
27
- color: "alert.fg";
28
- };
29
- };
30
- success: {
31
- root: {
32
- bgColor: "alert.bg.success";
33
- '&:not([data-loading], [aria-busy=true])': {
34
- bgColor: "alert.bg.success";
35
- };
36
- color: "alert.fg";
37
- };
38
- };
39
- error: {
40
- root: {
41
- bgColor: "alert.bg.error";
42
- '&:not([data-loading], [aria-busy=true])': {
43
- bgColor: "alert.bg.error";
44
- };
45
- color: "alert.fg";
46
- };
47
- };
3
+ info: {};
4
+ warning: {};
5
+ warning_table: {};
6
+ success: {};
7
+ error: {};
48
8
  };
49
9
  variant: {
50
10
  subtle: {
@@ -11,9 +11,6 @@ export const recipe = defineSlotRecipe({
11
11
  position: 'relative',
12
12
  borderRadius: 'base',
13
13
  color: 'alert.fg',
14
- _loading: {
15
- bgColor: 'unset',
16
- },
17
14
  },
18
15
  title: {
19
16
  fontWeight: '600',
@@ -39,51 +36,11 @@ export const recipe = defineSlotRecipe({
39
36
 
40
37
  variants: {
41
38
  status: {
42
- info: {
43
- root: {
44
- bgColor: 'alert.bg.info',
45
- '&:not([data-loading], [aria-busy=true])': {
46
- bgColor: 'alert.bg.info',
47
- },
48
- color: 'alert.fg',
49
- },
50
- },
51
- warning: {
52
- root: {
53
- bgColor: 'alert.bg.warning',
54
- '&:not([data-loading], [aria-busy=true])': {
55
- bgColor: 'alert.bg.warning',
56
- },
57
- color: 'alert.fg',
58
- },
59
- },
60
- warning_table: {
61
- root: {
62
- bgColor: 'alert.bg.warning_table',
63
- '&:not([data-loading], [aria-busy=true])': {
64
- bgColor: 'alert.bg.warning_table',
65
- },
66
- color: 'alert.fg',
67
- },
68
- },
69
- success: {
70
- root: {
71
- bgColor: 'alert.bg.success',
72
- '&:not([data-loading], [aria-busy=true])': {
73
- bgColor: 'alert.bg.success',
74
- },
75
- color: 'alert.fg',
76
- },
77
- },
78
- error: {
79
- root: {
80
- bgColor: 'alert.bg.error',
81
- '&:not([data-loading], [aria-busy=true])': {
82
- bgColor: 'alert.bg.error',
83
- },
84
- color: 'alert.fg',
85
- },
86
- },
39
+ info: {},
40
+ warning: {},
41
+ warning_table: {},
42
+ success: {},
43
+ error: {},
87
44
  },
88
45
 
89
46
  variant: {
@@ -129,6 +86,46 @@ export const recipe = defineSlotRecipe({
129
86
  },
130
87
  },
131
88
 
89
+ compoundVariants: [
90
+ {
91
+ status: 'info',
92
+ variant: 'subtle',
93
+ css: {
94
+ root: {
95
+ bg: 'alert.bg.info',
96
+ },
97
+ },
98
+ },
99
+ {
100
+ status: 'warning',
101
+ variant: 'subtle',
102
+ css: {
103
+ root: { bg: 'alert.bg.warning' },
104
+ },
105
+ },
106
+ {
107
+ status: 'warning_table',
108
+ variant: 'subtle',
109
+ css: {
110
+ root: { bg: 'alert.bg.warning_table' },
111
+ },
112
+ },
113
+ {
114
+ status: 'success',
115
+ variant: 'subtle',
116
+ css: {
117
+ root: { bg: 'alert.bg.success' },
118
+ },
119
+ },
120
+ {
121
+ status: 'error',
122
+ variant: 'subtle',
123
+ css: {
124
+ root: { bg: 'alert.bg.error' },
125
+ },
126
+ },
127
+ ],
128
+
132
129
  defaultVariants: {
133
130
  status: 'info',
134
131
  size: 'md',
@@ -4,80 +4,47 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
4
4
  };
5
5
  colorPalette: {
6
6
  gray: {
7
- bgColor: "badge.gray.bg";
8
- '&:not([data-loading], [aria-busy=true])': {
9
- bgColor: "badge.gray.bg";
10
- };
7
+ bg: "badge.gray.bg";
11
8
  color: "badge.gray.fg";
12
9
  };
13
10
  green: {
14
- bgColor: "badge.green.bg";
15
- '&:not([data-loading], [aria-busy=true])': {
16
- bgColor: "badge.green.bg";
17
- };
11
+ bg: "badge.green.bg";
18
12
  color: "badge.green.fg";
19
13
  };
20
14
  red: {
21
- bgColor: "badge.red.bg";
22
- '&:not([data-loading], [aria-busy=true])': {
23
- bgColor: "badge.red.bg";
24
- };
15
+ bg: "badge.red.bg";
25
16
  color: "badge.red.fg";
26
17
  };
27
18
  purple: {
28
- bgColor: "badge.purple.bg";
29
- '&:not([data-loading], [aria-busy=true])': {
30
- bgColor: "badge.purple.bg";
31
- };
19
+ bg: "badge.purple.bg";
32
20
  color: "badge.purple.fg";
33
21
  };
34
22
  orange: {
35
- bgColor: "badge.orange.bg";
36
- '&:not([data-loading], [aria-busy=true])': {
37
- bgColor: "badge.orange.bg";
38
- };
23
+ bg: "badge.orange.bg";
39
24
  color: "badge.orange.fg";
40
25
  };
41
26
  blue: {
42
- bgColor: "badge.blue.bg";
43
- '&:not([data-loading], [aria-busy=true])': {
44
- bgColor: "badge.blue.bg";
45
- };
27
+ bg: "badge.blue.bg";
46
28
  color: "badge.blue.fg";
47
29
  };
48
30
  yellow: {
49
- bgColor: "badge.yellow.bg";
50
- '&:not([data-loading], [aria-busy=true])': {
51
- bgColor: "badge.yellow.bg";
52
- };
31
+ bg: "badge.yellow.bg";
53
32
  color: "badge.yellow.fg";
54
33
  };
55
34
  teal: {
56
- bgColor: "badge.teal.bg";
57
- '&:not([data-loading], [aria-busy=true])': {
58
- bgColor: "badge.teal.bg";
59
- };
35
+ bg: "badge.teal.bg";
60
36
  color: "badge.teal.fg";
61
37
  };
62
38
  cyan: {
63
- bgColor: "badge.cyan.bg";
64
- '&:not([data-loading], [aria-busy=true])': {
65
- bgColor: "badge.cyan.bg";
66
- };
39
+ bg: "badge.cyan.bg";
67
40
  color: "badge.cyan.fg";
68
41
  };
69
42
  purple_alt: {
70
- bgColor: "badge.purple_alt.bg";
71
- '&:not([data-loading], [aria-busy=true])': {
72
- bgColor: "badge.purple_alt.bg";
73
- };
43
+ bg: "badge.purple_alt.bg";
74
44
  color: "badge.purple_alt.fg";
75
45
  };
76
46
  blue_alt: {
77
- bgColor: "badge.blue_alt.bg";
78
- '&:not([data-loading], [aria-busy=true])': {
79
- bgColor: "badge.blue_alt.bg";
80
- };
47
+ bg: "badge.blue_alt.bg";
81
48
  color: "badge.blue_alt.fg";
82
49
  };
83
50
  };
@@ -14,7 +14,6 @@ export const recipe = defineRecipe({
14
14
  userSelect: 'none',
15
15
  _loading: {
16
16
  borderRadius: 'sm',
17
- bgColor: 'unset',
18
17
  },
19
18
  },
20
19
  variants: {
@@ -23,80 +22,47 @@ export const recipe = defineRecipe({
23
22
  },
24
23
  colorPalette: {
25
24
  gray: {
26
- bgColor: 'badge.gray.bg',
27
- '&:not([data-loading], [aria-busy=true])': {
28
- bgColor: 'badge.gray.bg',
29
- },
25
+ bg: 'badge.gray.bg',
30
26
  color: 'badge.gray.fg',
31
27
  },
32
28
  green: {
33
- bgColor: 'badge.green.bg',
34
- '&:not([data-loading], [aria-busy=true])': {
35
- bgColor: 'badge.green.bg',
36
- },
29
+ bg: 'badge.green.bg',
37
30
  color: 'badge.green.fg',
38
31
  },
39
32
  red: {
40
- bgColor: 'badge.red.bg',
41
- '&:not([data-loading], [aria-busy=true])': {
42
- bgColor: 'badge.red.bg',
43
- },
33
+ bg: 'badge.red.bg',
44
34
  color: 'badge.red.fg',
45
35
  },
46
36
  purple: {
47
- bgColor: 'badge.purple.bg',
48
- '&:not([data-loading], [aria-busy=true])': {
49
- bgColor: 'badge.purple.bg',
50
- },
37
+ bg: 'badge.purple.bg',
51
38
  color: 'badge.purple.fg',
52
39
  },
53
40
  orange: {
54
- bgColor: 'badge.orange.bg',
55
- '&:not([data-loading], [aria-busy=true])': {
56
- bgColor: 'badge.orange.bg',
57
- },
41
+ bg: 'badge.orange.bg',
58
42
  color: 'badge.orange.fg',
59
43
  },
60
44
  blue: {
61
- bgColor: 'badge.blue.bg',
62
- '&:not([data-loading], [aria-busy=true])': {
63
- bgColor: 'badge.blue.bg',
64
- },
45
+ bg: 'badge.blue.bg',
65
46
  color: 'badge.blue.fg',
66
47
  },
67
48
  yellow: {
68
- bgColor: 'badge.yellow.bg',
69
- '&:not([data-loading], [aria-busy=true])': {
70
- bgColor: 'badge.yellow.bg',
71
- },
49
+ bg: 'badge.yellow.bg',
72
50
  color: 'badge.yellow.fg',
73
51
  },
74
52
  teal: {
75
- bgColor: 'badge.teal.bg',
76
- '&:not([data-loading], [aria-busy=true])': {
77
- bgColor: 'badge.teal.bg',
78
- },
53
+ bg: 'badge.teal.bg',
79
54
  color: 'badge.teal.fg',
80
55
  },
81
56
  cyan: {
82
- bgColor: 'badge.cyan.bg',
83
- '&:not([data-loading], [aria-busy=true])': {
84
- bgColor: 'badge.cyan.bg',
85
- },
57
+ bg: 'badge.cyan.bg',
86
58
  color: 'badge.cyan.fg',
87
59
  },
88
60
  purple_alt: {
89
- bgColor: 'badge.purple_alt.bg',
90
- '&:not([data-loading], [aria-busy=true])': {
91
- bgColor: 'badge.purple_alt.bg',
92
- },
61
+ bg: 'badge.purple_alt.bg',
93
62
  color: 'badge.purple_alt.fg',
94
63
  },
95
64
  blue_alt: {
96
- bgColor: 'badge.blue_alt.bg',
97
- '&:not([data-loading], [aria-busy=true])': {
98
- bgColor: 'badge.blue_alt.bg',
99
- },
65
+ bg: 'badge.blue_alt.bg',
100
66
  color: 'badge.blue_alt.fg',
101
67
  },
102
68
  },
@@ -3,12 +3,6 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
3
3
  solid: {
4
4
  bg: "blue.600";
5
5
  color: "white";
6
- '&:not([data-loading-skeleton])': {
7
- bgColor: "blue.600";
8
- _expanded: {
9
- bg: "blue.400";
10
- };
11
- };
12
6
  _hover: {
13
7
  bg: "blue.400";
14
8
  };
@@ -20,16 +14,16 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
20
14
  borderInlineStartColor: "spinner.track";
21
15
  };
22
16
  };
17
+ _expanded: {
18
+ bg: "blue.400";
19
+ };
23
20
  };
24
21
  outline: {
25
- borderWidth: "0px";
22
+ borderWidth: "2px";
26
23
  borderStyle: "solid";
27
24
  bg: "transparent";
28
25
  color: "button.outline.fg";
29
26
  borderColor: "button.outline.fg";
30
- '&:not([data-loading-skeleton])': {
31
- borderWidth: "2px";
32
- };
33
27
  _hover: {
34
28
  bg: "transparent";
35
29
  color: "blue.400";
@@ -45,14 +39,11 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
45
39
  };
46
40
  };
47
41
  dropdown: {
48
- borderWidth: "0px";
42
+ borderWidth: "2px";
49
43
  borderStyle: "solid";
50
44
  bg: "transparent";
51
45
  color: "button.dropdown.fg";
52
46
  borderColor: "button.dropdown.border";
53
- '&:not([data-loading-skeleton])': {
54
- borderWidth: "2px";
55
- };
56
47
  _hover: {
57
48
  bg: "transparent";
58
49
  color: "blue.400";
@@ -125,9 +116,6 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
125
116
  hero: {
126
117
  bg: "button.hero.bg";
127
118
  color: "button.hero.fg";
128
- '&:not([data-loading-skeleton])': {
129
- bg: "button.hero.bg";
130
- };
131
119
  _loading: {
132
120
  opacity: number;
133
121
  '& .chakra-spinner': {
@@ -190,9 +178,6 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
190
178
  subtle: {
191
179
  bg: "button.subtle.bg";
192
180
  color: "button.subtle.fg";
193
- '&:not([data-loading-skeleton])': {
194
- bg: "button.subtle.bg";
195
- };
196
181
  _hover: {
197
182
  bg: "button.subtle.bg";
198
183
  color: "link.primary.hover";
@@ -245,6 +230,9 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
245
230
  textStyle: "xs";
246
231
  borderRadius: "sm";
247
232
  gap: number;
233
+ _icon: {
234
+ boxSize: "auto";
235
+ };
248
236
  };
249
237
  xs: {
250
238
  px: number;
@@ -253,6 +241,9 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
253
241
  textStyle: "sm";
254
242
  borderRadius: "sm";
255
243
  gap: number;
244
+ _icon: {
245
+ boxSize: "auto";
246
+ };
256
247
  };
257
248
  sm: {
258
249
  px: number;
@@ -261,6 +252,9 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
261
252
  textStyle: "sm";
262
253
  borderRadius: "base";
263
254
  gap: number;
255
+ _icon: {
256
+ boxSize: "auto";
257
+ };
264
258
  };
265
259
  md: {
266
260
  px: number;
@@ -269,6 +263,9 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
269
263
  textStyle: "md";
270
264
  borderRadius: "base";
271
265
  gap: number;
266
+ _icon: {
267
+ boxSize: "auto";
268
+ };
272
269
  '& .chakra-spinner': {
273
270
  '--spinner-size': "20px";
274
271
  };
@@ -9,21 +9,12 @@ export const recipe = defineRecipe({
9
9
  _disabled: {
10
10
  opacity: 'control.disabled',
11
11
  },
12
- _loading: {
13
- bgColor: 'unset',
14
- },
15
12
  },
16
13
  variants: {
17
14
  variant: {
18
15
  solid: {
19
16
  bg: 'blue.600',
20
17
  color: 'white',
21
- '&:not([data-loading-skeleton])': {
22
- bgColor: 'blue.600',
23
- _expanded: {
24
- bg: 'blue.400',
25
- },
26
- },
27
18
  _hover: {
28
19
  bg: 'blue.400',
29
20
  },
@@ -35,16 +26,16 @@ export const recipe = defineRecipe({
35
26
  borderInlineStartColor: 'spinner.track',
36
27
  },
37
28
  },
29
+ _expanded: {
30
+ bg: 'blue.400',
31
+ },
38
32
  },
39
33
  outline: {
40
- borderWidth: '0px',
34
+ borderWidth: '2px',
41
35
  borderStyle: 'solid',
42
36
  bg: 'transparent',
43
37
  color: 'button.outline.fg',
44
38
  borderColor: 'button.outline.fg',
45
- '&:not([data-loading-skeleton])': {
46
- borderWidth: '2px',
47
- },
48
39
  _hover: {
49
40
  bg: 'transparent',
50
41
  color: 'blue.400',
@@ -60,14 +51,11 @@ export const recipe = defineRecipe({
60
51
  },
61
52
  },
62
53
  dropdown: {
63
- borderWidth: '0px',
54
+ borderWidth: '2px',
64
55
  borderStyle: 'solid',
65
56
  bg: 'transparent',
66
57
  color: 'button.dropdown.fg',
67
58
  borderColor: 'button.dropdown.border',
68
- '&:not([data-loading-skeleton])': {
69
- borderWidth: '2px',
70
- },
71
59
  _hover: {
72
60
  bg: 'transparent',
73
61
  color: 'blue.400',
@@ -144,9 +132,6 @@ export const recipe = defineRecipe({
144
132
  hero: {
145
133
  bg: 'button.hero.bg',
146
134
  color: 'button.hero.fg',
147
- '&:not([data-loading-skeleton])': {
148
- bg: 'button.hero.bg',
149
- },
150
135
  _loading: {
151
136
  opacity: 1,
152
137
  '& .chakra-spinner': {
@@ -209,9 +194,6 @@ export const recipe = defineRecipe({
209
194
  subtle: {
210
195
  bg: 'button.subtle.bg',
211
196
  color: 'button.subtle.fg',
212
- '&:not([data-loading-skeleton])': {
213
- bg: 'button.subtle.bg',
214
- },
215
197
  _hover: {
216
198
  bg: 'button.subtle.bg',
217
199
  color: 'link.primary.hover',
@@ -257,10 +239,43 @@ export const recipe = defineRecipe({
257
239
  },
258
240
  },
259
241
  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' } },
242
+ '2xs': {
243
+ px: 2,
244
+ h: 5,
245
+ minW: 5,
246
+ textStyle: 'xs',
247
+ borderRadius: 'sm',
248
+ gap: 1,
249
+ _icon: { boxSize: 'auto' },
250
+ },
251
+ xs: {
252
+ px: 2,
253
+ h: 6,
254
+ minW: 6,
255
+ textStyle: 'sm',
256
+ borderRadius: 'sm',
257
+ gap: 1,
258
+ _icon: { boxSize: 'auto' },
259
+ },
260
+ sm: {
261
+ px: 3,
262
+ h: 8,
263
+ minW: 8,
264
+ textStyle: 'sm',
265
+ borderRadius: 'base',
266
+ gap: 1,
267
+ _icon: { boxSize: 'auto' },
268
+ },
269
+ md: {
270
+ px: 3,
271
+ h: 10,
272
+ minW: 10,
273
+ textStyle: 'md',
274
+ borderRadius: 'base',
275
+ gap: 2,
276
+ _icon: { boxSize: 'auto' },
277
+ '& .chakra-spinner': { '--spinner-size': '20px' },
278
+ },
264
279
  },
265
280
  },
266
281
  defaultVariants: {
@@ -4,9 +4,6 @@ export declare const recipe: import('@chakra-ui/react').RecipeDefinition<{
4
4
  bg: "transparent";
5
5
  color: "closeButton.fg";
6
6
  border: "none";
7
- '&:not([data-loading-skeleton])': {
8
- bg: "transparent";
9
- };
10
7
  _hover: {
11
8
  bg: "transparent";
12
9
  color: "link.primary.hover";
@@ -17,9 +17,6 @@ export const recipe = defineRecipe({
17
17
  bg: 'transparent',
18
18
  color: 'closeButton.fg',
19
19
  border: 'none',
20
- '&:not([data-loading-skeleton])': {
21
- bg: 'transparent',
22
- },
23
20
  _hover: {
24
21
  bg: 'transparent',
25
22
  color: 'link.primary.hover',
@@ -1,4 +1,4 @@
1
- export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"title" | "content" | "body" | "footer" | "header" | "description" | "positioner" | "backdrop", {
1
+ export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "body" | "footer" | "header" | "title" | "description" | "positioner" | "backdrop", {
2
2
  placement: {
3
3
  center: {
4
4
  positioner: {
@@ -1,4 +1,4 @@
1
- export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"title" | "content" | "body" | "footer" | "header" | "description" | "root" | "positioner" | "backdrop" | "trigger", {
1
+ export declare const recipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "body" | "footer" | "header" | "title" | "root" | "description" | "positioner" | "backdrop" | "trigger", {
2
2
  size: {
3
3
  md: {
4
4
  content: {