nextjs-xx / nextjs-fullstack-app-template

NextJS NextUI Storybook React Graphql Apollo
2 stars 2 forks source link

Update dependency @nextui-org/react to v1.0.0-beta.10 #48

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nextui-org/react (source) 1.0.0-beta.7 -> 1.0.0-beta.10 age adoption passing confidence

Release Notes

nextui-org/nextui ### [`v1.0.0-beta.10`](https://togithub.com/nextui-org/nextui/releases/tag/v1.0.0-beta.10) [Compare Source](https://togithub.com/nextui-org/nextui/compare/v1.0.0-beta.9...v1.0.0-beta.10) #### What's Changed #### πŸš€ Features - New component: [Navbar](https://nextui.org/navbar) [#​686](https://togithub.com/nextui-org/nextui/issues/686) by [@​jrgarciadev](https://togithub.com/jrgarciadev) - New component: [Badge](https://nextui.org/badge) [#​610](https://togithub.com/nextui-org/nextui/issues/610) by [@​jrgarciadev](https://togithub.com/jrgarciadev) - Additional `sizes` and `fontSizes` [#​558](https://togithub.com/nextui-org/nextui/issues/558) by [@​jrgarciadev](https://togithub.com/jrgarciadev) - Smaller bundle size [#​663](https://togithub.com/nextui-org/nextui/issues/663) by [@​TIMMLOPK](https://togithub.com/TIMMLOPK) #### πŸ› Fixes - fix(react-tooltip): tooltip story by [@​imchell](https://togithub.com/imchell) in [https://github.com/nextui-org/nextui/pull/537](https://togithub.com/nextui-org/nextui/pull/537) - fix(react-card): box shadow applied intead of box shadow filter on sa… by [@​jrgarciadev](https://togithub.com/jrgarciadev) in [https://github.com/nextui-org/nextui/pull/594](https://togithub.com/nextui-org/nextui/pull/594) - fix(react-table): react-stately props by [@​danielsimao](https://togithub.com/danielsimao) in [https://github.com/nextui-org/nextui/pull/564](https://togithub.com/nextui-org/nextui/pull/564) - fix(react-dropdown): zIndex for focused dropdown item by [@​shtelzerartem](https://togithub.com/shtelzerartem) in [https://github.com/nextui-org/nextui/pull/595](https://togithub.com/nextui-org/nextui/pull/595) - fix(react-switch): Switch Animation In Safari by [@​TroyTae](https://togithub.com/TroyTae) in [https://github.com/nextui-org/nextui/pull/553](https://togithub.com/nextui-org/nextui/pull/553) - fix(react-dropdown): add collections and menu deps of react-stately by [@​tianenpang](https://togithub.com/tianenpang) in [https://github.com/nextui-org/nextui/pull/616](https://togithub.com/nextui-org/nextui/pull/616) - fix(react-table): Table.Header column border-radius size [#​677](https://togithub.com/nextui-org/nextui/issues/677) by [@​wangly19](https://togithub.com/wangly19) in [https://github.com/nextui-org/nextui/pull/684](https://togithub.com/nextui-org/nextui/pull/684) #### βš™οΈ Refactors - refactor(react-container): add forwardRef by [@​danielsimao](https://togithub.com/danielsimao) in [https://github.com/nextui-org/nextui/pull/567](https://togithub.com/nextui-org/nextui/pull/567) #### πŸ“š Docs - fix(docs): fix typos by [@​ZackKanter](https://togithub.com/ZackKanter) in [https://github.com/nextui-org/nextui/pull/540](https://togithub.com/nextui-org/nextui/pull/540) - fix(docs): Need Import React in Example by [@​MrScrappy](https://togithub.com/MrScrappy) in [https://github.com/nextui-org/nextui/pull/542](https://togithub.com/nextui-org/nextui/pull/542) - fix(docs): default value of animated props in avatar group by [@​shota8888](https://togithub.com/shota8888) in [https://github.com/nextui-org/nextui/pull/563](https://togithub.com/nextui-org/nextui/pull/563) - fix(docs): fix import error by [@​TroyTae](https://togithub.com/TroyTae) in [https://github.com/nextui-org/nextui/pull/575](https://togithub.com/nextui-org/nextui/pull/575) - fix(docs): unimported component in Card example by [@​imchell](https://togithub.com/imchell) in [https://github.com/nextui-org/nextui/pull/577](https://togithub.com/nextui-org/nextui/pull/577) - fix(docs): adjust contrast of text and svgs in the KBar component by [@​mattbudde](https://togithub.com/mattbudde) in [https://github.com/nextui-org/nextui/pull/588](https://togithub.com/nextui-org/nextui/pull/588) - fix(docs): remove unimplemented Dropdown API by [@​imchell](https://togithub.com/imchell) in [https://github.com/nextui-org/nextui/pull/587](https://togithub.com/nextui-org/nextui/pull/587) - fix(docs): fix input typos by [@​benmneb](https://togithub.com/benmneb) in [https://github.com/nextui-org/nextui/pull/604](https://togithub.com/nextui-org/nextui/pull/604) - fix(docs): wrong case in image props by [@​sapkra](https://togithub.com/sapkra) in [https://github.com/nextui-org/nextui/pull/603](https://togithub.com/nextui-org/nextui/pull/603) - fix(docs): Kbar change theme by [@​danielsimao](https://togithub.com/danielsimao) in [https://github.com/nextui-org/nextui/pull/599](https://togithub.com/nextui-org/nextui/pull/599) - fix(docs): change media page title by [@​imchell](https://togithub.com/imchell) in [https://github.com/nextui-org/nextui/pull/620](https://togithub.com/nextui-org/nextui/pull/620) - fix(docs): grammar in loading docs by [@​chainerprince](https://togithub.com/chainerprince) in [https://github.com/nextui-org/nextui/pull/628](https://togithub.com/nextui-org/nextui/pull/628) - fix(docs): fix typo in the Table docs by [@​denniskigen](https://togithub.com/denniskigen) in [https://github.com/nextui-org/nextui/pull/625](https://togithub.com/nextui-org/nextui/pull/625) - fix(docs): fix typos in image docs by [@​MForMarlon](https://togithub.com/MForMarlon) in [https://github.com/nextui-org/nextui/pull/645](https://togithub.com/nextui-org/nextui/pull/645) - fix(docs): remove wrong imports in custom cells example by [@​tianenpang](https://togithub.com/tianenpang) in [https://github.com/nextui-org/nextui/pull/654](https://togithub.com/nextui-org/nextui/pull/654) - fix(docs): codesandbox error in content input by [@​tianenpang](https://togithub.com/tianenpang) in [https://github.com/nextui-org/nextui/pull/655](https://togithub.com/nextui-org/nextui/pull/655) #### πŸ“¦ Repo - feat(repo): better eslint/prettier configuration by [@​jrgarciadev](https://togithub.com/jrgarciadev) in [https://github.com/nextui-org/nextui/pull/558](https://togithub.com/nextui-org/nextui/pull/558) - feat(repo): Adding links in contribution and code of conduct by [@​nerdjfpb](https://togithub.com/nerdjfpb) in [https://github.com/nextui-org/nextui/pull/632](https://togithub.com/nextui-org/nextui/pull/632) - chore(repo): Force build and upgrade some versions of action by [@​tianenpang](https://togithub.com/tianenpang) in [https://github.com/nextui-org/nextui/pull/651](https://togithub.com/nextui-org/nextui/pull/651) - chore(repo): build and deploy with vercel by [@​tianenpang](https://togithub.com/tianenpang) in [https://github.com/nextui-org/nextui/pull/652](https://togithub.com/nextui-org/nextui/pull/652) #### πŸš€ New behavior ##### [Typography](https://nextui.org/docs/theme/default-theme#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 from `fontSizes` (e.g. "3xl") theme in addition to `number` (e.g. 14) and `string` (e.g. "20px") e.g. ```tsx import {Text} from "@​nextui-org/react"; function App({ Component }) { return ( Hello World ); } ``` > The idea is to implement the same `Text` size behaviour in the future in other components like `Grid`, `Row` etc. to take advantage of the theme `tokens` ##### [Breakpoints Media](https://nextui.org/docs/theme/media) ```diff 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. ```tsx import {Text} from "@​nextui-org/react"; function App({ Component }) { return ( Hello World ); } ``` ##### [Dropdown API](https://nextui.org/docs/components/dropdown#apis) - ` disableTriggerPressedAnimation ` prop added to the `Dropdown` - Whether the trigger should show a pressed animation when the menu is open. - `showFullDescription` prop added to the `Dropdown.Item` - Whether the item description should be truncated or not. ##### [Text API](https://nextui.org/docs/components/text#apis) - `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](https://nextui.org/docs/components/link#apis) | OLD APIs | NEW APIs | |---------------|--------------------| | `icon` | `isExternal` | #### The margin of some HTML primitives has been removed from the `CssBaseline` ```diff - "dl, dd, hr, figure, p": { - margin: 0, - }, ``` #### [Typography](https://nextui.org/docs/theme/default-theme#typography) units changes: - Some `fontSizes` were renamed from `xl2...xl9` to `2xl...9xl` - Some `lineHeights` were renamed from `xl2...xl9` to `2xl...9xl` #### New Contributors - [@​ZackKanter](https://togithub.com/ZackKanter) made their first contribution in [https://github.com/nextui-org/nextui/pull/540](https://togithub.com/nextui-org/nextui/pull/540) - [@​MrScrappy](https://togithub.com/MrScrappy) made their first contribution in [https://github.com/nextui-org/nextui/pull/542](https://togithub.com/nextui-org/nextui/pull/542) - [@​shota8888](https://togithub.com/shota8888) made their first contribution in [https://github.com/nextui-org/nextui/pull/563](https://togithub.com/nextui-org/nextui/pull/563) - [@​TroyTae](https://togithub.com/TroyTae) made their first contribution in [https://github.com/nextui-org/nextui/pull/575](https://togithub.com/nextui-org/nextui/pull/575) - [@​mattbudde](https://togithub.com/mattbudde) made their first contribution in [https://github.com/nextui-org/nextui/pull/588](https://togithub.com/nextui-org/nextui/pull/588) - [@​danielsimao](https://togithub.com/danielsimao) made their first contribution in [https://github.com/nextui-org/nextui/pull/567](https://togithub.com/nextui-org/nextui/pull/567) - [@​shtelzerartem](https://togithub.com/shtelzerartem) made their first contribution in [https://github.com/nextui-org/nextui/pull/595](https://togithub.com/nextui-org/nextui/pull/595) - [@​benmneb](https://togithub.com/benmneb) made their first contribution in [https://github.com/nextui-org/nextui/pull/604](https://togithub.com/nextui-org/nextui/pull/604) - [@​sapkra](https://togithub.com/sapkra) made their first contribution in [https://github.com/nextui-org/nextui/pull/603](https://togithub.com/nextui-org/nextui/pull/603) - [@​denniskigen](https://togithub.com/denniskigen) made their first contribution in [https://github.com/nextui-org/nextui/pull/625](https://togithub.com/nextui-org/nextui/pull/625) - [@​nerdjfpb](https://togithub.com/nerdjfpb) made their first contribution in [https://github.com/nextui-org/nextui/pull/632](https://togithub.com/nextui-org/nextui/pull/632) - [@​MForMarlon](https://togithub.com/MForMarlon) made their first contribution in [https://github.com/nextui-org/nextui/pull/645](https://togithub.com/nextui-org/nextui/pull/645) - [@​wangly19](https://togithub.com/wangly19) made their first contribution in [https://github.com/nextui-org/nextui/pull/684](https://togithub.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 ### [`v1.0.0-beta.9`](https://togithub.com/nextui-org/nextui/releases/tag/v1.0.0-beta.9) [Compare Source](https://togithub.com/nextui-org/nextui/compare/v1.0.0-beta.8...v1.0.0-beta.9) #### What's Changed #### πŸš€ Features - React 18 support: Basic support for React 18. Strict mode support will be done separately. #[https://github.com/nextui-org/nextui/pull/531](https://togithub.com/nextui-org/nextui/pull/531) based on [https://github.com/adobe/react-spectrum/pull/3108](https://togithub.com/adobe/react-spectrum/pull/3108) - New prop `allowTextSelectionOnPress` was added to the Card in order to control whether text selection should be enabled on the pressable element. #### πŸ› Fixes - fix(react-card): Card ids mismatch issue [https://github.com/nextui-org/nextui/pull/531](https://togithub.com/nextui-org/nextui/pull/531) - fix(react-card): Card internal components hover and text copy [https://github.com/nextui-org/nextui/pull/523](https://togithub.com/nextui-org/nextui/pull/523) - fix(react-card): Card text selection by [@​imchell](https://togithub.com/imchell) in [https://github.com/nextui-org/nextui/pull/520](https://togithub.com/nextui-org/nextui/pull/520) - fix(react-dropdown): Dropdown trigger ref forwarded [https://github.com/nextui-org/nextui/pull/533](https://togithub.com/nextui-org/nextui/pull/533) - fix(react-button): Press props are now being passed to the button [https://github.com/nextui-org/nextui/pull/533](https://togithub.com/nextui-org/nextui/pull/533) - fix(react-spacer): spacer stories by [@​imchell](https://togithub.com/imchell) in [https://github.com/nextui-org/nextui/pull/526](https://togithub.com/nextui-org/nextui/pull/526) #### πŸ“š Docs - chore(docs): bolded keywords in blockquotes by [@​tianenpang](https://togithub.com/tianenpang) in [https://github.com/nextui-org/nextui/pull/513](https://togithub.com/nextui-org/nextui/pull/513) - fix(docs-layout): wrapped card in `Card.Body` and added background color by [@​tianenpang](https://togithub.com/tianenpang) in [https://github.com/nextui-org/nextui/pull/514](https://togithub.com/nextui-org/nextui/pull/514) - fix(docs): missing key in code examples by [@​ShellarFX](https://togithub.com/ShellarFX) in [https://github.com/nextui-org/nextui/pull/478](https://togithub.com/nextui-org/nextui/pull/478) - fix(docs): remove unavailable APIs by [@​imchell](https://togithub.com/imchell) in [https://github.com/nextui-org/nextui/pull/519](https://togithub.com/nextui-org/nextui/pull/519) - fix(docs): Updated Spelling & Grammar - Default Theme Page by [@​saadamirpk](https://togithub.com/saadamirpk) in [https://github.com/nextui-org/nextui/pull/518](https://togithub.com/nextui-org/nextui/pull/518) #### New Contributors - [@​ShellarFX](https://togithub.com/ShellarFX) made their first contribution in [https://github.com/nextui-org/nextui/pull/478](https://togithub.com/nextui-org/nextui/pull/478) - [@​saadamirpk](https://togithub.com/saadamirpk) made their first contribution in [https://github.com/nextui-org/nextui/pull/518](https://togithub.com/nextui-org/nextui/pull/518) **Full Changelog**: https://github.com/nextui-org/nextui/compare/v1.0.0-beta.8...v1.0.0-beta.9 ### [`v1.0.0-beta.8`](https://togithub.com/nextui-org/nextui/releases/tag/v1.0.0-beta.8) [Compare Source](https://togithub.com/nextui-org/nextui/compare/v1.0.0-beta.7...v1.0.0-beta.8) #### What's Changed #### πŸš€ Features - \[NEW COMPONENT]: **Dropdown** component has been created, based on react-aria hooks: `useMenu` `useMenuItem` `useMenuSection` `useTreeState` [#​507](https://togithub.com/nextui-org/nextui/issues/507) - Utilities added to the Stitches CSS library: ```diff + ds: (value) => ({ + dropShadow: value + }), + shadow: (value) => ({ + boxShadow: value + }), + dshadow: (value) => ({ + dropShadow: value + }), + dropShadow: (value) => ({ + filter: `$dropShadows${value}` + }), ``` - New theme key -> dropShadows (to use along with css dropShadow utility) **Light Theme:** ```diff dropShadows: { + xs: 'drop-shadow(0 2px 4px rgb(104 112 118 / 0.07)) drop-shadow(0 1px 1px rgb(104 112 118 / 0.04))', + sm: 'drop-shadow(0 2px 8px rgb(104 112 118 / 0.07)) drop-shadow(0 2px 4px rgb(104 112 118 / 0.04))', + md: 'drop-shadow(0 4px 12px rgb(104 112 118 / 0.08)) drop-shadow(0 20px 8px rgb(104 112 118 / 0.04))', + lg: 'drop-shadow(0 12px 24px rgb(104 112 118 / 0.15)) drop-shadow(0 12px 14px rgb(104 112 118 / 0.1))', + xl: 'drop-shadow(0 25px 34px rgb(104 112 118 / 0.35))' } ``` **Dark Theme:** ```diff dropShadows: { + xs: 'drop-shadow(0 2px 4px rgb(0 0 0 / 0.07)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.04))', + sm: 'drop-shadow(0 2px 8px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 4px rgb(0 0 0 / 0.04))', + md: 'drop-shadow(0 4px 12px rgb(0 0 0 / 0.08)) drop-shadow(0 20px 8px rgb(0 0 0 / 0.04))', + lg: 'drop-shadow(0 12px 24px rgb(0 0 0 / 0.15)) drop-shadow(0 12px 14px rgb(0 0 0 / 0.1))', + xl: 'drop-shadow(0 25px 34px rgb(0 0 0 / 0.35))' } ``` Usage example: ```jsx

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.



This PR has been generated by Mend Renovate. View repository job log here.

netlify[bot] commented 2 years ago

Deploy Preview for fanciful-rolypoly-bec1a8 failed.

Name Link
Latest commit 6749591cb94d7b576b13c76b8b9c2dd7d46757a0
Latest deploy log https://app.netlify.com/sites/fanciful-rolypoly-bec1a8/deploys/6311773beaa678000a2a3f40
github-actions[bot] commented 2 years ago

Stale pull request message

renovate[bot] commented 2 years ago

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will now ignore this update (1.0.0-beta.10). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.