diff --git a/CHANGELOG.md b/CHANGELOG.md index dcf4d781..971d7f99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,26 @@ > @pigment-css/monorepo@0.0.15 release:changelog /Users/siriwatknp/Personal-Repos/pigment-css > node scripts/releaseChangelog.mjs +## 0.0.18 + + + +_Jul 25, 2024_ + +A big thanks to the 3 contributors who made this release possible. Here are some highlights ✨: + +## `@pigment-css/react@0.0.18` + +- ​Replace global JSX (#183) @DiegoAndai +- ​Normalize rest / other to match the most common used @oliviertassinari +- ​Normalize rest / other to match the most common used @oliviertassinari + +## `@pigment-css/unplugin@0.0.18` + +- ​[webpack] Fix support for webpack and add example app (#174) @brijeshb42 + +All contributors of this release in alphabetical order: @brijeshb42, @DiegoAndai, @oliviertassinari + ## v0.0.17 diff --git a/apps/pigment-css-next-app/src/app/stack/page.tsx b/apps/pigment-css-next-app/src/app/stack/page.tsx index e9bd5dcb..7ea0d165 100644 --- a/apps/pigment-css-next-app/src/app/stack/page.tsx +++ b/apps/pigment-css-next-app/src/app/stack/page.tsx @@ -32,17 +32,17 @@ export default function InteractiveStack() { const [direction, setDirection] = React.useState('column'); const [spacing, setSpacing] = React.useState(2); - const handleChange = React.useCallback((ev: React.ChangeEvent) => { - switch (ev.target.name) { + const handleChange = React.useCallback((event: React.ChangeEvent) => { + switch (event.target.name) { case 'direction': { - setDirection(ev.target.value as StackProps['direction']); + setDirection(event.target.value as StackProps['direction']); break; } case 'spacing': { setSpacing( - ev.target.value.match(/^[0-9]+\.?[0-9]*$/) - ? parseFloat(ev.target.value) - : ev.target.value, + event.target.value.match(/^[0-9]+\.?[0-9]*$/) + ? parseFloat(event.target.value) + : event.target.value, ); break; } diff --git a/apps/pigment-css-vite-app/src/pages/index.tsx b/apps/pigment-css-vite-app/src/pages/index.tsx index 3f2b2161..cc3d28df 100644 --- a/apps/pigment-css-vite-app/src/pages/index.tsx +++ b/apps/pigment-css-vite-app/src/pages/index.tsx @@ -31,17 +31,17 @@ export default function InteractiveStack() { const [direction, setDirection] = React.useState('column'); const [spacing, setSpacing] = React.useState(2); - const handleChange = React.useCallback((ev: React.ChangeEvent) => { - switch (ev.target.name) { + const handleChange = React.useCallback((event: React.ChangeEvent) => { + switch (event.target.name) { case 'direction': { - setDirection(ev.target.value as StackProps['direction']); + setDirection(event.target.value as StackProps['direction']); break; } case 'spacing': { setSpacing( - ev.target.value.match(/^[0-9]+\.?[0-9]*$/) - ? parseFloat(ev.target.value) - : ev.target.value, + event.target.value.match(/^[0-9]+\.?[0-9]*$/) + ? parseFloat(event.target.value) + : event.target.value, ); break; } diff --git a/package.json b/package.json index 49a6e5df..516f12e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pigment-css/monorepo", - "version": "0.0.17", + "version": "0.0.18", "private": true, "scripts": { "preinstall": "npx only-allow pnpm", diff --git a/packages/pigment-css-nextjs-plugin/package.json b/packages/pigment-css-nextjs-plugin/package.json index cc97ed5b..4e0ff8eb 100644 --- a/packages/pigment-css-nextjs-plugin/package.json +++ b/packages/pigment-css-nextjs-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@pigment-css/nextjs-plugin", - "version": "0.0.17", + "version": "0.0.18", "main": "build/index.js", "module": "build/index.mjs", "types": "build/index.d.ts", diff --git a/packages/pigment-css-react/package.json b/packages/pigment-css-react/package.json index d622f57c..f066bace 100644 --- a/packages/pigment-css-react/package.json +++ b/packages/pigment-css-react/package.json @@ -1,6 +1,6 @@ { "name": "@pigment-css/react", - "version": "0.0.17", + "version": "0.0.18", "main": "build/index.js", "module": "build/index.mjs", "types": "build/index.d.ts", diff --git a/packages/pigment-css-unplugin/package.json b/packages/pigment-css-unplugin/package.json index f16cd640..dccb4cff 100644 --- a/packages/pigment-css-unplugin/package.json +++ b/packages/pigment-css-unplugin/package.json @@ -1,6 +1,6 @@ { "name": "@pigment-css/unplugin", - "version": "0.0.17", + "version": "0.0.18", "main": "build/index.js", "module": "build/index.mjs", "types": "build/index.d.ts", diff --git a/packages/pigment-css-vite-plugin/package.json b/packages/pigment-css-vite-plugin/package.json index 84a60357..e83f563b 100644 --- a/packages/pigment-css-vite-plugin/package.json +++ b/packages/pigment-css-vite-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@pigment-css/vite-plugin", - "version": "0.0.17", + "version": "0.0.18", "main": "build/index.js", "module": "build/index.mjs", "types": "build/index.d.ts",