diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a96e1d..993c2ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +## 0.7.7 + +- Fix overscroll util + ## 0.7.6 - Align with Tailwind 3.4.6 diff --git a/bun.lockb b/bun.lockb index b07daf9..b2a09ea 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index e9b41e2..47c777a 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "A bundler-first & PostCSS-independent implementation of Tailwind", "private": true, "type": "module", - "version": "0.7.6", + "version": "0.7.7", "author": "Arnaud Barré (https://github.com/ArnaudBarre)", "license": "MIT", "scripts": { diff --git a/playground/vite/bun.lockb b/playground/vite/bun.lockb index 90edf41..d3e0827 100755 Binary files a/playground/vite/bun.lockb and b/playground/vite/bun.lockb differ diff --git a/src/coreRules.ts b/src/coreRules.ts index cc1d857..38aa32f 100644 --- a/src/coreRules.ts +++ b/src/coreRules.ts @@ -618,9 +618,9 @@ export const getCoreRules = ({ ...enumRule("overflow-y-", "overflow-y", overflows), ], overscrollBehavior: [ - ...enumRule("overscroll-", "overscroll", overscrolls), - ...enumRule("overscroll-x-", "overscroll-x", overscrolls), - ...enumRule("overscroll-y-", "overscroll-y", overscrolls), + ...enumRule("overscroll-", "overscroll-behavior", overscrolls), + ...enumRule("overscroll-x-", "overscroll-behavior-x", overscrolls), + ...enumRule("overscroll-y-", "overscroll-behavior-y", overscrolls), ], scrollBehavior: enumRule("scroll-", "scroll-behavior", ["auto", "smooth"]), textOverflow: [ diff --git a/tests/snapshots/codegen.css b/tests/snapshots/codegen.css index f592fb1..4d0d2fe 100644 --- a/tests/snapshots/codegen.css +++ b/tests/snapshots/codegen.css @@ -13560,31 +13560,31 @@ overflow-y: scroll; } .overscroll-none { - overscroll: none; + overscroll-behavior: none; } .overscroll-contain { - overscroll: contain; + overscroll-behavior: contain; } .overscroll-auto { - overscroll: auto; + overscroll-behavior: auto; } .overscroll-x-none { - overscroll-x: none; + overscroll-behavior-x: none; } .overscroll-x-contain { - overscroll-x: contain; + overscroll-behavior-x: contain; } .overscroll-x-auto { - overscroll-x: auto; + overscroll-behavior-x: auto; } .overscroll-y-none { - overscroll-y: none; + overscroll-behavior-y: none; } .overscroll-y-contain { - overscroll-y: contain; + overscroll-behavior-y: contain; } .overscroll-y-auto { - overscroll-y: auto; + overscroll-behavior-y: auto; } .scroll-auto { scroll-behavior: auto; diff --git a/yarn.lock b/yarn.lock index 264aa7c..faafb8a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1,6 +1,6 @@ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. # yarn lockfile v1 -# bun ./bun.lockb --hash: C3DDB688ED781FF9-b2708783d851c315-28F2BE440DD291DC-1a0e093fa729a167 +# bun ./bun.lockb --hash: DDE6EE646BC7CF76-c5e0c617e97004d0-B505E4F9B5F15F14-5ec6092e3a8bee92 "@aashutoshrathi/word-wrap@^1.2.3":