Skip to content

Release v16.0.0 #2184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
May 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
b3a6365
chore: set up shell script for running migrations (#2141)
booc0mtaco Mar 6, 2025
aef782b
Merge branch 'next' into v16
booc0mtaco Mar 19, 2025
c4e7617
feat!: remove Slider component [EDS-1534] (#2149)
ajmoreno Mar 21, 2025
13eb4e2
feat!: remove Badge component [EDS-1536] (#2150)
ajmoreno Mar 22, 2025
af943be
feat!: remove searchbar component [EDS-1537] (#2151)
ajmoreno Mar 22, 2025
0af4e55
feat!: remove progressbar component [EDS-1538] (#2152)
ajmoreno Mar 22, 2025
f01a838
feat!: update HeadlessUI to 2.x (#2148)
booc0mtaco Mar 24, 2025
75ba3f0
feat!: remove horizontalstepper component [EDS-1539] (#2153)
ajmoreno Mar 24, 2025
ad84048
chore(scripts): remove the legacy, plugin-based theme import script (…
booc0mtaco Mar 25, 2025
c4aac68
fix(deps)!: update dependency ts-morph to v25 (#2158)
booc0mtaco Apr 1, 2025
c9dd347
Merge branch 'next' into v16
booc0mtaco Apr 1, 2025
cd03452
feat!: remove items marked as deprecated [EDS-1543] (#2156)
ajmoreno Apr 10, 2025
bdf1c48
fix(storybook): set default foreground/background colors for story pa…
booc0mtaco Apr 11, 2025
55b8351
feat!: apply changes from next-major comments in code (#2164)
booc0mtaco Apr 15, 2025
71f05e6
feat(typography)!: introduce 2.0 tokens and component updates (#2167)
booc0mtaco Apr 25, 2025
3b9bf76
chore(deps): update dependency typescript to ^5.8.3 (#2174)
czi-developer-foundations Apr 28, 2025
914961c
chore(deps): update dependency eslint-plugin-prettier to ^5.2.6 (#2173)
czi-developer-foundations Apr 28, 2025
663a299
chore(deps): update all non-major dependencies (#2172)
czi-developer-foundations Apr 28, 2025
9e9919e
feat(Avatar)!: remove 1.x component export
booc0mtaco Apr 29, 2025
bee94c9
test(InputField): remove implementation example for tabular input
booc0mtaco Apr 29, 2025
9ce06ed
chore(deps): update all non-major dependencies (#2176)
czi-developer-foundations May 5, 2025
412e4c6
Merge pull request #2175 from chanzuckerberg/aholloway/EDS-1595
booc0mtaco May 5, 2025
232e134
chore: use fixed pixels for spacing tokens to avoid scaling issues (#…
booc0mtaco May 5, 2025
74641cf
Merge branch 'next' into v16
booc0mtaco May 6, 2025
524bcb4
Merge pull request #2179 from chanzuckerberg/aholloway/EDS-1555
booc0mtaco May 6, 2025
c83e3ff
feat(Typography): add in full set of Graphik fonts and weights (#2181)
booc0mtaco May 8, 2025
a35515d
fix(TabGroup): use proper tier 2+ tokens with component (#2180)
booc0mtaco May 8, 2025
f29c5dc
fix(InputChip): add padding to inside left edge to match design (#2182)
booc0mtaco May 8, 2025
52ed2d1
refactor(config): export and document tailwind config utility method
booc0mtaco May 8, 2025
b722237
fix: set background token for text selection in reset file
booc0mtaco May 10, 2025
75472e4
Merge pull request #2183 from chanzuckerberg/aholloway/EDS-1553
booc0mtaco May 10, 2025
b36b9cc
chore(deps): update dependency eslint-plugin-prettier to ^5.4.0 (#2177)
czi-developer-foundations May 12, 2025
0052ea0
chore(release): 16.0.0
booc0mtaco May 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .storybook/Theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default create({
fontCode: '"Consolas", monospace',

// Primary scale colors
// colorPrimary: '#254EAC', // TODO not sure where this applies : eds-color-blue-650
// colorPrimary: '#254EAC', // not sure where this applies : eds-color-blue-650
colorSecondary: '#6C6967', // Selection and other colors : color-neutral-550

// App Chrome
Expand Down
14 changes: 6 additions & 8 deletions .storybook/components/ColorList/ColorList.module.css
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
.color-list__label {
width: fit-content;
padding: calc(var(--eds-size-half) / 16 * 1rem);
padding: calc(var(--eds-spacing-size-half) * 1px);
border-radius: calc(var(--eds-theme-box-button-border-radius) * 1px);

font: var(--eds-theme-typography-label-md-subtle);
color: rgb(235, 87, 87);

background-color: var(--eds-theme-color-background-neutral-subtle);
}

.color-list__input {
width: 100%;
height: 5rem;
border: var(--eds-theme-color-border-neutral-subtle) solid
calc(var(--eds-border-width-sm) * 1px);
outline: var(--eds-theme-color-border-neutral-strong) solid
calc(var(--eds-border-width-sm) * 1px);
height: calc(var(--eds-spacing-size-10) * 1px);
border: var(--eds-theme-color-border-neutral-subtle) solid calc(var(--eds-border-width-sm) * 1px);
outline: var(--eds-theme-color-border-neutral-strong) solid calc(var(--eds-border-width-sm) * 1px);
}

.color-list__input::-webkit-color-swatch {
border-color: transparent;
}

.color-list__input::-webkit-color-swatch-wrapper {
padding: 0;
}

.color-list__input::-moz-color-swatch {
border-color: transparent;
}
}
8 changes: 5 additions & 3 deletions .storybook/components/ColorList/ColorList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ export const ColorList = (props: Props) => (
<Table>
<Table.Header>
<Table.Row variant="header">
<Table.HeaderCell className="w-72">CSS Variable</Table.HeaderCell>
<Table.HeaderCell className="w-40">Figma Token Name</Table.HeaderCell>
<Table.HeaderCell className="w-72">
<Table.HeaderCell className="w-[288px]">CSS Variable</Table.HeaderCell>
<Table.HeaderCell className="w-[160px]">
Figma Token Name
</Table.HeaderCell>
<Table.HeaderCell className="w-[288px]">
Tailwind Class Name(s)
</Table.HeaderCell>
<Table.HeaderCell className="w-40">Raw Value</Table.HeaderCell>
Expand Down
18 changes: 8 additions & 10 deletions .storybook/components/DesignTokens/DesignTokens.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
.sg-colors {
display: grid;
grid-gap: 1rem;
/* grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); */
grid-gap: calc(var(--eds-spacing-size-2) * 1px);

list-style: none;
margin: 0;
padding: 0;
}
.sg-colors li {
-webkit-box-flex: 1;
flex: auto;
padding: 0.3em;
margin: 0 0.5em 0.5em 0;
min-width: 5em;
padding: calc(var(--eds-spacing-size-1) * 1px);
margin: 0 calc(var(--eds-spacing-size-1) * 1px) calc(var(--eds-spacing-size-1) * 1px) 0;
min-width: calc(var(--eds-spacing-size-10) * 1px);
border: 1px solid #ddd;
border-radius: 8px;
}
Expand All @@ -26,7 +26,6 @@
}

.sg-border-width-demo-box {
font-size: 14px;
background: white;
text-align: center;
width: 100%;
Expand Down Expand Up @@ -56,19 +55,18 @@

.sg-base-unit-demo-box {
display: block;
font-size: 14px;
border: 1px solid #000000;
}

.sg-shadow-demo-box {
border: 1px solid #000000;
margin-bottom: 2rem;
margin-bottom: calc(var(--eds-spacing-size-4) * 1px);
text-align: center;
padding: 1rem;
padding: calc(var(--eds-spacing-size-2) * 1px);
}

.sg-animation-demo-box {
height: 4em;
height: calc(var(--eds-spacing-size-8) * 1px);
background-color: #000000;
cursor: pointer;
}
Expand Down
19 changes: 0 additions & 19 deletions .storybook/components/DesignTokens/Tier1/Animation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,6 @@ export class Tier1Animation extends Component {
})}
</Grid>
</Section>

<Section title="Animation Timing Function">
<Grid>
{filterTokens(`eds-anim-ease`).map(function (listItem) {
return (
<Grid.Item key={listItem.name}>
<TokenSpecimen
inlineStyles={{
transitionTimingFunction: `calc(var(${listItem.name}) * 1s)`,
}}
name={listItem.name}
value={listItem.value}
variant="animation-fade"
/>
</Grid.Item>
);
})}
</Grid>
</Section>
</div>
);
}
Expand Down
1 change: 0 additions & 1 deletion .storybook/components/DesignTokens/Tier1/Borders.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { TokenSpecimen } from '../../TokenSpecimen/TokenSpecimen';

export class Tier1Borders extends Component {
render() {
// TODO: what are the width tokens to document?
return (
<div>
<Section title="Border Width">
Expand Down
24 changes: 1 addition & 23 deletions .storybook/components/DesignTokens/Tier1/Colors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,7 @@ export const Tier1Colors = () => {
}));

// filter down to the neutral tokens which were introduced or redefined in the new brand
const nonLegacyNeutralItems = getListItems(
'eds-color-neutral',
'neutral',
).filter((item) => {
// TODO: remove this filter once the deprecated neutral tokens are deleted
return [
'025',
'050',
'100',
'150',
'200',
'250',
'350',
'450',
'550',
'650',
'750',
'800',
'850',
'900',
'950',
].includes(item.figmaToken.split('/')[1]);
});
const nonLegacyNeutralItems = getListItems('eds-color-neutral', 'neutral');
return (
<div>
<Section
Expand Down
26 changes: 0 additions & 26 deletions .storybook/components/DesignTokens/Tier1/FontFamilies.tsx

This file was deleted.

26 changes: 0 additions & 26 deletions .storybook/components/DesignTokens/Tier1/FontWeights.tsx

This file was deleted.

10 changes: 4 additions & 6 deletions .storybook/components/DesignTokens/Tier1/Sizes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class Tier1Sizes extends Component {
title="Grid Sizes"
>
<Grid>
{filterTokens(`eds-size`)
{filterTokens(`eds-spacing-size`)
.filter((listItem) => !listItem.name.endsWith('base-unit'))
.map(function (listItem) {
return (
Expand All @@ -22,14 +22,12 @@ export class Tier1Sizes extends Component {
listItem.name.split('--eds-')[1]
}`}
inlineStyles={{
width: `calc(var(${listItem.name}) / 16 * 1rem)`,
height: `calc(var(${listItem.name}) / 16 * 1rem)`,
width: `calc(var(${listItem.name}) * 1px)`,
height: `calc(var(${listItem.name}) * 1px)`,
minHeight: '0',
}}
name={listItem.name}
value={
listItem.value + 'px' + ` (${listItem.value / 16}rem)`
}
value={listItem.value + 'px'}
/>
</Grid.Item>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ export default {
},
};

// TODO: Tokens to document: eds-color-opacity

export const Colors = {
render: () => <Tier1Colors />,
};
Expand Down
44 changes: 0 additions & 44 deletions .storybook/components/DesignTokens/Tier1/TypographyPresets.jsx

This file was deleted.

70 changes: 0 additions & 70 deletions .storybook/components/DesignTokens/Tier1/TypographyTokens.jsx

This file was deleted.

Loading