Releases: reapit/elements
@reapit/elements_v5.0.0-beta.52
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
colourprop 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 usingFeatures.Itemor the common items likeFeatures.Bedrooms, this change will have no impact. - LabelText: the
ElLabelRequiredMarkhas been removed. This will only impact CSS-only consumers that were relying on the associatedel-label-required-markclass name. - PageHeader: renamed
breadcrumbsprop tonavigationto better align with its equivalent Figma component. - StatusIndicator:
accent1andaccent2colours have been renamed toaccent_1andaccent_2. - SupplementaryInfo:
accent-1andaccent-2colours have been renamed toaccent_1andaccent_2.
What's Changed
- chore: bump package version by @kurtdoherty in #779
- feat: Add initial code connect config and connect some simple components by @kurtdoherty in #781
- feat!: add code connect for more components by @kurtdoherty in #782
- feat: add code connect for
BottomBar,ButtonGroup,ChipSelectandCompactSelectNativeby @kurtdoherty in #783 - feat: add code connect for
Divider,EmptyData,SelectNative, andSplitButtonby @kurtdoherty in #784 - feat: add code connect for
FolderTabs,PrimaryTabs,SecondaryTabs, andTooltipby @kurtdoherty in #785 - feat: add code connect for
FilterBar,StatusIndicator, andSupplementaryInfoby @kurtdoherty in #786 - feat: add code connect for
Dialog,Drawer, andMenuby @kurtdoherty in #787 - feat!: add code connect for
LabelText,PageHeaderandPaginationby @kurtdoherty in #788 - feat!: add code connect for
SideBarandTopBarby @kurtdoherty in #789 - feat: add code connect for
Tableby @kurtdoherty in #790 - fix: lab and utils entry points by @kurtdoherty in #791
- chore: update changelog with release date by @kurtdoherty in #792
- fix: type and lint errors by @kurtdoherty in #793
- fix: bump get-tag action to v2.1.4 to resolve set-output deprecation by @kurtdoherty in #794
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
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
- chore: bump package version by @kurtdoherty in #765
- chore: apply namespace pattern for component props (part 1) by @kurtdoherty in #766
- chore: apply namespace pattern for component props (part 2) by @kurtdoherty in #767
- chore: apply namespace pattern for component props (part 3) by @kurtdoherty in #768
- chore: apply namespace pattern for component props (part 4) by @kurtdoherty in #769
- chore: apply namespace pattern for component props (part 5) by @kurtdoherty in #770
- chore: apply namespace pattern for component props (part 6) by @kurtdoherty in #771
- chore: apply namespace pattern for component props (part 7) by @kurtdoherty in #772
- chore: apply namespace pattern for component props (part 8) by @kurtdoherty in #773
- fix: reference to non-existent
DrawerPropsby @kurtdoherty in #775 - chore: update class names for lab components by @kurtdoherty in #774
- fix: add missing lab entry point to package manifest by @kurtdoherty in #776
- chore: standardise context objects pattern by @kurtdoherty in #777
- fix: storybook build failures by @kurtdoherty in #778
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
Notable Changes
readOnlysupport added toChipSelectoptions.- Added examples for using
ChipSelectwith Formik and React Hook Form.
What's Changed
- chore: bump package version by @kurtdoherty in #761
- chore: add links to form integration examples to
ChipSelectdocs by @kurtdoherty in #762 - feat: add
readOnlysupport toChipSelectby @kurtdoherty in #763 - chore: update changelog with release date by @kurtdoherty in #764
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
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.ProductMenuItemnow passes through additional props correctly.
What's Changed
- chore: bump package version by @kurtdoherty in #753
- chore: upgrade Yarn, Storybook, and Vite by @kurtdoherty in #754
- feat: #426 Added new
Select Customelement by @DanishAli-Reapit in #732 - feat: add
SelectNativeby @kurtdoherty in #756 - feat: add
ChipSelectChipby @kurtdoherty in #757 - feat: add
ChipSelectby @kurtdoherty in #758 - feat: add
ChipSelect.determineNextControlledStateby @kurtdoherty in #759 - chore: update changelog with release date by @kurtdoherty in #760
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
Notable Changes
🎉 New things
- Experimental Radio and RadioGroup have been added to
@reapit/elements/lab/...
🐛 Fixes
- Tag now has the correct font colour
Tableatom is now correctly exported from@reapit/elements/core/table
What's Changed
- chore: bump package version by @kurtdoherty in #748
- feat: #733 v5 component refactor
RadioandRadioGroupby @DanishAli-Reapit in #736 - chore: add basic AGENTS.md by @kurtdoherty in #749
- chore: tweak
Table.Checkboxdocs by @kurtdoherty in #750 - fix:
Tagtext now has the correct colour by @kurtdoherty in #751 - fix:
Tablenow exported correctly by @kurtdoherty in #752
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
Notable Changes
🎉 New things
- New Table components are available. These are available via
@reapit/elements/core/tableand replace the experimental table components in@reapit/elements/core/lab, which will be removed in a future release. - Added new
fontprop to Text. This replaces the separatesizeandweightprops, 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 useTextin 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.
AppSwitchernow supports MoveMeIn. It is not yet whitelisted for display though.
🐛 Bug fixes
- SplitButton.MenuButton will no longer submit forms.
💔 Breaking changes
- TagGroup and ChipGroup prop interface has been aligned. Specifically,
ChipGroupno longer supportsoverflow: 'scroll' | 'wrap'.- Instead, it now supports
flow: 'wrap' | 'nowrap'andoverflow: 'auto' | 'hidden'. - The original
overflow="scroll"behaviour no requiresflow="nowrap". - The original
overflow="auto", whileoverflow="wrap"becomesflow="wrap".
- Instead, it now supports
- The
currentPageprop on the Pagination component has been renamed topageNumber. TheonPageChangeprop has been deprecated and will be removed in a future release. CheckboxDisabledIconandRadioDisabledIconhave been removed.
What's Changed
- chore: bump package version by @kurtdoherty in #712
- chore: align
TagGroupandChipGroupby @kurtdoherty in #713 - fix:
SplitButton.MenuButtonwill no longer submit forms by @kurtdoherty in #714 - feat: Add new
TableRowPrimaryActionby @kurtdoherty in #715 - feat: Add new
TableCellPrimaryDataby @kurtdoherty in #716 - feat: Add new
TableCellDoubleLineLayoutby @kurtdoherty in #717 - feat: Add new
TableBodyCellby @kurtdoherty in #718 - feat: Add new
TableBodyRowby @kurtdoherty in #719 - feat: Add new
TableBodyby @kurtdoherty in #720 - feat: Add new
TableRowMoreActionsby @kurtdoherty in #721 - chore: fix TS errors in stories by @kurtdoherty in #722
- chore: update
TableBodyCellto auto applyscope="row"by @kurtdoherty in #723 - chore: ensure valid DOM in table unit tests by @kurtdoherty in #724
- feat: Add new
TableCellSortButtonby @kurtdoherty in #725 - feat: Add new
TableHeaderCellby @kurtdoherty in #726 - feat: Add new
TableHeaderRowby @kurtdoherty in #727 - feat: Add new
TableHeadby @kurtdoherty in #728 - feat: add
fontprop toTextby @kurtdoherty in #729 - feat: add
Tableby @kurtdoherty in #730 - chore: minor updates to
Tabledocs by @kurtdoherty in #731 - chore: refactor
Paginationby @kurtdoherty in #734 - fix:
Table.HeaderCellrenders as atdwhen it has no cell content by @kurtdoherty in #735 - feat: add
Inputwith support fortype='checkbox'by @kurtdoherty in #737 - chore: remove
CheckboxDisabledIconby @kurtdoherty in #738 - fix:
InputCheckboxfocus outline by @kurtdoherty in #739 - chore: remove
RadioDisabledIconby @kurtdoherty in #740 - feat: add
Table.Checkboxby @kurtdoherty in #741 - fix: add missing table component exports by @kurtdoherty in #742
- feat: add
Table.Toolbarby @kurtdoherty in #743 - chore: update
Textdocs by @kurtdoherty in #744 - feat: add support for MMI to
AppSwitcherby @kurtdoherty in #745 - chore: update changelog with release date by @kurtdoherty in #746
- chore: update AutoResponder description in
AppSwitcherby @kurtdoherty in #747
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
Notable Changes
🎉 New things
- Divider added. This replaces the menu-specific
ElMenuDivider, thoughMenu.Divideris still available. - EmptyData.Action added.
- An experimental SearchInput is now available via
@reapit/elements/lab/search-input. - SupplementaryInfo now supports an
inheritcolour.
🐛 Bug fixes
- Fixed style regression in
DeprecatedNav#679 - Fixed SVG display issue in
AppSwitcher#652 - Fixed
Accordionissues on Safari #704 Badgelabels will no longer wrap when there's insufficient space.StatusIndicatortext will no longer wrap when there's insufficient space.AppSwitchernow uses correctproductIdfor Lettings BDM product (bdminstead oflettingsBdm).
💔 Breaking changes
PageHeaderno longer acceptschildren. It never actually handled children, but it's interface accepted it.SupplementaryInfodefault colour is nowinheritrather thanprimaryEmptyData.SecondaryDescriptionremoved. It has been replaced by asecondaryTextprop onEmptyData.Descriptionel-menu-dividerandElMenuDividerremoved in favour of the newElDividerandel-divider.- The
lettingsBdmproduct ID for theAppSwitcherhas been replaced bybdm.
What's Changed
- chore: bump package version by @kurtdoherty in #691
- fix: #679
DeprecatedNavstyles regression by @kurtdoherty in #692 - fix: CSS lint issue in
FolderTabsby @kurtdoherty in #693 - fix: #652
AppAvatarnow uses data URLs by @kurtdoherty in #694 - fix:
FolderTabsdocumentation links by @kurtdoherty in #695 - fix:
PageHeaderno longer acceptschildrenin its interface by @kurtdoherty in #696 - chore!: refactor
EmptyDataby @kurtdoherty in #697 - feat:
Textsupports newoverflow='truncate'prop by @kurtdoherty in #699 - fix:
Badgelabel will no longer wrap by @kurtdoherty in #700 - feat!:
SupplementaryInfosupportsinheritcolour by @kurtdoherty in #702 - fix:
StatusIndicatortext no longer wraps by @kurtdoherty in #703 - feat: #496 Added Search Input v5 element by @DanishAli-Reapit in #698
- fix!:
AppSwitchernow using correct Lettings BDM product ID by @kurtdoherty in #705 - chore:
SearchInputonSearchprop changed tounstable_onSearchby @kurtdoherty in #707 - fix: #704
Accordiondisclosure marker now hidden, custom icon now r… by @kurtdoherty in #708 - chore: update changelog with release date by @kurtdoherty in #706
- chore: update
AppSwitchercode snippet by @kurtdoherty in #709 - feat!: Added generic
Dividerand removeel-menu-dividerby @kurtdoherty in #711
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
🐛 Bug fixes
- Fixes a regression in
TopBarincluded in beta.44. The secondary nav region now displays at the correct breakpoints.
What's Changed
- chore: bump package version by @kurtdoherty in #689
- fix:
TopBarsecondary nav regression introduced by #687 by @kurtdoherty in #690
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
Notable Changes
🎉 New things
- New FolderTabs component added.
🐛 Bug fixes
AppSwitchernow supports all standard<button>element attributes. These are forwarded to the trigger button.MenuandCSSContainerQuerynow place well together. ACSSContainerQuerycan now be used to hide/show menu items without impacting their padding.- The
isWidthBelowbreakpoint 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/tablehave 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
CSSContainerQuerycomponent has been moved from@reapit/elements/core/container-queryto@reapit/elements/core/css-container-queryso that the import path matches the component name.
What's Changed
- chore: bump package version by @kurtdoherty in #680
- fix:
AppSwitchernow supports standard button attributes by @kurtdoherty in #681 - fix:
MenuandCSSContainerQueryinterop by @kurtdoherty in #682 - chore: use
fonthelper in all core components by @kurtdoherty in #683 - chore: move table components to new lab entry point by @kurtdoherty in #684
- feat: #685 Add
FolderTabsby @kurtdoherty in #686 - chore: use new breakpoint helpers in core components by @kurtdoherty in #687
- chore: update changelog with release date by @kurtdoherty in #688
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
Notable Changes
🎉 New things
- Added new FilterBar.
🐛 Bug fixes
Menunow correctly accepts consumer-supplied class namesTooltipno 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
StatusIndicatorno longer has a default value forvariant. Theel-status-indicator-shapeclass has also been removed.
What's Changed
- chore: bump package version by @kurtdoherty in #672
- chore: update design tokens by @kurtdoherty in #673
- feat: #489 add new
FilterBarcomponent by @kurtdoherty in #674 - fix:
Menunow handles consumer-suppliedclassNameby @kurtdoherty in #675 - chore!: Refactor
StatusIndicatorby @kurtdoherty in #676 - fix:
Tooltiponly shows on focus when tabbed to by @kurtdoherty in #677 - chore: update changelog with release date by @kurtdoherty in #678
Full Changelog: https://github.com/reapit/elements/compare/@reapit/elements_v5.0.0-beta.42...@reapit/elements_v5.0.0-beta.43