Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish (next) #1221

Merged
merged 1 commit into from
Apr 18, 2022
Merged

Publish (next) #1221

merged 1 commit into from
Apr 18, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 13, 2022

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

ariakit@2.0.0-next.23

Major Changes

  • Dropped support for React 16. (#1225)

    The package may still work with React 16.8, but we're not testing the codebase against this version anymore. Upgrade to React 17 or higher to guarantee that your app works with Ariakit.

  • Dropped support for auto, auto-start and auto-end placements on usePopoverState and derived state hooks. (#1229)

  • Replaced defaultAnchorRect, anchorRect and setAnchorRect props on usePopoverState by a single getAnchorRect prop. (#1252)

    Before:

    const popover = usePopoverState();
    
    // inside an effect or event handler
    popover.setAnchorRect({ x: 10, y: 10 });

    After:

    const popover = usePopoverState({ getAnchorRect: () => ({ x: 10, y: 10 }) });
  • The padding prop has been renamed to overflowPadding on usePopoverState and derived state hooks. (#1229)

      const popover = usePopoverState({
    -   padding: 4,
    +   overflowPadding: 4,
      });
  • The shift and gutter props on usePopoverState and derived state hooks don't support string values anymore. Now only numbers are supported. (#1229)

  • The preventOverflow prop has been renamed to slide on usePopoverState and derived state hooks. (#1229)

      const popover = usePopoverState({
    -   preventOverflow: false,
    +   slide: false,
      });

Minor Changes

  • The setValueOnClick prop from ComboboxItem now also supports a function that receives the click event and returns a boolean value.
  • Added setValueOnChange prop to Combobox.
  • Added setValueOnClick prop to Combobox.
  • Added fitViewport prop to usePopoverState and derived state hooks. (#1229)
  • Added overlap prop to usePopoverState and derived state hooks. (#1229)

Patch Changes

  • Fixed Combobox with autoSelect and autoComplete="both" props setting an incorrect value when there are no matches. (#1219)
  • Fixed useDisclosureState reading from a mutating ref on the render phase. (#1224)
  • Fixed extra re-renders on FormField, FormInput, FormCheckbox and FormError components when they have been touched.
  • Fixed a bug where quickly hovering over nested Hovercard components right after they were mounted would cause the parent and the nested Hovercard to hide. (#1229)
  • Fixed how the "transit polygon" is shaped on Hovercard to make it easier to hover over adjacent elements. (#1240)
  • Fixed types for @types/react v18. (#1222)
  • Updated dependencies: ariakit-utils@0.17.0-next.16.

ariakit-playground@0.17.0-next.23

Minor Changes

  • Dropped support for React 16. (#1225)

    The package may still work with React 16.8, but we're not testing the codebase against this version anymore. Upgrade to React 17 or higher to guarantee that your app works with Ariakit.

Patch Changes

  • Updated dependencies: ariakit@2.0.0-next.23, ariakit-utils@0.17.0-next.16.

ariakit-test-utils@0.17.0-next.18

Minor Changes

  • Dropped support for React 16. (#1225)

    The package may still work with React 16.8, but we're not testing the codebase against this version anymore. Upgrade to React 17 or higher to guarantee that your app works with Ariakit.

Patch Changes

  • Exposed ariakit-test-utils/mock-get-client-rects module. (#1227)
  • Updated dependencies: ariakit-utils@0.17.0-next.16.

ariakit-utils@0.17.0-next.16

Minor Changes

  • Dropped support for React 16. (#1225)

    The package may still work with React 16.8, but we're not testing the codebase against this version anymore. Upgrade to React 17 or higher to guarantee that your app works with Ariakit.

  • Renamed useLazyRef function to useLazyValue.

  • Added usePreviousValue function to ariakit-utils/hooks. (#1219)

@vercel
Copy link

vercel bot commented Apr 13, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

reakit – ./

🔍 Inspect: https://vercel.com/ariakit/reakit/Atae1wsPnF7TFrraoJDDwp7Qu98h
✅ Preview: Ignored

[Deployment for 35a928c canceled]

ariakit – ./

🔍 Inspect: https://vercel.com/ariakit/ariakit/Gdb1WLSKAy5nMXxsNpSBaBmEPsCq
✅ Preview: https://ariakit-git-changeset-release-main-ariakit.vercel.app

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 13, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 559e8b1:

Sandbox Source
Ariakit Configuration

@vercel vercel bot temporarily deployed to Preview – reakit April 13, 2022 10:47 Inactive
@vercel vercel bot temporarily deployed to Preview – reakit April 13, 2022 10:53 Inactive
@vercel vercel bot temporarily deployed to Preview – reakit April 13, 2022 14:07 Inactive
@vercel vercel bot temporarily deployed to Preview – reakit April 13, 2022 14:10 Inactive
@vercel vercel bot temporarily deployed to Preview – reakit April 13, 2022 14:13 Inactive
@vercel vercel bot temporarily deployed to Preview – reakit April 13, 2022 14:36 Inactive
@vercel vercel bot temporarily deployed to Preview – reakit April 13, 2022 14:46 Inactive
@vercel vercel bot temporarily deployed to Preview – reakit April 13, 2022 20:32 Inactive
@vercel vercel bot temporarily deployed to Preview – reakit April 15, 2022 22:37 Inactive
@vercel vercel bot temporarily deployed to Preview – reakit April 16, 2022 05:52 Inactive
@vercel vercel bot temporarily deployed to Preview – reakit April 16, 2022 20:16 Inactive
@vercel vercel bot temporarily deployed to Preview – reakit April 17, 2022 19:05 Inactive
@vercel vercel bot temporarily deployed to Preview – reakit April 17, 2022 22:16 Inactive
@github-actions github-actions bot force-pushed the changeset-release/main branch 3 times, most recently from 809ccdc to 0543d0a Compare April 18, 2022 19:15
@diegohaz diegohaz merged commit 84baccb into main Apr 18, 2022
@diegohaz diegohaz deleted the changeset-release/main branch April 18, 2022 19:59
natanelia pushed a commit to natanelia/ariakit that referenced this pull request May 30, 2022
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant