v13.0.0 #1724
booc0mtaco
started this conversation in
General
v13.0.0
#1724
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
13.0.0 (2023-08-14)
Review the text next to each breaking change for suggestions on how to transform your existing code for compatibility with this version.
⚠ BREAKING CHANGES
link: remove text-link tokens for link t3 tokens (#1639)
The following tokens have been removed, and their usages have been replaced:
--eds-theme-color-text-link-brand
--eds-theme-color-text-link-neutral
New tokens were added in 12.x versions, and are proper tier-2 tokens, which supersede these. For reference they are:
--eds-theme-color-text-neutral-*
(includes,neutral
,strong
,default
, anddefault-inverse
)--eds-theme-color-text-brand-default
Check the relevant figma files and ZH documentation on what values should be set for the tokens above
colors: remove old colors and convert to input and show figma token (#1711)
Many color tokens were long-ago deprecated. They are now being removed to simplify the token set and align with the latest foundation and component files.
This includes the following:
--eds-color-highlight-*
--eds-color-info-*
If you spot any of these in design files, consult with the design team about cleanup.
remove deprecated dropdown (#1657)
The
Dropdown
component is now being removed, to be replaced by the more feature-richMenu
andSelect
components.banner: remove component (#1702)
The
Banner
component was not available in design, as it had been removed some time ago. So we remove it in this release. No designs should use this component. Instead, refer to theInlineNotification
orToast
components.remove legacy tokens and typography mixins (#1709)
We remove the remaining
legacy
tokens from EDS, and the legacy Typography@mixins
. Examples include:--legacy-color-*
--legacy-size-*
These were not being used in any internal components, and should not be used in any product-specific recipes. If they were, work with design to find a supported alternative for those tokens.
Along with those removals, we replace all calls to mixins with equivalent
font:
CSS properties. The mixins were NOT exported, but this does enable the use oftypography
tokens in custom recipes if needed.Grid: remove top-level sub-component(s) (#1703)
If you are importing any
Grid
sub-components in your code, you can remove the import-import GridItem from '@chanzuckerberg/eds';
... and replace references to the sub-component with the following:
dragdrop: remove top level subcomponents (#1697)
If you are importing any
DragDrop
sub-components in your code, you can remove the import-import DragDropContainerHeader from '@chanzuckerberg/eds';
... and replace references to the sub-component with the following:
Fieldset: remove top-level sub-component(s) (#1695)
If you are importing any
Fieldset
sub-components in your code, you can remove the import... and replace references to the sub-component with the following:
HorizontalStepper: remove top-level sub-component(s) (#1696)
If you are importing any
HorizontalStepper
sub-components in your code, you can remove the import-import HorizontalStep from '@chanzuckerberg/eds';
... and replace references to the sub-component with the following:
Card: remove top-level sub-component(s) (#1692)
If you are importing any
Card
sub-components in your code, you can remove the import... and replace references to the sub-component with the following:
checkbox: remove top level subcomponents (#1693)
If you are importing any
Checkbox
sub-components in your code, you can remove the import... and replace references to the sub-component with the following:
radio: remove top level subcomponents (#1690)
If you are importing any
Radio
sub-components in your code, you can remove the import... and replace references to the sub-component with the following:
DataBar: remove top-level sub-component(s) (#1686)
If you are importing any
DataBar
sub-components in your code, you can remove the import-import DataBarSegment from '@chanzuckerberg/eds';
... and replace references to the sub-component with the following:
Modal: remove top-level sub-component(s) (#1689)
If you are importing any
Modal
sub-components in your code, you can remove the import... and replace references to the sub-component with the following:
searchbar: remove top level subcomponents (#1687)
If you are importing the
SearchButton
orSearchField
in your code, you can remove the import... and replace references to the sub-component with the following:
table: remove top-level sub-components (#1685)
If you are importing any
Table
sub-components in your code, you can remove the import... and replace references to the sub-component with the following:
toolbar:remove component (#1683)
Toolbar
was removed, as it had no corresponding designs, and prescribed a layout that is more likely to be product specific. If there is a strong design and rationale for a new toolbar, it may re-emerge as a standalone component, composed of various EDS sub-components.If using toolbar, consider replacing with equivalent TailwindCSS Layout classes:
Breadcrumbs: remove top-level sub-component (#1680)
If you are importing the
BreadcrumbsItem
in your code, you can remove the import- import BreadcrumbsItem from '@chanzuckerberg/eds';
... and replace references to the sub-component with the following:
timelinenav: remove top-level sub-component (#1681)
If you are importing the
TimelineNavPanel
in your code, you can remove the import- import TimelineNavPanel from '@chanzuckerberg/eds';
... and replace references to the sub-component with the following:
Features
Bug Fixes
Avatar: support display names using emoji and multi-byte (#1716) (1294022)
update token exports (#1722) (982c55f)
banner: remove component (#1702) (356550c)
colors: remove old colors and convert to input and show figma token (#1711) (c9a5079)
link: remove text-link tokens for link t3 tokens (#1639) (d35cfe4)
remove deprecated dropdown (#1657) (26d1694)
toolbar: remove component (#1683) (bd47899)
This discussion was created from the release v13.0.0.
Beta Was this translation helpful? Give feedback.
All reactions