Skip to content

Commit 16c2681

Browse files
authored
Merge pull request #2048 from chanzuckerberg/release-v15.3.1
### [15.3.1](v15.3.0...v15.3.1) (2024-08-26) [Storybook](https://61313967cde49b003ae2a860-jyqlmpntqz.chromatic.com/) ### Bug Fixes * **tailwind:** update animation token export types ([#2047](#2047)) ([0f95301](0f95301))
2 parents 4c6fe11 + 8978bfd commit 16c2681

File tree

5 files changed

+318
-114
lines changed

5 files changed

+318
-114
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
# This workflow can also be triggered via "workflow_call".
124124
# Since it's a push event we have access to these properties https://docs.github.com/en/webhooks/webhook-events-and-payloads#push
125125
# Filtering on just the (required) .id https://docs.github.com/en/actions/learn-github-actions/expressions#object-filters
126-
if: github.event_name == 'push' && github.ref != 'refs/head/main'
126+
if: github.event_name == 'push' && github.ref != 'refs/heads/main'
127127
run: |
128128
COMMIT_COUNT=$(echo '${{ toJSON(github.event.commits.*.id) }}' | jq length)
129129
echo "Number of commits in the push: $COMMIT_COUNT"

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [15.3.1](https://github.com/chanzuckerberg/edu-design-system/compare/v15.3.0...v15.3.1) (2024-08-26)
6+
7+
8+
### Bug Fixes
9+
10+
* **tailwind:** update animation token export types ([#2047](https://github.com/chanzuckerberg/edu-design-system/issues/2047)) ([0f95301](https://github.com/chanzuckerberg/edu-design-system/commit/0f9530114f7f323b065688c4b5472ce2f041d64d))
11+
512
## [15.3.0](https://github.com/chanzuckerberg/edu-design-system/compare/v15.2.1...v15.3.0) (2024-08-23)
613

714

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chanzuckerberg/eds",
3-
"version": "15.3.0",
3+
"version": "15.3.1",
44
"description": "The React-powered design system library for Chan Zuckerberg Initiative education web applications",
55
"author": "CZI <[email protected]>",
66
"homepage": "https://github.com/chanzuckerberg/edu-design-system",
@@ -112,7 +112,7 @@
112112
"yargs": "^17.7.2"
113113
},
114114
"devDependencies": {
115-
"@babel/preset-env": "^7.25.3",
115+
"@babel/preset-env": "^7.25.4",
116116
"@babel/preset-react": "^7.24.7",
117117
"@babel/preset-typescript": "^7.24.7",
118118
"@chanzuckerberg/axe-storybook-testing": "^8.2.0",
@@ -148,8 +148,8 @@
148148
"@types/jest": "^29.5.12",
149149
"@types/jsonfile": "^6",
150150
"@types/lodash": "^4.17.7",
151-
"@types/node": "^20.14.15",
152-
"@types/react": "^18.3.3",
151+
"@types/node": "^20.16.1",
152+
"@types/react": "^18.3.4",
153153
"@types/react-beautiful-dnd": "^13.1.8",
154154
"@types/react-dom": "^18.3.0",
155155
"@types/react-portal": "^4.0.7",
@@ -181,7 +181,7 @@
181181
"prettier-plugin-tailwindcss": "^0.5.7",
182182
"react": "^18.2.0",
183183
"react-dom": "^18.2.0",
184-
"rollup": "^4.20.0",
184+
"rollup": "^4.21.0",
185185
"rollup-plugin-postcss": "^4.0.2",
186186
"size-limit": "^8.2.6",
187187
"standard-version": "^9.5.0",

tailwind.config.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ const {
88
...colorTokens
99
} = edsTokens.theme.color;
1010

11-
// Add a type to the token sizes to avoid literals for keys
11+
// Add a type to the tokens to avoid literals for keys
1212
const sizes: { [x: string]: string } = edsTokens.size;
13+
const movements: { [x: string]: string } = edsTokens.anim.move;
1314

14-
// add a type to the token sizes for movement durations
15-
const movement: { [x: string]: string } = {
16-
...Object.keys(edsTokens.anim.move)
15+
const movementTokens = {
16+
...Object.keys(movements)
1717
.map((movement) => {
18-
return { [movement]: `${edsTokens.anim.move[movement]}s` };
18+
return { [movement]: `${movements[movement]}s` };
1919
})
2020
.reduce((accumulate, current) => {
2121
const entry = Object.entries(current)[0];
@@ -66,7 +66,7 @@ export default {
6666
...sizeTokens,
6767
},
6868
transitionDuration: {
69-
...movement,
69+
...movementTokens,
7070
},
7171
},
7272
fontWeight: {

0 commit comments

Comments
 (0)