Skip to content

v1.1.128

Choose a tag to compare

@github-actions github-actions released this 14 Nov 04:25
· 10 commits to main since this release

Fixed

  • The server-rendered <title> is the one the browser shows (completing lab finding
    K21). The client formats a title as "Log in — Fancy", but the SSR entry passed no title
    callback, so the first byte said only "Log in" and a crawler or link preview read that.
    resources/js/title.ts now holds the one pageTitle callback, and both app.tsx and
    ssr.tsx pass it (createFancyServer({ title }), new in fancy-inertia 0.16.0).
    tests/Feature/DocumentTitleTest.php asserts the exact title on the first byte. In an
    app made from an earlier kit:
    pass your createInertiaApp title callback to
    createFancyServer as title too.

Changed

  • fancy-inertia 0.16.0 (was 0.15.0), for the title option above. The range moves
    from >=0.15.0 <2.0 to >=0.16.0 <2.0.

  • react-fancy 6.25.0 (was 6.21.0). The range moves from ^6.21.0 to >=6.25.0 <7.0,
    the form the kit's other first-party packages already use. That only widens it, so
    any version an app already has still resolves. What arrives is mostly accessibility
    fixes:

    • Modal and Drawer name their dialog, and the page behind an open Modal or viewport
      Drawer is inert until it closes.
    • Popover and Dropdown triggers sit on their child, with no wrapper <span>.
    • ColorPicker, StickyNote, Kanban and CodeView have accessible names.
    • Table gains Table.Foot.

    The kit's own pages use none of the changed components, so an app made from an
    earlier kit has nothing to do
    unless its own code does:

    • Change a selector such as [data-react-fancy-dropdown-trigger] > button to
      button[data-react-fancy-dropdown-trigger].
    • Change [data-react-fancy-color-picker] > button to
      [data-react-fancy-color-picker-swatch].
    • Pass haspopup="menu" to a Popover that is really a menu.

    The details are in react-fancy's CHANGELOG, 6.22.0 to 6.25.0.