-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
core: Bump package versions and fix related TS errors #294
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,18 +10,18 @@ | |
}, | ||
"dependencies": { | ||
"@pigment-css/react": "workspace:^", | ||
"@mui/material": "^5.16.6", | ||
"@mui/material-nextjs": "^5.16.6", | ||
"@mui/material": "^6.1.6", | ||
"@mui/material-nextjs": "^6.1.6", | ||
"local-ui-lib": "workspace:^", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"next": "latest" | ||
"next": "15.0.2" | ||
}, | ||
"devDependencies": { | ||
"@pigment-css/nextjs-plugin": "workspace:^", | ||
"@types/node": "^20.5.7", | ||
"@types/react": "^18.3.3", | ||
"@types/react-dom": "^18.2.19", | ||
"@types/node": "^18.19.63", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This's a downgrade. Is this correct? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is. v20 never actually was used since at the root, in |
||
"@types/react": "^18.3.12", | ||
"@types/react-dom": "^18.3.1", | ||
"eslint": "^8.57.0", | ||
"typescript": "^5.4.4" | ||
}, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,31 +10,31 @@ | |
}, | ||
"dependencies": { | ||
"@pigment-css/react": "workspace:^", | ||
"@mui/utils": "next", | ||
"@mui/base": "next", | ||
"@mui/lab": "next", | ||
"@mui/material": "next", | ||
"@mui/system": "next", | ||
"@mui/icons-material": "next", | ||
"clsx": "^2.1.0", | ||
"@mui/utils": "6.1.6", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should replace these to latest, no? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IMO, it makes sense for |
||
"@mui/base": "5.0.0-beta.61", | ||
"@mui/lab": "6.0.0-beta.14", | ||
"@mui/material": "6.1.6", | ||
"@mui/system": "6.1.6", | ||
"@mui/icons-material": "6.1.6", | ||
"clsx": "^2.1.1", | ||
"local-ui-lib": "workspace:^", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-error-boundary": "^4.0.13", | ||
"react-router": "^6.22.3", | ||
"react-router-dom": "^6.22.3" | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"react-error-boundary": "^4.1.2", | ||
"react-router": "^6.27.0", | ||
"react-router-dom": "^6.27.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/preset-react": "^7.24.1", | ||
"@babel/preset-typescript": "^7.24.1", | ||
"@babel/preset-react": "^7.25.9", | ||
"@babel/preset-typescript": "^7.26.0", | ||
"@pigment-css/vite-plugin": "workspace:^", | ||
"@types/react": "^18.3.3", | ||
"@types/react": "^18.3.12", | ||
"@types/react-dom": "^18.3.1", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"postcss": "^8.4.38", | ||
"@vitejs/plugin-react": "^4.3.3", | ||
"postcss": "^8.4.47", | ||
"postcss-combine-media-query": "^1.0.1", | ||
"vite": "5.2.8", | ||
"vite-plugin-pages": "^0.32.1" | ||
"vite": "5.4.10", | ||
"vite-plugin-pages": "^0.32.3" | ||
}, | ||
"nx": { | ||
"targets": { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export const loader = function virtualFileLoader() { | ||
const callback = this.async(); | ||
const resourceQuery = this.resourceQuery.slice(1); | ||
const { source } = JSON.parse(decodeURIComponent(resourceQuery)); | ||
return callback(null, source.replaceAll('__IMP__', '!important')); | ||
const { source } = JSON.parse(decodeURIComponent(decodeURI(atob(resourceQuery)))); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
return callback(null, source); | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ import type { | |
} from '@wyw-in-js/processor-utils'; | ||
import type { Replacements, Rules } from '@wyw-in-js/shared'; | ||
import { ValueType } from '@wyw-in-js/shared'; | ||
import type { CSSInterpolation } from '@emotion/css'; | ||
import type { CSSInterpolation } from '@emotion/serialize'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How did this breaking change land in an minor 😕 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah. I was surprised as well. |
||
import deepMerge from 'lodash/merge'; | ||
import BaseProcessor from './base-processor'; | ||
import type { IOptions } from './styled'; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a next PR, we could just use
createTheme
with the css vars option.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I'll update it in the actual docs PR.