mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-13 12:17:24 +00:00
a01f0256a1
The upgrade introduced around 50 new linting errors. Fix the low-hanging fruit and address straightforward violations. Several of the new rules appear to target patterns intended for newer React compiler capabilities. Since the project currently runs on React 18 rather than React 19, disable these rules for now instead of applying potentially inappropriate changes. Follow-up work can address the new rules in a dedicated PR, potentially alongside a future React version upgrade.
17 lines
483 B
TypeScript
17 lines
483 B
TypeScript
import { styled } from '@/styled-system/jsx'
|
|
|
|
export const StyledToastContainer = styled('div', {
|
|
base: {
|
|
margin: 0.5,
|
|
boxShadow:
|
|
'rgba(0, 0, 0, 0.5) 0px 4px 8px 0px, rgba(0, 0, 0, 0.3) 0px 6px 20px 4px',
|
|
backgroundColor: 'greyscale.700',
|
|
color: 'white',
|
|
borderRadius: '8px',
|
|
'&[data-entering]': { animation: 'fade 200ms' },
|
|
'&[data-exiting]': { animation: 'fade 150ms reverse ease-in' },
|
|
width: 'fit-content',
|
|
marginLeft: 'auto',
|
|
},
|
|
})
|