What's Changed
Summary
- fix(input): focus styles removed by @jrgarciadev in #114
- Refactor/general a11y by @jrgarciadev in #115
- fix(card): bgColor added as a dependency to config useMemo by @jrgarciadev in #118
- fix(card): Do not preventDefault keyboard event in Card by @Matteo-Peronnet in #123
- Styled-jsx changed by Stitches by @jrgarciadev in #128
🔴 Breaking changes
flush
method on SSR implementation has to be inside theHead
component for next.js, you can see the detailed implementation heresize
prop values changed
mini -> xs
small -> sm
medium -> md
large -> lg
xlarge -> xl
This applies to components like Avatar
, Button
, Container
etc...
loaderType
andloading
props were removed from theButton
component, you can see the new implementation way here- custom
color
values like#ff4ecd
and customsize
are no longer acceptable since there are a defined set of colours and sizes, if you want to set a custom colour or size you have to use thecss
prop or create a custom component withstyled
function you can see the detailed documentation about how to override styles here
🚀 Features
- Now you have available the
css
prop in all NextUI components for styling without need the annoying!important
CSS tag - Theme implementation was completely redesigned, now you can change the NextUI theme as easy as change classNames, for further information see the Theme documentation
New Contributors
- @Matteo-Peronnet made their first contribution in #123
Full Changelog: v1.0.1-alpha.57...v1.0.2-alpha.1