@eds/core
v4.3.1
Core
Provides the fundamentals to build with the design system.- 3237b4f: Fix: Modal dialog now consistently receives focus when opened
- 3237b4f: Fix: Update to latest version of react-focus-lock
- 8d142d1: Fix: Update LinkComponentType type
-
e6d843d: Improvement: unified link context and API flag
The Core provider now includes a shouldUseNewLinkApi flag for the framework-agnostic link API. The useLinkComponent hook accepts a new includeApiFlag option — when true, it returns { linkComponent, shouldUseNewLinkApi }; otherwise, just the link component.
The linkComponent type now omits label (ComponentType<Omit<LinkProps, 'label'>>), fixing an invalid prop and resolving related type errors.
- f4d9cdf: Fix: Prevent duplicate toast containers by reusing existing ones
- e99e35c: Update imports to fix module resolution
- dd4f252: Fix: Add isElmoTheme type predicate to prevent invalid themes from passing through
- e2323f8: Feature: Update ThemeProvider to support ElmoTheme, TMSTheme and BrandColors in theme prop or via setTheme method
- 913701e: Improvement: Update to use type imports
- 76387bd: Input border token changed to use a darker grey
- 76387bd: a11y updates
- 1558a464: Changed event listener in useKeypress to utilise keydown instead of keyup.
- 9073b400: Adds new fontSize token xxsmall.
- 0b1e9f3c: Added block styles for responsiveness to button, toggle, and selectdropdown
- 58590b4: - Added logoBackgroundColor to the menu theme object.
- Updated setTMSTheme function to map the headingBannerBgColor TMS theme color to logoBackgroundColor.
- f09cc14: Updated color.neutralSubtle token to be slightly darker, in order to achieve AA accessibility for small text on backgroundColor.neutralSubtle
- e0729c4: Improved how @eds packages manage their dependencies and peerDependencies.
- e99cdb6: Offical release of EDS 4.0.0
- b897900: Improvement: Updated how theming works to be compatible with TMS and the new style theming.
- 0793bc8: Improvement: Added Storybook story for the Menu Improvement: Include prefer less motion to stop the animations Improvement: Added the role="menubar" Improvement: Add a footer prop to the Menu to allow for custom footer Improvement: Mobile menu now closes when pressing the escape key Bug fix: Make the Menu framework agnostic of framework and remove NextJS package dependency
- aca2c6fc: Improve rendering performance of Box component, SelectDropdown and SelectInput
- 885a519: Adding new helper useId from reach-ui to local and removing reach-ui dependency
- 5a0464b: Restructure of space tokens to make room for new xlarge token (2rem/32px).
- bd2529a: Adding new utils useKeypress useConfirmPageLeave and useBreakpoint Size
- dcc4cee:
- Added space token none.
- debac4b: Make StrictReactNode compatible with React 18
- 8e9c9e9: Moved breakpoint and mediaQuery tokens to tokens file, and renamed them according to tshirt size naming convention.
- de3c841:
- Renamed tokens shadow -> boxShadow and radii -> borderRadius
- Added missing :hover styles to RadioPrimitive and CheckboxPrimitive
- Updated some colour tokens to match design language
- Removed critical focusRings
- e84b1d4: - Added the table package
- Added the scroll-wrap package
- Added icons to the icon package - ArrowDownIcon, ArrowUpIcon & SortByIcon
- Added rem -> px guide to space tokens
- 16f4c45: Support React v16.9 to v18
- aca3f9c: Fixed dependencies and build
- 1c4bd44: First prerelease publish of components