I am documenting specs for library components and have several pages of documentation set up in frames. I also have some components outside of those frames; some of the components outside of the documentation specs are individual main components, and others are variant sets. When I Export Frames to PDF, it exports all of the frames on the Figma page, which is what I expected. However, it also exports variant sets that are unframed and includes them like any other page in the PDF. It does not export individual components that are on the page outside of frames.
I would expect only defined frames to export with Export Frames to PDF, and not also variant sets that are not inside frames. Is it possible this is a bug?