Skip to content

v0.8.0

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Oct 07:16
· 1 commit to main since this release

@pearpages/pulp-react 0.8.0

Minor Changes

  • 9e08cc4: An open Dialog or Sheet no longer moves the page behind it. @pearpages/modals moves to ^0.5.0: Dialog (and so Sheet) used to leave an empty <div data-modal-id> where you wrote it while open, which took a slot in a grid, a flex row with a gap or a list and reflowed the layout. It now renders no element of its own, so it can sit anywhere, between grid items included.

    Breaking: DialogProps and SheetProps no longer accept className, style, data-*, aria-* or other HTML attributes, since there is no element to put them on. Move them to Dialog.Content / Sheet.Content, which render the dialog. data-modal-id moves to the dialog too, so a [data-modal-id] selector or test now matches the role="dialog" element.

Docs: https://pulp.pearpages.com · Compare: v0.7.0...v0.8.0