Skip to content

Commit 3eb9077

Browse files
authored
Merge pull request #2005 from chanzuckerberg/release-v15.0.1
### [15.0.1](v15.0.0...v15.0.1) (2024-07-02) [Storybook](https://61313967cde49b003ae2a860-cvcvanlzyx.chromatic.com/) ### Bug Fixes * P in P ([#1999](#1999)) ([7566e2c](7566e2c)) * **Table:** allow nodes in header cells ([#2001](#2001)) ([e471fad](e471fad))
2 parents 7566e2c + 55bafbc commit 3eb9077

File tree

89 files changed

+2979
-3020
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+2979
-3020
lines changed

.storybook/main.ts

+17-11
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,16 @@ import type { Configuration } from 'webpack';
99
* We should refrain from using the staticDirs option in this configuration until
1010
* https://github.com/chromaui/chromatic-cli/issues/462 is resolved.
1111
*/
12-
const config: StorybookConfig = {
12+
const config = {
1313
stories: [
14-
'./components/**/*.stories.mdx',
14+
'./components/**/*.mdx',
1515
'./components/**/*.stories.@(js|jsx|ts|tsx)',
1616
'../src/components',
17-
'./**/*.stories.mdx',
17+
'./**/*.mdx',
1818
'./**/*.stories.@(js|jsx|ts|tsx)',
1919
],
20-
2120
addons: [
22-
'@storybook/addon-essentials',
21+
'@storybook/addon-essentials', // See: https://storybook.js.org/docs/essentials
2322
'@storybook/addon-a11y',
2423
'@storybook/addon-links',
2524
'@storybook/addon-interactions',
@@ -31,22 +30,20 @@ const config: StorybookConfig = {
3130
cssModules: true,
3231
},
3332
},
33+
'@storybook/addon-webpack5-compiler-babel',
34+
'@chromatic-com/storybook',
3435
],
3536

3637
framework: {
3738
name: '@storybook/react-webpack5',
3839
options: {},
3940
},
4041

41-
docs: {
42-
autodocs: true,
43-
},
44-
4542
core: {
4643
disableTelemetry: true,
4744
},
4845

49-
babel: (config) => {
46+
babel: () => {
5047
return {
5148
sourceType: 'unambiguous',
5249
presets: [
@@ -66,13 +63,22 @@ const config: StorybookConfig = {
6663
plugins: [],
6764
};
6865
},
66+
6967
webpackFinal(config, { configType }) {
7068
if (configType === 'DEVELOPMENT') {
7169
updateCSSLoaderPlugin(config);
7270
}
7371
return config;
7472
},
75-
};
73+
74+
/**
75+
* This config enables deep parsing of TypeScript types in the table UI, which can interpret
76+
* the values of unions, and TypeScript utils like `Extract`, `Pick`, etc.
77+
*/
78+
typescript: {
79+
reactDocgen: 'react-docgen-typescript',
80+
},
81+
} satisfies StorybookConfig;
7682

7783
/**
7884
* Updates the `css-loader` webpack plugin to make class names human readable.

.storybook/preview.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,4 @@ export const parameters: Preview['parameters'] = {
100100
},
101101
},
102102
};
103+
export const tags = ['autodocs'];

.yarn/releases/yarn-4.3.0.cjs renamed to .yarn/releases/yarn-4.3.1.cjs

+217-217
Large diffs are not rendered by default.

.yarnrc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ enableGlobalCache: false
44

55
nodeLinker: node-modules
66

7-
yarnPath: .yarn/releases/yarn-4.3.0.cjs
7+
yarnPath: .yarn/releases/yarn-4.3.1.cjs

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
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.0.1](https://github.com/chanzuckerberg/edu-design-system/compare/v15.0.0...v15.0.1) (2024-07-02)
6+
7+
8+
### Bug Fixes
9+
10+
* P in P ([#1999](https://github.com/chanzuckerberg/edu-design-system/issues/1999)) ([7566e2c](https://github.com/chanzuckerberg/edu-design-system/commit/7566e2c627f56792bcc6dd8858458425ea7b35a7))
11+
* **Table:** allow nodes in header cells ([#2001](https://github.com/chanzuckerberg/edu-design-system/issues/2001)) ([e471fad](https://github.com/chanzuckerberg/edu-design-system/commit/e471fadee83c07fdb784e9c15ae46f3f2a285be7))
12+
513
## [15.0.0](https://github.com/chanzuckerberg/edu-design-system/compare/v15.0.0-alpha.18...v15.0.0) (2024-06-20)
614

715

package.json

+23-21
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chanzuckerberg/eds",
3-
"version": "15.0.0",
3+
"version": "15.0.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",
@@ -44,7 +44,7 @@
4444
"build:clean": "rm -rf lib/",
4545
"build:tokens": "rm -rf src/tokens-dist/ && node ./style-dictionary.config.js && yarn prettier-tokens-dist",
4646
"build:js": "rollup --config",
47-
"build:storybook": "storybook build -o storybook-static -s src/design-tokens/tier-1-definitions/fonts",
47+
"build:storybook": "storybook build -o storybook-static",
4848
"build:styles": "postcss \"src/components/**/*.css\" --dir lib/ --base src/ --verbose",
4949
"chromatic": "chromatic",
5050
"copy-fonts-to-lib": "copyfiles -u 3 src/design-tokens/tier-1-definitions/fonts.css src/design-tokens/tier-1-definitions/fonts/**/* lib/tokens",
@@ -115,52 +115,54 @@
115115
"@babel/preset-env": "^7.24.7",
116116
"@babel/preset-react": "^7.24.7",
117117
"@babel/preset-typescript": "^7.24.7",
118-
"@chanzuckerberg/axe-storybook-testing": "^7.2.0",
118+
"@chanzuckerberg/axe-storybook-testing": "^8.0.2",
119119
"@chanzuckerberg/eslint-config-edu-js": "^1.1.0",
120120
"@chanzuckerberg/eslint-config-edu-ts": "^1.0.9",
121121
"@chanzuckerberg/eslint-plugin-edu-react": "^1.1.9",
122122
"@chanzuckerberg/eslint-plugin-stories": "^3.2.14",
123123
"@chanzuckerberg/story-utils": "^4.0.8",
124+
"@chromatic-com/storybook": "^1",
124125
"@commitlint/cli": "^18.6.1",
125126
"@commitlint/config-conventional": "^18.6.3",
126127
"@geometricpanda/storybook-addon-badges": "^2.0.2",
127128
"@omlet/cli": "^1.7.0",
128129
"@rollup/plugin-node-resolve": "^15.2.3",
129130
"@rollup/plugin-typescript": "^11.1.6",
130131
"@size-limit/file": "^8.2.6",
131-
"@storybook/addon-a11y": "^7.6.19",
132-
"@storybook/addon-essentials": "^7.6.19",
133-
"@storybook/addon-interactions": "^7.6.19",
134-
"@storybook/addon-links": "^7.6.19",
132+
"@storybook/addon-a11y": "^8.1.10",
133+
"@storybook/addon-essentials": "^8.1.10",
134+
"@storybook/addon-interactions": "^8.1.10",
135+
"@storybook/addon-links": "^8.1.10",
136+
"@storybook/addon-mdx-gfm": "^8.1.10",
135137
"@storybook/addon-styling": "^1.3.7",
136-
"@storybook/manager-api": "^7.6.19",
137-
"@storybook/react": "^7.6.19",
138-
"@storybook/react-webpack5": "^7.6.19",
139-
"@storybook/test": "^7.6.19",
138+
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
139+
"@storybook/manager-api": "^8.1.10",
140+
"@storybook/react": "^8.1.10",
141+
"@storybook/react-webpack5": "^8.1.10",
142+
"@storybook/test": "^8.1.10",
140143
"@storybook/testing-library": "^0.2.2",
141-
"@storybook/testing-react": "^2.0.1",
142-
"@storybook/theming": "^7.6.19",
144+
"@storybook/theming": "^8.1.10",
143145
"@testing-library/jest-dom": "^6.4.6",
144-
"@testing-library/react": "^14.3.1",
146+
"@testing-library/react": "^16.0.0",
145147
"@testing-library/user-event": "^14.5.2",
146148
"@types/jest": "^29.5.12",
147149
"@types/jsonfile": "^6",
148150
"@types/lodash": "^4.17.5",
149-
"@types/node": "^20.14.2",
151+
"@types/node": "^20.14.7",
150152
"@types/react": "^18.3.3",
151153
"@types/react-beautiful-dnd": "^13.1.8",
152154
"@types/react-dom": "^18.3.0",
153155
"@types/react-portal": "^4.0.7",
154156
"@types/yargs": "^17.0.32",
155157
"axe-core": "4.9.1",
156-
"chromatic": "^11.3.5",
158+
"chromatic": "^11.5.4",
157159
"codecov": "^3.8.3",
158160
"copyfiles": "^2.4.1",
159161
"eslint": "^8.57.0",
160162
"eslint-config-prettier": "^9.0.0",
161163
"eslint-plugin-jest": "^27.9.0",
162164
"eslint-plugin-prettier": "^5.0.1",
163-
"eslint-plugin-storybook": "^0.6.15",
165+
"eslint-plugin-storybook": "^0.8.0",
164166
"eslint-plugin-testing-library": "^6.2.2",
165167
"husky": "^8.0.3",
166168
"identity-obj-proxy": "^3.0.0",
@@ -183,13 +185,13 @@
183185
"rollup-plugin-postcss": "^4.0.2",
184186
"size-limit": "^8.2.6",
185187
"standard-version": "^9.5.0",
186-
"storybook": "^7.6.19",
188+
"storybook": "^8.1.10",
187189
"style-dictionary": "^3.9.2",
188190
"stylelint": "^15.11.0",
189191
"stylelint-config-recommended": "^13.0.0",
190192
"tailwindcss": "^3.4.4",
191-
"ts-jest": "^29.1.4",
192-
"typescript": "^5.2.2"
193+
"ts-jest": "^29.1.5",
194+
"typescript": "^5.5.2"
193195
},
194196
"lint-staged": {
195197
"*.{js,jsx,ts,tsx}": [
@@ -200,5 +202,5 @@
200202
"stylelint --fix --allow-empty-input"
201203
]
202204
},
203-
"packageManager": "[email protected].0"
205+
"packageManager": "[email protected].1"
204206
}

src/bin/migrate/migrations/14-to-15alpha.ts

-140
This file was deleted.

0 commit comments

Comments
 (0)