Skip to main content

Changelog

All notable changes to @multiconsult-group-products/design-system are recorded here, newest first.

The package follows Semantic Versioning. While it is on 0.x, each level shifts down one step:

  • Minor (0.5.0 → 0.6.0) — breaking changes and new features: a new component, prop, variant or export. Breaking changes are marked Breaking: below.
  • Patch (0.5.0 → 0.5.1) — fixes only, with no new API and nothing that breaks.

Changes to the documentation site do not change the package version.

A caret range such as ^0.5.0 picks up patch releases automatically, never a new minor. From 1.0.0, breaking changes move to major and the rest follows standard SemVer.

0.6.0 - 2026-11-27​

  • Breaking: TopBar hamburgerMenuItems takes groups, { key, label?, items }[], instead of a flat list. Wrap existing entries in one group; a divider separates every two groups. Adds { type: 'language' } to place the language row, the onSignOut and signOutLabel props for the Logg ut row that always comes last, and the types TopBarHamburgerMenuGroup, TopBarHamburgerMenuEntry and TopBarHamburgerMenuLanguageSlot.
  • Breaking: RichTextField's variant prop and the RichTextFieldVariant type are removed.
  • Breaking: RichTextField's blockType and textColor toolbar groups are off by default. Pass toolbarGroups={{ blockType: true, textColor: true }} to keep them.
  • Autocomplete no longer shows a caret by default. Pass rightSection to add one.
  • Checkbox, Radio and Switch borders use the default border colour, and Checkbox and Radio have a transparent background instead of white.
  • Dropdowns of Select, MultiSelect, Autocomplete and TagsInput run edge to edge: the panel has no padding and options have no radius, so hover and selected surfaces fill the full width. The panel opens 4px below the field and rises into place. A chosen option has no fill, since the check icon marks it; the option marked with the arrow keys gets the hover surface.
  • Dropzone's hover background is surface-grey.
  • FieldLabel: the tooltip opens at top-start.
  • Filled and focused inputs use the surface-grey background.
  • Menu: a Menu.Sub dropdown opens beside its parent panel instead of being pushed inside it.
  • MultiSelect shows its check icon on the right of the option.
  • RangeSlider's value label has the same horizontal padding as Slider's.
  • Select: a new Select component and the types SelectProps and SelectItem, with the same name as Mantine's Select, which is unchanged. Its field stays a button when searchable, and it adds clearable and the overridable nothingFoundMessage, searchLabel, searchPlaceholder and clearLabel.
  • Textarea defaults to size="md" and is as tall as its minimum number of lines (2, 3 and 6 at sm, md and lg), growing with its content.
  • TextInput section icons are 20px (16px at sm), and the text is 18px at lg.
  • TopBar size defaults to md (64px, was 56px). Pass size="sm" to keep the old height. TopBar also adds environment (PROD, DEV or TEST, default PROD) and the type TopBarEnvironment. DEV and TEST paint the bar teal with white text, and open its dropdowns and panels in the light scheme whatever the page uses. The language submenu in the hamburger menu overlaps the panel by 4px, and the BETA brand sits 2px higher.

0.5.0 - 2026-11-24​

  • Breaking: The Notification wrapper is removed, with NotificationProps and NotificationSize. Import Notification from @mantine/core; the theme still supplies its variants. Set the width with w, miw and maw instead of size.
  • Breaking: @mantine/notifications is a new peer dependency. Import @mantine/notifications/styles.css alongside the other stylesheets.
  • Breaking: TopBar's dark row is now its own bar part inside root. Move classNames and styles aimed at the row from root to bar. --topbar-height now covers the whole header, including the secondary bar; --topbar-bar-height is the dark row alone.
  • Alert title and message share one centre axis, and ta on the root aligns both. The info border follows the accent colour.
  • Button and ActionIcon add primary-danger, secondary-danger and flat-danger variants for destructive actions.
  • Colour: adds the teal palette. Dark mode uses teal where it used blue — primary, accent, links, buttons, selection controls and focus rings resolve to teal-5, with a dark label on teal fills. Components left on their default colour follow.
  • Notification sits on the surface colour with a 1px border and an 8px radius; the variant colours only the accent line and the icon. The title is 14px, the message uses the dimmed text colour, and the right padding is 16px. Adds variant="neutral". Notifications shows toasts top-right by default.
  • TopBar adds a secondary bar under the dark row, with a breadcrumb trail and action buttons: breadcrumbItems, breadcrumbsLabel, secondaryContent, secondaryActions and secondaryActionsMenuLabel, and the types TopBarBreadcrumbItem and TopBarSecondaryAction. It follows the page's colour scheme and shows when it has content. A navigation section's dropdown opens left-aligned and is dark in both colour schemes.

0.4.0 - 2026-11-18​

  • Breaking: DataTable size is now sm | md | lg (minimum row height 32/40/48px, default sm); compact, default and spacious are removed. A plain Table takes the same values through data-size. Cells keep 4px vertical padding at every size, including the header row.
  • Breaking: Chip no longer takes radius, and the ChipRadius type is removed; a Chip is always fully rounded. Chip adds variant="blue".
  • Breaking: Pill info, warning and success variants are removed. Pill takes the hue variants blue, yellow, orange, green, red and purple instead.
  • Badge heights are now 20/24/28px for sm/md/lg (were 24/32/40px).
  • Pill xs reads 12px text instead of Mantine's 10px.
  • KeyValue takes tooltip and iconLabel, passed to its FieldLabel to show the info icon.
  • Themed DatePicker, DatePickerInput, DateTimePicker and TimePicker: 32px calendar days, today highlighted, a calendar icon on the date inputs and the shared dropdown surface and fade.
  • Button and ActionIcon default to variant="primary".
  • SplitButton renders a 1px divider between its halves at every pixel density.
  • SegmentedControl no longer looks disabled when disabled={false} is passed.

0.3.3 - 2026-10-15​

  • Made the bundled agent guide self-contained and expanded TopBar localization and slot examples.
  • Clarified application-owned branding and narrow-screen control prioritization.
  • Added DataTable formatters for named-row selection and action labels.
  • Made the TopBar selector clear control compact, transparent and explicitly named.
  • Set dropdowns to 14px option text and a 150ms fade-down transition, preserving modal motion.
  • Applied semantic Accordion text and a white light-mode table base.
  • Made Notification sizing responsive and centered the empty MultiSelect field.
  • Replaced blue close-control pointer treatments with neutral states while retaining keyboard focus.

0.3.2 - 2026-10-13​

  • Added a packaged agent guide for custom components, TopBar configuration and application shells.
  • Updated setup instructions to include the required focus-modality hook.