Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
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 packages/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.js"
"import": "./dist/index.mjs"
}
},
"scripts": {
Expand Down
58 changes: 25 additions & 33 deletions packages/propel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,36 +16,28 @@
"build-storybook": "storybook build"
},
"exports": {
"./accordion": "./dist/accordion/index.js",
"./animated-counter": "./dist/animated-counter/index.js",
"./avatar": "./dist/avatar/index.js",
"./button": "./dist/button/index.js",
"./calendar": "./dist/calendar/index.js",
"./card": "./dist/card/index.js",
"./charts/*": "./dist/charts/*/index.js",
"./collapsible": "./dist/collapsible/index.js",
"./combobox": "./dist/combobox/index.js",
"./command": "./dist/command/index.js",
"./context-menu": "./dist/context-menu/index.js",
"./dialog": "./dist/dialog/index.js",
"./emoji-icon-picker": "./dist/emoji-icon-picker/index.js",
"./emoji-reaction": "./dist/emoji-reaction/index.js",
"./emoji-reaction-picker": "./dist/emoji-reaction-picker/index.js",
"./icons": "./dist/icons/index.js",
"./menu": "./dist/menu/index.js",
"./pill": "./dist/pill/index.js",
"./popover": "./dist/popover/index.js",
"./scrollarea": "./dist/scrollarea/index.js",
"./skeleton": "./dist/skeleton/index.js",
"./styles/fonts": "./dist/styles/fonts/index.css",
"./styles/react-day-picker": "./dist/styles/react-day-picker.css",
"./switch": "./dist/switch/index.js",
"./table": "./dist/table/index.js",
"./tabs": "./dist/tabs/index.js",
"./toast": "./dist/toast/index.js",
"./toolbar": "./dist/toolbar/index.js",
"./tooltip": "./dist/tooltip/index.js",
"./utils": "./dist/utils/index.js"
"./charts/*": {
"types": "./dist/charts/*/index.d.ts",
"require": "./dist/charts/*/index.js",
"import": "./dist/charts/*/index.mjs"
},
"./icons/*": {
"types": "./dist/icons/*/index.d.ts",
"require": "./dist/icons/*/index.js",
"import": "./dist/icons/*/index.mjs"
},
"./utils/*": {
"types": "./dist/utils/*/index.d.ts",
"require": "./dist/utils/*/index.js",
"import": "./dist/utils/*/index.mjs"
},
"./*": {
"types": "./dist/*/index.d.ts",
"require": "./dist/*/index.js",
"import": "./dist/*/index.mjs"
},
"./styles/*.css": "./dist/styles/*.css",
"./styles/fonts": "./dist/styles/fonts/index.css"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Styles Import Breakage in React Day Picker

The package.json exports for react-day-picker styles are resolving incorrectly. The previous explicit export allowed imports like styles/react-day-picker without the .css extension. Now, the catch-all "./*" pattern matches these imports before the specific styles/*.css pattern, causing them to resolve to an .mjs file instead of the intended .css. This breaks existing imports.

Fix in Cursor Fix in Web

},
"dependencies": {
"@base-ui-components/react": "^1.0.0-beta.2",
Expand All @@ -54,13 +46,13 @@
"@plane/types": "workspace:*",
"@tanstack/react-table": "^8.21.3",
"class-variance-authority": "^0.7.1",
"cmdk": "^1.1.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"frimousse": "^0.3.0",
"lucide-react": "catalog:",
"react": "catalog:",
"react-day-picker": "9.5.0",
"react-dom": "catalog:",
"react": "catalog:",
"recharts": "^2.15.1",
"tailwind-merge": "^3.3.1",
"use-font-face-observer": "^1.3.0"
Expand All @@ -72,8 +64,8 @@
"@storybook/addon-designs": "10.0.2",
"@storybook/addon-docs": "9.1.2",
"@storybook/react-vite": "9.1.2",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@types/react": "catalog:",
"eslint-plugin-storybook": "9.1.2",
"storybook": "9.1.2",
"tsdown": "catalog:",
Expand Down
4 changes: 2 additions & 2 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
],
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.js"
"import": "./dist/index.mjs"
}
},
"scripts": {
Expand Down
Loading