Skip to content

v8.1.0

Choose a tag to compare

@github-actions github-actions released this 11 Sep 08:35
· 147 commits to main since this release
e8c5cb7

@repo/ui v8.1.0 – Adds spacing control to Marquees, bumps overlay z‑indices to a standard 1000 band, and restores proper footer rendering in Drawer and PageHeader.

Marquees

  • New gap prop (px number, defaults to 0) adds uniform spacing between repeated copies of a row.
  • The gap is applied as trailing padding on each copy, keeping the scroll seamless.
  • Changing gap rewinds the measurement so the repeat count is recomputed.
  • Example:
    <Marquees speed={40} gap={12} items={[{ key: 0, children: row }]} />

Overlay Layer

  • All floating/overlay primitives now use OVERLAY_LAYER (z-index: 1000) instead of the previous z-50.
  • Affected components: Modal/Dialog, Drawer, Popover, Select popup, Dropdown menu, FloatButton, and Layout.Header when position is sticky or fixed.
  • This change ensures these components stack above most UI libraries’ navbars (e.g., Docusaurus, Ant Design, Bootstrap, MUI).
  • Modal.confirm and imperative Toast/Modal stack roots remain at z-index: 10000.
  • Layout.Sider stays at z-index: -10 to avoid covering sticky headers.

Drawer

  • The footer and extra slots are now wrapped correctly, restoring the classNames.footer and classNames.extra props.
  • The footer bar now appears with a width of 352 px (previously 384 px), inset 16 px from each edge, and is pinned to the panel bottom.
  • The extra slot also regains its shrink-0 wrapper.

PageHeader

  • The identical bug in PageHeader’s extra slot has been fixed in the same way, ensuring the slot renders correctly with its wrapper.

What's Changed

  • chore(ci): drop gitmoji from bot-generated commit messages by @pjb0811 in #348
  • fix(docs): render the CodeEditor subpath admonition by @pjb0811 in #349
  • docs(web): add the CodeEditor page to the sidebar by @pjb0811 in #352
  • chore: version packages by @github-actions[bot] in #353
  • chore(web): fail CI when a docs page is missing from the sidebar by @pjb0811 in #354
  • chore: version packages by @github-actions[bot] in #355
  • feat(marquees): add gap between the repeated copies of a row by @pjb0811 in #356
  • fix(marquees): seed the track width from the container, not the viewport by @pjb0811 in #357
  • fix(drawer): wrap the footer and extra slots instead of dropping the wrapper by @pjb0811 in #358
  • fix: raise the shared overlay layer from z-50 to z-1000 by @pjb0811 in #359
  • chore: version packages by @github-actions[bot] in #360

Full Changelog: v8.0.0...v8.1.0