Skip to content

History / LayrzResponsiveModal

Revisions

  • docs(wiki): document LayrzBottomSheet's new actions slot - LayrzBottomSheet: document the actions parameter added in d020037 -- a right-aligned button row pinned as a sibling of the Expanded content (not nested in its scroll view), never pushed behind the keyboard, and not a substitute for a close ("X") button. Rewrite the canDismiss section's no-actions-slot line: the slot now exists, but canDismiss deliberately does not infer its default from actions the way the dialog does, since a freeform builder makes actions-presence a weaker signal on the sheet. Add matching usage examples (an actions row; non-dismissible answered only through actions) verified against test/sheets/bottom_sheet_actions_test.dart. - LayrzResponsiveModal: verified against responsive_modal.dart that show() has no actions parameter and forwards none to either branch. Extend "The Builder-vs-Slots Limitation" to cover the sheet's new actions slot symmetrically with the dialog's title/content/actions, rather than leaving the sheet described as having no slotted shape at all. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    @PHKenny PHKenny committed Aug 28, 2026
  • docs(wiki): document LayrzBottomSheet canDismiss, fix stale asymmetry note - LayrzResponsiveModal: canDismiss now forwards to both branches (af002a4 fixed the sheet-branch gap this page previously documented as permanent); rewrite "The canDismiss Asymmetry" as "The canDismiss Defaulting Asymmetry", covering the one surviving difference -- an unset canDismiss maps to actions-inferred on the dialog branch vs. an unconditional true on the sheet branch, since LayrzBottomSheet.show's parameter is non-nullable. - LayrzBottomSheet: document the new canDismiss parameter (barrier, Escape, back gesture, and drag-to-dismiss; composes with isPersistent on a separate axis); document the real PopScope backing the back gesture, replacing the previously-inaccurate claim that back-gesture handling already existed; note the drag handle keeps rendering and resizing when non-dismissible; note there is no close ("X") button on a sheet by design. - LayrzBottomSheet: also remove the useRootNavigator parameter and its usage example/section, which 908d020 deleted before af002a4 landed but this page had not caught up to -- root-navigator presentation is now intrinsic, same as the dialog. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    @PHKenny PHKenny committed Aug 28, 2026
  • docs(wiki): correct slider geometry/bubble, dialog canDismiss rename, modal asymmetry - LayrzSlider: fix stale 20px/circular-thumb hit-slop numbers to the shipped 36px painted area (28px square thumb, 8px track); document the drag-value bubble (LayrzSliderValueBubble) that now supplements the static label instead of the removed "no bubble" scope limit; document state-varying thumb elevation. - LayrzDialog: rename barrierDismissible -> canDismiss throughout and document its broadened four-route contract (barrier, Escape, X icon, back gesture); document the X close affordance and its non-render when non-dismissible; remove the deleted useRootNavigator parameter in favor of documenting the dialog's always-root-navigator behavior; document content's unbounded-height constraint and its workarounds. - LayrzResponsiveModal: same canDismiss rename and useRootNavigator removal; document the canDismiss forwarding asymmetry (dialog branch only, silently ignored by the sheet branch). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    @PHKenny PHKenny committed Aug 28, 2026
  • docs(dialogs): add LayrzDialog and LayrzResponsiveModal pages, register sidebar entries Documents LayrzDialog.show<T>() (title/content/actions slots, the child escape hatch, the double-pop guard shared with LayrzBottomSheet via LayrzModalRoute, barrierDismissible defaulting on actions presence, focus restoration, and the v1 no-stacking rule) and LayrzResponsiveModal.show<T>() (viewport-driven via context.isCompact, the decide-once non-goal stated prominently, the two config objects, and the builder-vs-slots limitation). Registers LayrzDialog and LayrzResponsiveModal under Navigation and LayrzSlider under Inputs in the sidebar.

    @PHKenny PHKenny committed Aug 27, 2026