diff --git a/js_modules/dagit/packages/ui/CHANGES.md b/js_modules/dagit/packages/ui/CHANGES.md index 01ff76b94d67c..759923723da11 100644 --- a/js_modules/dagit/packages/ui/CHANGES.md +++ b/js_modules/dagit/packages/ui/CHANGES.md @@ -1,6 +1,9 @@ -## 1.0.8 (TBD) +## 1.0.8 (January 9, 2023) - Added ProductTour component +- Build CJS output instead of ESM, with individual built components in subdirectories +- Bump dependencies +- Repair `MiddleTruncate` for Firefox ## 1.0.7 (October 31, 2022) diff --git a/js_modules/dagit/packages/ui/package.json b/js_modules/dagit/packages/ui/package.json index d99e5c376a4cf..5e09024aa7b5f 100644 --- a/js_modules/dagit/packages/ui/package.json +++ b/js_modules/dagit/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@dagster-io/ui", - "version": "1.0.7", + "version": "1.0.8", "description": "Dagster UI Component Library", "license": "Apache-2.0", "main": "lib/index.js", diff --git a/js_modules/dagit/packages/ui/rollup.config.js b/js_modules/dagit/packages/ui/rollup.config.js index d97a3b674496b..a462dac04bfbf 100644 --- a/js_modules/dagit/packages/ui/rollup.config.js +++ b/js_modules/dagit/packages/ui/rollup.config.js @@ -17,20 +17,20 @@ export default { index: './src/index.ts', // Our core fonts, usable as global style components, e.g. ``. - GlobalInconsolata: './src/fonts/GlobalInconsolata.tsx', - GlobalInter: './src/fonts/GlobalInter.tsx', + 'fonts/GlobalInconsolata': './src/fonts/GlobalInconsolata.tsx', + 'fonts/GlobalInter': './src/fonts/GlobalInter.tsx', // Components are listed here individually so that they may be imported // without pulling in the entire library. - Box: './src/components/Box.tsx', - Button: './src/components/Button.tsx', - Colors: './src/components/Colors.tsx', - Icon: './src/components/Icon.tsx', + 'components/Box': './src/components/Box.tsx', + 'components/Button': './src/components/Button.tsx', + 'components/Colors': './src/components/Colors.tsx', + 'components/Icon': './src/components/Icon.tsx', }, output: { dir: 'lib', exports: 'named', - format: 'esm', + format: 'cjs', sourcemap: true, }, plugins: [