mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* 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]>
45 lines
756 B
TypeScript
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',
|
|
},
|
|
});
|