Skip to content

Releases: open-mrp/ui

v4.1.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 16:49
1e9e747

Minor Changes

  • 69e1f17: - Fix Modal (and everything built on it: Dialog, Drawer, Sheet, Popover, Menu, DropdownMenu) returning focus to <body> instead of the element that opened it when the modal content has an autoFocus field, or when the modal mounts already open under React StrictMode.
    • Export AnchoredPanel and useDismissableLayer for non-modal popovers anchored to an element, and add a collisionPadding prop to AnchoredPanel.

v4.0.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 16:23
9979df8

Major Changes

  • dca14b9: Run every overlay on the in-house primitives and drop the dependencies that duplicated them.

    Breaking

    • Removed ShadButton and shadButtonVariants; use Button.
    • Removed useSidenavStore; use useSidenavState, which returns the same isCollapsed, setCollapsed, toggleCollapsed and isHydrated. The persisted localStorage value is unchanged.
    • tailwindcss moved from dependencies to peerDependencies.
    • Sheet, DropdownMenu, Accordion and the Selector family no longer take Radix-only props such as forceMount, onOpenAutoFocus or onPointerDownOutside, and no longer emit --radix-* CSS variables. Floating panels expose --anchor-width, --available-width and --available-height instead.

    Changes

    • Sheet is built on Modal, DropdownMenu on a new AnchoredPanel (modal by default, like before), Accordion on plain buttons, and Selector, SelectableAutocomplete and MultiSelectableAutocomplete on a non-modal AnchoredPanel. Their exports, data-state attributes, ARIA roles, keyboard behavior and positioning are unchanged.
    • DropdownMenuSubContent now renders outside the parent menu, so submenus are no longer clipped by the parent's scroll container.
    • Floating panels opened inside a Modal render into that modal's root, so they always stack above its backdrop.
    • Autocomplete virtualizes option lists longer than 100 items with @tanstack/react-virtual; options carry aria-setsize and aria-posinset.
    • Code highlighting uses highlight.js directly and produces the same HTML as before.
    • Removed dependencies: all @radix-ui/* packages, class-variance-authority, copy-to-clipboard (the copy button uses the Clipboard API), zustand, unified, rehype-highlight, rehype-parse and rehype-stringify. Added highlight.js.

v3.1.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 14:43
41acc76

Minor Changes

  • 0dc51c6: feat: add overlay utilities for consistent client handling

v2.0.4

Choose a tag to compare

@github-actions github-actions released this 01 Sep 02:34
a04ba34

Patch Changes

  • 5a84362: Fix Selector nested-button hydration error when clearable

v2.0.3

Choose a tag to compare

@github-actions github-actions released this 31 Aug 18:28
496a959

Patch Changes

v2.0.2

Choose a tag to compare

@github-actions github-actions released this 31 Aug 18:23

Patch Changes

  • 632530d: fix: tooltips no longer disappear behind sidebars and app bars

    TooltipContent sat at z-50, below the app chrome most consumers paint at MUI's drawer
    layer (1200), so a tooltip overlapping a sidebar had that half of it drawn over — which
    reads as truncated text, not as a stacking bug. It now pins to 1400, matching the popover
    and selector overlays, and adds collision padding plus a viewport-bounded max width so a
    long tooltip wraps instead of running off-screen.

v2.0.1

Choose a tag to compare

@github-actions github-actions released this 22 Aug 11:36
dfb888f

Patch Changes

  • 2e72744: Add the Apache 2.0 license, plus a TRADEMARKS notice covering the OpenMRP and
    Augno marks.

    2.0.0 was published to npm with no LICENSE file and no license field, which
    leaves it all-rights-reserved and unusable by anyone. This release fixes the
    published metadata.

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 22 Aug 10:59
e337ec6

Major Changes

  • acc634d: Rename the package from @augno/ui to @openmrp/ui, and publish it to the
    public npm registry instead of GitHub Packages.

    Consumers must update the dependency name and drop the @augno scope mapping
    from their .npmrc; the old scope is not aliased. AugnoLogo is now
    OpenMRPLogo.

v1.9.13

Choose a tag to compare

@github-actions github-actions released this 04 Aug 15:31
3d021c8

Patch Changes

  • 0cca292: fix: issue with tabs and headings and buttons

v1.9.12

Choose a tag to compare

@github-actions github-actions released this 23 Jun 20:24
3db0d50

Patch Changes

  • 87ea962: fix: isue with canvas deploy