Skip to content

Releases: reapit/elements

@reapit/elements_v5.0.0-beta.52

17 Sep 02:04
3159df9

Choose a tag to compare

Pre-release

Notable Changes

🎉 New things

  • Most core components are now connected to Figma via Code Connect. This means engineers will have access to Elements-based code snippets within Figma when inspecting designs (so long as they have a dev mode licence).

🐛 Bug fixes

  • The @reapit/elements/lab/* and @reapit/elements/utils/* entry points are now correctly defined in the package manifest.

💔 Breaking changes

  • Avatar: the colour prop now accepts 'default' | 'primary' instead of 'default' | 'purple'. This update was performed to ensure the component's interface matches its equivalent component in Figma.
  • FeaturesItem: renamed to FeatureItem. If consumers are using Features.Item or the common items like Features.Bedrooms, this change will have no impact.
  • LabelText: the ElLabelRequiredMark has been removed. This will only impact CSS-only consumers that were relying on the associated el-label-required-mark class name.
  • PageHeader: renamed breadcrumbs prop to navigation to better align with its equivalent Figma component.
  • StatusIndicator: accent1 and accent2 colours have been renamed to accent_1 and accent_2.
  • SupplementaryInfo: accent-1 and accent-2 colours have been renamed to accent_1 and accent_2.

What's Changed

Full Changelog: https://github.com/reapit/elements/compare/@reapit/elements_v5.0.0-beta.51...@reapit/elements_v5.0.0-beta.52

@reapit/elements_v5.0.0-beta.51

12 Sep 07:04
441a991

Choose a tag to compare

Pre-release

Notable Changes

🎉 New things

Updated all components prop interfaces to now be exported. Specifically, they are now available via the Component.Props. This means when you import a component, such as Chip, you will automatically have Chip.Props available for use without needing an additional import type { ChipProps } from ... statement. This does not (yet) extend to compound components: Menu.Item will not have Menu.Item.Props available.

🐛 Bug fixes

Fixed missing entry point for lab components in package manifest 🤦‍♂️

💔 Breaking changes

Updated class names for lab components to use an "experimental" prefix; e.g. ElSearchInput -> ElExperimentalSearchInput. While this is a breaking change, it's unlikely current beta consumers are directly using these styled elements or class names, so it should have minimal impact.

What's Changed

Full Changelog: https://github.com/reapit/elements/compare/@reapit/elements_v5.0.0-beta.50...@reapit/elements_v5.0.0-beta.51

@reapit/elements_v5.0.0-beta.50

10 Sep 04:13
5036b5d

Choose a tag to compare

Pre-release

Notable Changes

  • readOnly support added to ChipSelect options.
  • Added examples for using ChipSelect with Formik and React Hook Form.

What's Changed

Full Changelog: https://github.com/reapit/elements/compare/@reapit/elements_v5.0.0-beta.49...@reapit/elements_v5.0.0-beta.50

@reapit/elements_v5.0.0-beta.49

09 Sep 11:14
1673d8c

Choose a tag to compare

Pre-release

Notable Changes

🎉 New things

  • New SelectNative now available via @reapit/elements/core/select-native.
  • New ChipSelect now available via @reapit/elements/core/chip-select.
  • New experimental SelectCustom component now available via @reapit/elements/lab/select-custom.
    • ⚠️ Remember, while experimental components are available for use, they come with all the caveats implied by terms like "experimental" and "unstable". Use in production at your own risk.

🐛 Bug fixes

  • AppSwitcher.ProductMenuItem now passes through additional props correctly.

What's Changed

Full Changelog: https://github.com/reapit/elements/compare/@reapit/elements_v5.0.0-beta.48...@reapit/elements_v5.0.0-beta.49

@reapit/elements_v5.0.0-beta.48

04 Sep 04:18
8f5c995

Choose a tag to compare

Pre-release

Notable Changes

🎉 New things

  • Experimental Radio and RadioGroup have been added to @reapit/elements/lab/...

🐛 Fixes

  • Tag now has the correct font colour
  • Table atom is now correctly exported from @reapit/elements/core/table

What's Changed

Full Changelog: https://github.com/reapit/elements/compare/@reapit/elements_v5.0.0-beta.47...@reapit/elements_v5.0.0-beta.48

@reapit/elements_v5.0.0-beta.47

03 Sep 07:21
277c756

Choose a tag to compare

Pre-release

Notable Changes

🎉 New things

  • New Table components are available. These are available via @reapit/elements/core/table and replace the experimental table components in @reapit/elements/core/lab, which will be removed in a future release.
  • Added new font prop to Text. This replaces the separate size and weight props, both of which have been deprecated and will be removed in a future release. The new prop brings the ability to inherit the font style from the parent, making it much easier to use Text in order to add truncation behaviour or colour to a span of text.
  • Pagination now supports anchor-based controls, as well as the existing button-based controls.
  • AppSwitcher now supports MoveMeIn. It is not yet whitelisted for display though.

🐛 Bug fixes

💔 Breaking changes

  • TagGroup and ChipGroup prop interface has been aligned. Specifically, ChipGroup no longer supports overflow: 'scroll' | 'wrap'.
    • Instead, it now supports flow: 'wrap' | 'nowrap' and overflow: 'auto' | 'hidden'.
    • The original overflow="scroll" behaviour no requires flow="nowrap".
    • The original overflow="auto", while overflow="wrap" becomes flow="wrap".
  • The currentPage prop on the Pagination component has been renamed to pageNumber. The onPageChange prop has been deprecated and will be removed in a future release.
  • CheckboxDisabledIcon and RadioDisabledIcon have been removed.

What's Changed

Full Changelog: https://github.com/reapit/elements/compare/@reapit/elements_v5.0.0-beta.46...@reapit/elements_v5.0.0-beta.47

@reapit/elements_v5.0.0-beta.46

25 Aug 02:25
b9446c5

Choose a tag to compare

Pre-release

Notable Changes

🎉 New things

  • Divider added. This replaces the menu-specific ElMenuDivider, though Menu.Divider is still available.
  • EmptyData.Action added.
  • An experimental SearchInput is now available via @reapit/elements/lab/search-input.
  • SupplementaryInfo now supports an inherit colour.

🐛 Bug fixes

  • Fixed style regression in DeprecatedNav #679
  • Fixed SVG display issue in AppSwitcher #652
  • Fixed Accordion issues on Safari #704
  • Badge labels will no longer wrap when there's insufficient space.
  • StatusIndicator text will no longer wrap when there's insufficient space.
  • AppSwitcher now uses correct productId for Lettings BDM product (bdm instead of lettingsBdm).

💔 Breaking changes

  • PageHeader no longer accepts children. It never actually handled children, but it's interface accepted it.
  • SupplementaryInfo default colour is now inherit rather than primary
  • EmptyData.SecondaryDescription removed. It has been replaced by a secondaryText prop on EmptyData.Description
  • el-menu-divider and ElMenuDivider removed in favour of the new ElDivider and el-divider.
  • The lettingsBdm product ID for the AppSwitcher has been replaced by bdm.

What's Changed

Full Changelog: https://github.com/reapit/elements/compare/@reapit/elements_v5.0.0-beta.45...@reapit/elements_v5.0.0-beta.46

@reapit/elements_v5.0.0-beta.45

18 Aug 08:22
ddfd660

Choose a tag to compare

Pre-release

🐛 Bug fixes

  • Fixes a regression in TopBar included in beta.44. The secondary nav region now displays at the correct breakpoints.

What's Changed

Full Changelog: https://github.com/reapit/elements/compare/@reapit/elements_v5.0.0-beta.44...@reapit/elements_v5.0.0-beta.45

@reapit/elements_v5.0.0-beta.44

18 Aug 07:01
c2697e5

Choose a tag to compare

Pre-release

Notable Changes

🎉 New things

🐛 Bug fixes

  • AppSwitcher now supports all standard <button> element attributes. These are forwarded to the trigger button.
  • Menu and CSSContainerQuery now place well together. A CSSContainerQuery can now be used to hide/show menu items without impacting their padding.
  • The isWidthBelow breakpoint condition helper now correctly matches for widths strictly less than the specified breakpoint's minimum width, rather than match when less than or equal to it.

💔 Breaking changes

  • The table components originally available from @reapit/elements/core/table have been moved to @reapit/elements/lab/table. They have also been removed from the root entry point, so are no longer available for import from @reapit/elements.
  • The CSSContainerQuery component has been moved from @reapit/elements/core/container-query to @reapit/elements/core/css-container-query so that the import path matches the component name.

What's Changed

Full Changelog: https://github.com/reapit/elements/compare/@reapit/elements_v5.0.0-beta.43...@reapit/elements_v5.0.0-beta.44

@reapit/elements_v5.0.0-beta.43

11 Aug 22:56
f9c8adf

Choose a tag to compare

Pre-release

Notable Changes

🎉 New things

🐛 Bug fixes

  • Menu now correctly accepts consumer-supplied class names
  • Tooltip no longer shows when its trigger is focused programmatically. This prevents the tooltip displaying for triggers that receive focus after the menu they control is closed.

💔 Breaking Changes

  • StatusIndicator no longer has a default value for variant. The el-status-indicator-shape class has also been removed.

What's Changed

Full Changelog: https://github.com/reapit/elements/compare/@reapit/elements_v5.0.0-beta.42...@reapit/elements_v5.0.0-beta.43