prismicio / prismic-react

React components and hooks to fetch and present Prismic content
https://prismic.io/docs/technologies/homepage-reactjs
Apache License 2.0
153 stars 40 forks source link

fix(SliceZone): restore `resolver` prop #181

Closed angeloashmore closed 11 months ago

angeloashmore commented 11 months ago

Types of changes

Description

This PR restores the resolver prop in <SliceZone>.

This prop is deprecated and should not be used. It will be removed in the next major version. It was mistakenly removed in a minor release (v2.6.0).

Checklist:

codecov-commenter commented 11 months ago

Codecov Report

Merging #181 (a2c2768) into master (8f30e6c) will increase coverage by 0.00%. The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff            @@
##           master     #181    +/-   ##
========================================
  Coverage   99.44%   99.44%            
========================================
  Files          20       21     +1     
  Lines        2332     2531   +199     
  Branches      126      129     +3     
========================================
+ Hits         2319     2517   +198     
- Misses         13       14     +1     
Impacted Files Coverage Δ
src/SliceZone.tsx 99.08% <100.00%> (+0.51%) :arrow_up:
src/index.ts 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

github-actions[bot] commented 11 months ago

size-limit report 📦

Path Size
./dist/index.cjs 7.08 KB (+1.55% 🔺)
./dist/index.js 4.66 KB (+1.6% 🔺)
./dist/react-server.cjs 6.27 KB (+1.81% 🔺)
./dist/react-server.js 4.22 KB (+1.99% 🔺)