Discord-MusicBot
Discord-MusicBot copied to clipboard
fix(deps): update dependency @nextui-org/react to v1.0.0-beta.10
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
@nextui-org/react (source) | 1.0.0-beta.9 -> 1.0.0-beta.10 |
Release Notes
nextui-org/nextui
v1.0.0-beta.10
What's Changed
🚀 Features
- New component: Navbar #686 by @jrgarciadev
- New component: Badge #610 by @jrgarciadev
- Additional
sizes
andfontSizes
#558 by @jrgarciadev - Smaller bundle size #663 by @TIMMLOPK
🐛 Fixes
- fix(react-tooltip): tooltip story by @imchell in https://github.com/nextui-org/nextui/pull/537
- fix(react-card): box shadow applied intead of box shadow filter on sa… by @jrgarciadev in https://github.com/nextui-org/nextui/pull/594
- fix(react-table): react-stately props by @danielsimao in https://github.com/nextui-org/nextui/pull/564
- fix(react-dropdown): zIndex for focused dropdown item by @shtelzerartem in https://github.com/nextui-org/nextui/pull/595
- fix(react-switch): Switch Animation In Safari by @TroyTae in https://github.com/nextui-org/nextui/pull/553
- fix(react-dropdown): add collections and menu deps of react-stately by @tianenpang in https://github.com/nextui-org/nextui/pull/616
- fix(react-table): Table.Header column border-radius size #677 by @wangly19 in https://github.com/nextui-org/nextui/pull/684
⚙️ Refactors
- refactor(react-container): add forwardRef by @danielsimao in https://github.com/nextui-org/nextui/pull/567
📚 Docs
- fix(docs): fix typos by @ZackKanter in https://github.com/nextui-org/nextui/pull/540
- fix(docs): Need Import React in Example by @MrScrappy in https://github.com/nextui-org/nextui/pull/542
- fix(docs): default value of animated props in avatar group by @shota8888 in https://github.com/nextui-org/nextui/pull/563
- fix(docs): fix import error by @TroyTae in https://github.com/nextui-org/nextui/pull/575
- fix(docs): unimported component in Card example by @imchell in https://github.com/nextui-org/nextui/pull/577
- fix(docs): adjust contrast of text and svgs in the KBar component by @mattbudde in https://github.com/nextui-org/nextui/pull/588
- fix(docs): remove unimplemented Dropdown API by @imchell in https://github.com/nextui-org/nextui/pull/587
- fix(docs): fix input typos by @benmneb in https://github.com/nextui-org/nextui/pull/604
- fix(docs): wrong case in image props by @sapkra in https://github.com/nextui-org/nextui/pull/603
- fix(docs): Kbar change theme by @danielsimao in https://github.com/nextui-org/nextui/pull/599
- fix(docs): change media page title by @imchell in https://github.com/nextui-org/nextui/pull/620
- fix(docs): grammar in loading docs by @chainerprince in https://github.com/nextui-org/nextui/pull/628
- fix(docs): fix typo in the Table docs by @denniskigen in https://github.com/nextui-org/nextui/pull/625
- fix(docs): fix typos in image docs by @MForMarlon in https://github.com/nextui-org/nextui/pull/645
- fix(docs): remove wrong imports in custom cells example by @tianenpang in https://github.com/nextui-org/nextui/pull/654
- fix(docs): codesandbox error in content input by @tianenpang in https://github.com/nextui-org/nextui/pull/655
📦 Repo
- feat(repo): better eslint/prettier configuration by @jrgarciadev in https://github.com/nextui-org/nextui/pull/558
- feat(repo): Adding links in contribution and code of conduct by @nerdjfpb in https://github.com/nextui-org/nextui/pull/632
- chore(repo): Force build and upgrade some versions of action by @tianenpang in https://github.com/nextui-org/nextui/pull/651
- chore(repo): build and deploy with vercel by @tianenpang in https://github.com/nextui-org/nextui/pull/652
🚀 New behavior
Typography units changes:
- New space units were added to the common theme
2xl...9xl
,min: "min-content"
,max: "max-content"
,fit: "fit-content"
,screen: "100vw"
,full: "100%"
-
Text
component now supports any value fromfontSizes
(e.g. "3xl") theme in addition tonumber
(e.g. 14) andstring
(e.g. "20px")
e.g.
import {Text} from "@​nextui-org/react";
function App({ Component }) {
return (
<Text size="4xl">Hello World</Text>
);
}
The idea is to implement the same
Text
size behaviour in the future in other components likeGrid
,Row
etc. to take advantage of the themetokens
Breakpoints Media
export const media = {
xs: `(min-width: ${defaultTokens.breakpoints.xs})`,
sm: `(min-width: ${defaultTokens.breakpoints.sm})`,
md: `(min-width: ${defaultTokens.breakpoints.md})`,
lg: `(min-width: ${defaultTokens.breakpoints.lg})`,
xl: `(min-width: ${defaultTokens.breakpoints.xl})`,
+ xsMin: `(min-width: ${defaultTokens.breakpoints.xs})`,
+ smMin: `(min-width: ${defaultTokens.breakpoints.sm})`,
+ mdMin: `(min-width: ${defaultTokens.breakpoints.md})`,
+ lgMin: `(min-width: ${defaultTokens.breakpoints.lg})`,
+ xlMin: `(min-width: ${defaultTokens.breakpoints.xl})`,
xsMax: `(max-width: ${defaultTokens.breakpoints.xs})`,
smMax: `(max-width: ${defaultTokens.breakpoints.sm})`,
mdMax: `(max-width: ${defaultTokens.breakpoints.md})`,
lgMax: `(max-width: ${defaultTokens.breakpoints.lg})`,
xlMax: `(max-width: ${defaultTokens.breakpoints.xl})`,
motion: '(prefers-reduced-motion)',
safari: 'not all and (min-resolution:.001dpcm)',
hover: '(any-hover: hover)',
dark: '(prefers-color-scheme: dark)',
light: '(prefers-color-scheme: light)'
};
e.g.
import {Text} from "@​nextui-org/react";
function App({ Component }) {
return (
<Text css={{
"@​xsMin": {
color: "red"
}
}}>Hello World</Text>
);
}
Dropdown API
-
disableTriggerPressedAnimation
prop added to theDropdown
- Whether the trigger should show a pressed animation when the menu is open. -
showFullDescription
prop added to theDropdown.Item
- Whether the item description should be truncated or not.
Text API
-
hideIn
prop added - Whether the Text should be hidden from selected breakpoint. -
showIn
prop added - Whether the Text should be visible only from the selected breakpoint.
💣 Breaking changes:
Link API
OLD APIs | NEW APIs |
---|---|
icon |
isExternal |
The margin of some HTML primitives has been removed from the CssBaseline
- "dl, dd, hr, figure, p": {
- margin: 0,
- },
Typography units changes:
- Some
fontSizes
were renamed fromxl2...xl9
to2xl...9xl
- Some
lineHeights
were renamed fromxl2...xl9
to2xl...9xl
New Contributors
- @ZackKanter made their first contribution in https://github.com/nextui-org/nextui/pull/540
- @MrScrappy made their first contribution in https://github.com/nextui-org/nextui/pull/542
- @shota8888 made their first contribution in https://github.com/nextui-org/nextui/pull/563
- @TroyTae made their first contribution in https://github.com/nextui-org/nextui/pull/575
- @mattbudde made their first contribution in https://github.com/nextui-org/nextui/pull/588
- @danielsimao made their first contribution in https://github.com/nextui-org/nextui/pull/567
- @shtelzerartem made their first contribution in https://github.com/nextui-org/nextui/pull/595
- @benmneb made their first contribution in https://github.com/nextui-org/nextui/pull/604
- @sapkra made their first contribution in https://github.com/nextui-org/nextui/pull/603
- @denniskigen made their first contribution in https://github.com/nextui-org/nextui/pull/625
- @nerdjfpb made their first contribution in https://github.com/nextui-org/nextui/pull/632
- @MForMarlon made their first contribution in https://github.com/nextui-org/nextui/pull/645
- @wangly19 made their first contribution in https://github.com/nextui-org/nextui/pull/684
Huge thanks to all contributors 🙏🏻
Full Changelog: https://github.com/nextui-org/nextui/compare/v1.0.0-beta.9...v1.0.0-beta.10
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.