Skip to content

chore(deps-dev): bump tailwindcss from 3.4.19 to 4.3.0#41

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/tailwindcss-4.3.0
Closed

chore(deps-dev): bump tailwindcss from 3.4.19 to 4.3.0#41
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/tailwindcss-4.3.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 13, 2026

Bumps tailwindcss from 3.4.19 to 4.3.0.

Release notes

Sourced from tailwindcss's releases.

v4.3.0

Added

  • Add @container-size utility (#18901)
  • Add scrollbar-{auto,thin,none} utilities for scrollbar-width, and scrollbar-thumb-* / scrollbar-track-* color utilities for scrollbar-color (#19981, #20019)
  • Add scrollbar-gutter-* utilities (#20018)
  • Add zoom-* utilities (#20020)
  • Add tab-* utilities (#20022)
  • Allow using @variant with stacked variants (e.g. @variant hover:focus { … }) (#19996)
  • Allow using @variant with compound variants (e.g. @variant hover, focus { … }) (#19996)
  • Support --default(…) in --value(…) and --modifier(…) for functional @utility definitions (#19989)

Fixed

  • Ensure @plugin resolves package JavaScript entries instead of browser CSS entries when using @tailwindcss/vite (#19949)
  • Fix relative @import and @plugin paths resolving from the wrong directory when using @tailwindcss/vite (#19965)
  • Ensure CSS files containing @variant are processed by @tailwindcss/vite (#19966)
  • Resolve imports relative to base when result.opts.from is not provided when using @tailwindcss/postcss (#19980)
  • Canonicalization: preserve significant _ whitespace in arbitrary values (#19986)
  • Canonicalization: add parentheses when removing whitespace from arbitrary values would hurt readability (e.g. w-[calc(100%---spacing(60))]w-[calc(100%-(--spacing(60)))]) (#19986)
  • Canonicalization: preserve the original unit in arbitrary values instead of normalizing to base units (e.g. -mt-[20in]mt-[-20in], not mt-[-1920px]) (#19988)
  • Canonicalization: migrate arbitrary :has() variants from [&:has(…)] to has-[…] (#19991)
  • Upgrade: don’t migrate inline style attributes (e.g. style="flex-grow: 1"style="flex-grow: 1", not style="grow: 1") (#19918)
  • Allow multiple @utility definitions with the same name but different value types (#19777)
  • Export missing PluginWithConfig type from tailwindcss/plugin to fix errors when inferring plugin config types (#19707)
  • Ensure start and end legacy utilities without values do not generate CSS (#20003)
  • Ensure --value(…) is required in functional @utility definitions (#20005)
  • Canonicalization: preserve required whitespace around operators in negated arbitrary values (e.g. -left-[(var(--a)+var(--b))]) (#20011)

v4.2.4

Fixed

  • Ensure imports in @import and @plugin still resolve correctly when using Vite aliases in @tailwindcss/vite (#19947)

v4.2.3

Fixed

  • Canonicalization: improve canonicalizations for tracking-* utilities by preferring non-negative utilities (e.g. -tracking-tightertracking-wider) (#19827)
  • Fix crash due to invalid characters in candidate (exceeding valid unicode code point range) (#19829)
  • Ensure query params in imports are considered unique resources when using @tailwindcss/webpack (#19723)
  • Canonicalization: collapse arbitrary values into shorthand utilities (e.g. px-[1.2rem] py-[1.2rem]p-[1.2rem]) (#19837)
  • Canonicalization: collapse border-{t,b}-* into border-y-*, border-{l,r}-* into border-x-*, and border-{t,r,b,l}-* into border-* (#19842)
  • Canonicalization: collapse scroll-m{t,b}-* into scroll-my-*, scroll-m{l,r}-* into scroll-mx-*, and scroll-m{t,r,b,l}-* into scroll-m-* (#19842)
  • Canonicalization: collapse scroll-p{t,b}-* into scroll-py-*, scroll-p{l,r}-* into scroll-px-*, and scroll-p{t,r,b,l}-* into scroll-p-* (#19842)
  • Canonicalization: collapse overflow-{x,y}-* into overflow-* (#19842)
  • Canonicalization: collapse overscroll-{x,y}-* into overscroll-* (#19842)
  • Read from --placeholder-color instead of --background-color for placeholder-* utilities (#19843)
  • Upgrade: ensure files are not emptied out when killing the upgrade process while it's running (#19846)
  • Upgrade: use config.content when migrating from Tailwind CSS v3 to Tailwind CSS v4 (#19846)
  • Upgrade: never migrate files that are ignored by git (#19846)

... (truncated)

Changelog

Sourced from tailwindcss's changelog.

[4.3.0] - 2026-05-08

Added

  • Add @container-size utility (#18901)
  • Add scrollbar-{auto,thin,none} utilities for scrollbar-width, and scrollbar-thumb-* / scrollbar-track-* color utilities for scrollbar-color (#19981, #20019)
  • Add scrollbar-gutter-* utilities (#20018)
  • Add zoom-* utilities (#20020)
  • Add tab-* utilities (#20022)
  • Allow using @variant with stacked variants (e.g. @variant hover:focus { … }) (#19996)
  • Allow using @variant with compound variants (e.g. @variant hover, focus { … }) (#19996)
  • Support --default(…) in --value(…) and --modifier(…) for functional @utility definitions (#19989)

Fixed

  • Ensure @plugin resolves package JavaScript entries instead of browser CSS entries when using @tailwindcss/vite (#19949)
  • Fix relative @import and @plugin paths resolving from the wrong directory when using @tailwindcss/vite (#19965)
  • Ensure CSS files containing @variant are processed by @tailwindcss/vite (#19966)
  • Resolve imports relative to base when result.opts.from is not provided when using @tailwindcss/postcss (#19980)
  • Canonicalization: preserve significant _ whitespace in arbitrary values (#19986)
  • Canonicalization: add parentheses when removing whitespace from arbitrary values would hurt readability (e.g. w-[calc(100%---spacing(60))]w-[calc(100%-(--spacing(60)))]) (#19986)
  • Canonicalization: preserve the original unit in arbitrary values instead of normalizing to base units (e.g. -mt-[20in]mt-[-20in], not mt-[-1920px]) (#19988)
  • Canonicalization: migrate arbitrary :has() variants from [&:has(…)] to has-[…] (#19991)
  • Upgrade: don’t migrate inline style attributes (e.g. style="flex-grow: 1"style="flex-grow: 1", not style="grow: 1") (#19918)
  • Allow multiple @utility definitions with the same name but different value types (#19777)
  • Export missing PluginWithConfig type from tailwindcss/plugin to fix errors when inferring plugin config types (#19707)
  • Ensure start and end legacy utilities without values do not generate CSS (#20003)
  • Ensure --value(…) is required in functional @utility definitions (#20005)
  • Canonicalization: preserve required whitespace around operators in negated arbitrary values (e.g. -left-[(var(--a)+var(--b))]) (#20011)

[4.2.4] - 2026-04-21

Fixed

  • Ensure imports in @import and @plugin still resolve correctly when using Vite aliases in @tailwindcss/vite (#19947)

[4.2.3] - 2026-04-20

Fixed

  • Canonicalization: improve canonicalization for tracking-* utilities by preferring non-negative utilities (e.g. -tracking-tightertracking-wider) (#19827)
  • Fix crash due to invalid characters in candidate (exceeding valid unicode code point range) (#19829)
  • Ensure query params in imports are considered unique resources when using @tailwindcss/webpack (#19723)
  • Canonicalization: collapse arbitrary values into shorthand utilities (e.g. px-[1.2rem] py-[1.2rem]p-[1.2rem]) (#19837)
  • Canonicalization: collapse border-{t,b}-* into border-y-*, border-{l,r}-* into border-x-*, and border-{t,r,b,l}-* into border-* (#19842)
  • Canonicalization: collapse scroll-m{t,b}-* into scroll-my-*, scroll-m{l,r}-* into scroll-mx-*, and scroll-m{t,r,b,l}-* into scroll-m-* (#19842)
  • Canonicalization: collapse scroll-p{t,b}-* into scroll-py-*, scroll-p{l,r}-* into scroll-px-*, and scroll-p{t,r,b,l}-* into scroll-p-* (#19842)
  • Canonicalization: collapse overflow-{x,y}-* into overflow-* (#19842)
  • Canonicalization: collapse overscroll-{x,y}-* into overscroll-* (#19842)
  • Read from --placeholder-color instead of --background-color for placeholder-* utilities (#19843)

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for tailwindcss since your current version.


Summary by CodeRabbit

  • Chores
    • Updated Tailwind CSS dependency to a newer version.

Review Change Stack

**Disclaimer This is AxiomID Review Agent.

Greptile Summary

This PR bumps tailwindcss from v3.4.19 to v4.3.0, a major version upgrade that ships an entirely new CSS-first architecture and removes many v3-specific dependencies from the lock file.

  • The jump from v3 to v4 is a breaking change: tailwind.config.js (JS-based config), the @tailwind directives in app/globals.css, and the PostCSS plugin name in postcss.config.mjs all need to be updated, none of which are included here.
  • The lock file cleanup correctly drops v3-only transitive deps (sucrase, postcss-nested, lilconfig, etc.) and also removes react-hook-form / @hookform/resolvers, which were already absent from package.json.

Confidence Score: 1/5

Not safe to merge — the app will fail to build and all custom theme tokens will be stripped from the UI until the config, CSS directives, and PostCSS plugin are updated for v4.

Three files outside the diff (tailwind.config.js, app/globals.css, postcss.config.mjs) are fundamentally incompatible with v4 and must be updated alongside this bump. Without those changes the PostCSS pipeline cannot resolve Tailwind utilities, the entire custom color/font/animation theme is silently dropped, and the build will error.

tailwind.config.js (v3 JS config ignored by v4), app/globals.css (@tailwind directives must become @import tailwindcss), and postcss.config.mjs (tailwindcss: {} must become @tailwindcss/postcss: {})

Important Files Changed

Filename Overview
package.json Tailwind bumped from v3 to v4 (breaking major version) without updating tailwind.config.js, globals.css directives, or postcss.config.mjs — build will fail and custom theme tokens will be lost
package-lock.json Lock file regenerated to reflect tailwindcss 4.3.0; v3-specific transitive deps (sucrase, postcss-nested, lilconfig, etc.) correctly removed; react-hook-form and @hookform/resolvers removed as they were already absent from package.json

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["package.json: tailwindcss ^4.3.0"] --> B{PostCSS Build}
    B --> C["postcss.config.mjs uses tailwindcss plugin"]
    B --> D["app/globals.css uses @tailwind directives"]
    B --> E["tailwind.config.js uses JS module.exports config"]
    C --> F["FAIL: v4 PostCSS plugin is @tailwindcss/postcss"]
    D --> G["FAIL: v3 directives unsupported in v4"]
    E --> H["FAIL: JS config silently ignored in v4"]
    F --> I[Build errors and broken styles]
    G --> I
    H --> I
Loading

Fix All in Conductor

Reviews (1): Last reviewed commit: "chore(deps-dev): bump tailwindcss from 3..." | Re-trigger Greptile

Greptile also left 1 inline comment on this PR.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 13, 2026

Labels

The following labels could not be found: automated, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 3.4.19 to 4.3.0.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.0/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.3.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/tailwindcss-4.3.0 branch from dac7941 to 6d07034 Compare May 18, 2026 13:23
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 18, 2026

📝 Walkthrough

Walkthrough

The tailwindcss dev dependency in package.json is updated from version ^3.4.19 to ^4.3.0, allowing the project to adopt the latest major version of Tailwind CSS.

Changes

Dependency Updates

Layer / File(s) Summary
Tailwind CSS version upgrade
package.json
The tailwindcss dev dependency is updated from ^3.4.19 to ^4.3.0, enabling access to Tailwind CSS v4 features and improvements.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A rabbit hops through CSS green,
Tailwind blooms in version scene,
From three to four, the garden grows,
With fresh designs the project flows! 🐰✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: updating the tailwindcss dev dependency from version 3.4.19 to 4.3.0, which is the sole modification in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/tailwindcss-4.3.0

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@package.json`:
- Line 66: Replace the incomplete Tailwind v3→v4 migration artifacts: in
app/globals.css replace the v3 `@tailwind` directives with the v4 import (use
`@import` "tailwindcss";), update the arbitrary CSS variable usage in the
DigitalEntity component (components/DigitalEntity.tsx) to use a standard CSS
custom property assignment (e.g., set --orbit-radius: value on the selector or
style rather than the old `[---orbit-radius:...]` arbitrary-syntax), and rename
all occurrences of the v3 utility flex-shrink-0 to the v4 utility flex-shrink in
components that use it (Button, SkillDetailsModal, PageHeader,
DeployAgentButton). After making these edits, run Tailwind's official upgrade
tool to apply any remaining automated changes and commit the migration changes
alongside the package.json version bump.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: da180889-89e9-4835-966a-559e9949c5e4

📥 Commits

Reviewing files that changed from the base of the PR and between a778cb6 and 6d07034.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

Comment thread package.json
"postcss": "^8.5.8",
"serve": "^14.2.6",
"tailwindcss": "^3.4.19",
"tailwindcss": "^4.3.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | 🏗️ Heavy lift

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "1) Old Tailwind directives still present?"
rg -n --hidden -g '!**/node_modules/**' '`@tailwind`\s+(base|components|utilities)\s*;' || true

echo
echo "2) v3 opacity utility patterns (removed in v4)?"
rg -n --hidden -g '!**/node_modules/**' '\b(bg|text|border|ring)-opacity-\d+\b' || true

echo
echo "3) Important modifier in prefix form (v4 expects suffix `!`)?"
rg -n --hidden -g '!**/node_modules/**' '(?:^|[\s"'\''])![a-zA-Z0-9_-]+' || true

echo
echo "4) CSS variable arbitrary value old bracket form (v4 expects parentheses)?"
rg -n --hidden -g '!**/node_modules/**' '\[[[:space:]]*--[a-zA-Z0-9_-]+' || true

echo
echo "5) Renamed utilities still used?"
rg -n --hidden -g '!**/node_modules/**' '\b(flex-grow-|flex-shrink-|overflow-ellipsis|decoration-(slice|clone))\b' || true

Repository: AIX-Format/GemClaw

Length of output: 7035


Tailwind v3→v4 migration incomplete; blocking issues found.

The version bump exists, but the codebase still contains v3-only patterns that will break styling in v4:

  • @tailwind directives in app/globals.css (lines 1–3) — must be replaced with @import "tailwindcss";
  • Old CSS arbitrary variable syntax in components/DigitalEntity.tsx:73[---orbit-radius:...] form no longer supported
  • flex-shrink-0 utility used across multiple components (Button, SkillDetailsModal, PageHeader, DeployAgentButton) — renamed to flex-shrink in v4

Run Tailwind's official upgrade tool and commit the migration changes before merging this version bump.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 66, Replace the incomplete Tailwind v3→v4 migration
artifacts: in app/globals.css replace the v3 `@tailwind` directives with the v4
import (use `@import` "tailwindcss";), update the arbitrary CSS variable usage in
the DigitalEntity component (components/DigitalEntity.tsx) to use a standard CSS
custom property assignment (e.g., set --orbit-radius: value on the selector or
style rather than the old `[---orbit-radius:...]` arbitrary-syntax), and rename
all occurrences of the v3 utility flex-shrink-0 to the v4 utility flex-shrink in
components that use it (Button, SkillDetailsModal, PageHeader,
DeployAgentButton). After making these edits, run Tailwind's official upgrade
tool to apply any remaining automated changes and commit the migration changes
alongside the package.json version bump.

Comment thread package.json
"postcss": "^8.5.8",
"serve": "^14.2.6",
"tailwindcss": "^3.4.19",
"tailwindcss": "^4.3.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P0 Tailwind v4 config incompatibilities not addressed

This major version bump requires three companion changes that are missing from this PR:

  1. tailwind.config.js uses the v3 JavaScript config format, which Tailwind v4 ignores entirely. All custom colors (gemigram-neon, carbon-black, etc.), font sizes, animations, and keyframes defined there will silently stop being applied.
  2. app/globals.css uses the v3 directives @tailwind base; @tailwind components; @tailwind utilities; — v4 replaces these with @import "tailwindcss";.
  3. postcss.config.mjs registers tailwindcss: {} as the PostCSS plugin, but v4 moves this to @tailwindcss/postcss (already installed as a devDep). Without this change the PostCSS pipeline will fail to transform Tailwind utilities.

Merging this bump without those updates will break the build and strip all custom theme tokens from the UI.

Fix in Conductor

@Moeabdelaziz007
Copy link
Copy Markdown
Collaborator

إغلاق: هذا الـ PR قديم وسيتم فتحه من جديد مع rebase لاحقاً

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 18, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/tailwindcss-4.3.0 branch May 18, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant