Files
1a57cb25a0 Async CSV export (#3330)
* add export for address txs

* transfer all export from page to dialog

* remove old route and components

* improve file name and fix loading state of icon button

* basic implementation

* refetch item status

* status indicator for download items

* changes for multichain

* handle too many requests for downloads error

* update button styles and spacing

* fix tests

* disable async export for multichain

* Fix CSV export cancel flow and stabilize context updates

Applied via @cursor push command

* test and review fixes

* design fixes

* refactor file names

---------

Co-authored-by: Hanzo Dev <[email protected]>
2026-03-02 15:51:50 +02:00

45 lines
756 B
TypeScript

import { defineSlotRecipe } from '@chakra-ui/react';
export const recipe = defineSlotRecipe({
className: 'chakra-status',
slots: [ 'root', 'indicator' ],
base: {
root: {
display: 'block',
borderRadius: 'full',
borderColor: 'bg.primary',
bg: 'orange.400',
forcedColorAdjust: 'none',
flexShrink: 0,
},
},
variants: {
size: {
xs: {
root: {
boxSize: '6px',
borderWidth: '1px',
},
},
sm: {
root: {
boxSize: '8px',
borderWidth: '1px',
},
},
md: {
root: {
boxSize: '10px',
borderWidth: '1px',
},
},
},
},
defaultVariants: {
size: 'md',
},
});