Repository navigation
@pearpages/pulp-react 0.8.0
Minor Changes
-
9e08cc4: An open Dialog or Sheet no longer moves the page behind it.
@pearpages/modalsmoves to^0.5.0:Dialog(and soSheet) 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:
DialogPropsandSheetPropsno longer acceptclassName,style,data-*,aria-*or other HTML attributes, since there is no element to put them on. Move them toDialog.Content/Sheet.Content, which render the dialog.data-modal-idmoves to the dialog too, so a[data-modal-id]selector or test now matches therole="dialog"element.
Docs: https://pulp.pearpages.com · Compare: v0.7.0...v0.8.0