Repository navigation
Releases: open-mrp/ui
Release list
v4.1.0
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 anautoFocusfield, or when the modal mounts already open under React StrictMode.- Export
AnchoredPanelanduseDismissableLayerfor non-modal popovers anchored to an element, and add acollisionPaddingprop toAnchoredPanel.
- Export
v4.0.0
Major Changes
-
dca14b9: Run every overlay on the in-house primitives and drop the dependencies that duplicated them.
Breaking
- Removed
ShadButtonandshadButtonVariants; useButton. - Removed
useSidenavStore; useuseSidenavState, which returns the sameisCollapsed,setCollapsed,toggleCollapsedandisHydrated. The persisted localStorage value is unchanged. tailwindcssmoved fromdependenciestopeerDependencies.Sheet,DropdownMenu,Accordionand theSelectorfamily no longer take Radix-only props such asforceMount,onOpenAutoFocusoronPointerDownOutside, and no longer emit--radix-*CSS variables. Floating panels expose--anchor-width,--available-widthand--available-heightinstead.
Changes
Sheetis built onModal,DropdownMenuon a newAnchoredPanel(modal by default, like before),Accordionon plain buttons, andSelector,SelectableAutocompleteandMultiSelectableAutocompleteon a non-modalAnchoredPanel. Their exports,data-stateattributes, ARIA roles, keyboard behavior and positioning are unchanged.DropdownMenuSubContentnow renders outside the parent menu, so submenus are no longer clipped by the parent's scroll container.- Floating panels opened inside a
Modalrender into that modal's root, so they always stack above its backdrop. Autocompletevirtualizes option lists longer than 100 items with@tanstack/react-virtual; options carryaria-setsizeandaria-posinset.- Code highlighting uses
highlight.jsdirectly 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-parseandrehype-stringify. Addedhighlight.js.
- Removed
v3.1.0
Minor Changes
- 0dc51c6: feat: add overlay utilities for consistent client handling
v2.0.4
Patch Changes
- 5a84362: Fix Selector nested-button hydration error when clearable
v2.0.3
Patch Changes
- be53909: fix: update deps
v2.0.2
Patch Changes
-
632530d: fix: tooltips no longer disappear behind sidebars and app bars
TooltipContentsat atz-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
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
LICENSEfile and nolicensefield, which
leaves it all-rights-reserved and unusable by anyone. This release fixes the
published metadata.
v2.0.0
Major Changes
-
acc634d: Rename the package from
@augno/uito@openmrp/ui, and publish it to the
public npm registry instead of GitHub Packages.Consumers must update the dependency name and drop the
@augnoscope mapping
from their.npmrc; the old scope is not aliased.AugnoLogois now
OpenMRPLogo.
v1.9.13
Patch Changes
- 0cca292: fix: issue with tabs and headings and buttons
v1.9.12
Patch Changes
- 87ea962: fix: isue with canvas deploy