Repository navigation
@react-pdf/layout@5.2.1
Patch Changes
-
#3610
50f4fb95d6c241b657b8d9db1675a76b38660f04Thanks @adarshsm! - Fix pagination looping forever when the first child of a container hasbreakand the page has afixedelement -
#3604
7ca50af3fd5746955ba18cab7f815f1d62d53813Thanks @adarshsm! - FixflexShrink: 0(andflex: 'none', Tailwindshrink-0) being reset to1, so the node still shrank. -
#3602
ec92c81d74c4a24cc4f706e3cd49691252b93ef4Thanks @iliev-blnk! - fix: declare the packages imported by published type declarations as dependencies (@types/fontkitin font and textkit,@react-pdf/fontin textkit and layout), so they type-check withskipLibCheck: false -
#3628
1092d61de79bcc1f43164428c75eef0584707d08Thanks @peterolkhov! - Honorfixed={false}when deciding page breaks and measuring the presence of following siblings. -
#3574
18b6740a0086cae6aa8a01f0d1385c5e03276d82Thanks @philippelef! - Improve layout performance for documents with many nodes by using linear-time tree traversal queues. -
#3151
940747b20aedf57705a9deccb599d258aa0a3ea5Thanks @EvHaus! - Treat an explicitwrap={undefined}like an omittedwrapprop (defaulttrue).nullandfalsestill disable wrapping. -
#3625
eeae3fecfddeb680fb09264ad2bed0b1a83b6c73Thanks @ntltd! - Fix theBuffer is not definedwarning logged in browsers for each image:fetchImageno longer reads theBufferglobal once the image is loaded, so images from a url or a data URI get their cache key again. -
#3149
e75eb325dd759edd152dbfe7da44b43092516aabThanks @plckr! - Render prop can now be passed as undefined -
#3608
7d86485b65aefefde1e5e811edeae135ca42c557Thanks @Seybel! - Fix SVG definitions being ignored when an<Svg>has more than one<Defs>. Gradients, clip paths and markers are now read from every top-level<Defs>, not just the first one. If the same id is defined more than once, the first definition is used, like in browsers. -
#3630
eb3ec5cdeac32f080903803622a6d57de1543241Thanks @adarshsm! - Keep the last line of a text on the page when it fits exactly, instead of moving it (or the whole text) to the next page because of float rounding -
Updated dependencies [
5dbd6d82686c8819c011a55960161fa27e4de47a,4d40a836ef2540b6512071fa6fb58ff5be24ea2e,ec92c81d74c4a24cc4f706e3cd49691252b93ef4,38b573aea445d9acb91bf64ea8b1753a9848ed0b,c987d165e1a13da7bcbd606ec0ca5bad5727ef6b,afb755da20838f931d826a91b1b41d48518c0439,f26e3187e2f4daab14f02d71e41e1eb8a2d17bc3]:- @react-pdf/font@4.1.3
- @react-pdf/image@3.1.3
- @react-pdf/textkit@7.0.2
- @react-pdf/paginate@1.0.2
- @react-pdf/stylesheet@6.3.3
- @react-pdf/types@2.14.1