1
0
mirror of https://codeberg.org/crowci/crow.git synced 2025-04-19 15:22:22 +03:00

2 Commits

Author SHA1 Message Date
crowci-bot
535a29d8d0
chore(deps): update dependency tailwindcss to v4 (#60)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [tailwindcss](https://tailwindcss.com) ([source](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss)) | dependencies | major | [`^3.4.17` -> `^4.0.0`](https://renovatebot.com/diffs/npm/tailwindcss/3.4.17/4.0.8) |

---

<details>
<summary>tailwindlabs/tailwindcss (tailwindcss)</summary>

[Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.7...v4.0.8)

-   Allow `@import` with `theme(…)` options for stylesheets that contain more than just `@theme` rules ([#&#8203;16514](https://github.com/tailwindlabs/tailwindcss/pull/16514))

-   Don't add `!important` to CSS variable declarations when using the important modifier ([#&#8203;16668](https://github.com/tailwindlabs/tailwindcss/pull/16668))
-   Vite: Ignore files and directories specified in your `.gitignore` file when using automatic source detection([#&#8203;16631](https://github.com/tailwindlabs/tailwindcss/pull/16631))
-   Vite: Don't rely on the module graph for detecting candidates to ensure setups with multiple Vite builds work as expected ([#&#8203;16631](https://github.com/tailwindlabs/tailwindcss/pull/16631))
-   Vite: Ensure Astro production builds always contain classes used in client-only components ([#&#8203;16631](https://github.com/tailwindlabs/tailwindcss/pull/16631))
-   Vite: Always scan raw file contents for utility classes before any other transforms have been applied to ensure utility classes are scanned without any additional escaping ([#&#8203;16631](https://github.com/tailwindlabs/tailwindcss/pull/16631))
-   Ensure utilities with more declarations are always sorted before utilities with fewer declarations when utilities only define CSS variables ([#&#8203;16715](https://github.com/tailwindlabs/tailwindcss/pull/16715))
-   Only include `translate-z-px` utilities once in compiled CSS ([#&#8203;16718](https://github.com/tailwindlabs/tailwindcss/pull/16718))

-   Don't include theme variables that aren't used in compiled CSS ([#&#8203;16211](https://github.com/tailwindlabs/tailwindcss/pull/16211), [#&#8203;16676](https://github.com/tailwindlabs/tailwindcss/pull/16676))

[Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.6...v4.0.7)

-   Export `tailwindcss/lib/util/flattenColorPalette.js` for backward compatibility ([#&#8203;16411](https://github.com/tailwindlabs/tailwindcss/pull/16411))
-   Fix sorting of numeric utility suggestions when they have different magnitudes ([#&#8203;16414](https://github.com/tailwindlabs/tailwindcss/pull/16414))
-   Show suggestions for fractions in IntelliSense ([#&#8203;16353](https://github.com/tailwindlabs/tailwindcss/pull/16353))
-   Don’t replace `_` in suggested theme keys ([#&#8203;16433](https://github.com/tailwindlabs/tailwindcss/pull/16433))
-   Ensure `--default-outline-width` can be used to change the `outline-width` value of the `outline` utility ([#&#8203;16469](https://github.com/tailwindlabs/tailwindcss/pull/16469))
-   Ensure drop shadow utilities don't inherit unexpectedly ([#&#8203;16471](https://github.com/tailwindlabs/tailwindcss/pull/16471))
-   Export config and plugin types from `tailwindcss/plugin` for backward compatibility ([#&#8203;16505](https://github.com/tailwindlabs/tailwindcss/pull/16505))
-   Ensure JavaScript plugins that emit nested rules referencing the utility name work as expected ([#&#8203;16539](https://github.com/tailwindlabs/tailwindcss/pull/16539))
-   Statically link Visual Studio redistributables in `@tailwindcss/oxide` Windows builds ([#&#8203;16602](https://github.com/tailwindlabs/tailwindcss/pull/16602))
-   Ensure that Next.js splat routes are scanned for classes ([#&#8203;16457](https://github.com/tailwindlabs/tailwindcss/pull/16457))
-   Pin exact version of `tailwindcss` in `@tailwindcss/*` packages ([#&#8203;16623](https://github.com/tailwindlabs/tailwindcss/pull/16623))
-   Upgrade: Report errors when updating dependencies ([#&#8203;16504](https://github.com/tailwindlabs/tailwindcss/pull/16504))
-   Upgrade: Ensure a `darkMode` JS config setting with block syntax converts to use `@slot` ([#&#8203;16507](https://github.com/tailwindlabs/tailwindcss/pull/16507))
-   Upgrade: Ensure the latest version of `tailwindcss` and `@tailwindcss/postcss` are installed when upgrading ([#&#8203;16620](https://github.com/tailwindlabs/tailwindcss/pull/16620))

[Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.5...v4.0.6)

-   Revert change to no longer include theme variables that aren't used in compiled CSS ([#&#8203;16403](https://github.com/tailwindlabs/tailwindcss/pull/16403))
-   Upgrade: Don't migrate `blur` to `blur-sm` when used with Next.js `<Image placeholder="blur" />` ([#&#8203;16405](https://github.com/tailwindlabs/tailwindcss/pull/16405))

[Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.4...v4.0.5)

-   Add `@theme static` option for always including theme variables in compiled CSS ([#&#8203;16211](https://github.com/tailwindlabs/tailwindcss/pull/16211))

-   Remove rogue `console.log` from `@tailwindcss/vite` ([#&#8203;16307](https://github.com/tailwindlabs/tailwindcss/pull/16307))

-   Don't include theme variables that aren't used in compiled CSS ([#&#8203;16211](https://github.com/tailwindlabs/tailwindcss/pull/16211))

[Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.3...v4.0.4)

-   Fix a crash when setting JS theme values to `null` ([#&#8203;16210](https://github.com/tailwindlabs/tailwindcss/pull/16210))
-   Ensure escaped underscores in CSS variables in arbitrary values are properly unescaped ([#&#8203;16206](https://github.com/tailwindlabs/tailwindcss/pull/16206))
-   Ensure that the `containers` JS theme key is added to the `--container-*` namespace ([#&#8203;16169](https://github.com/tailwindlabs/tailwindcss/pull/16169))
-   Ensure theme `@keyframes` are generated even if an `--animation-*` variable spans multiple lines ([#&#8203;16237](https://github.com/tailwindlabs/tailwindcss/pull/16237))
-   Vite: Skip parsing stylesheets with the `?commonjs-proxy` flag ([#&#8203;16238](https://github.com/tailwindlabs/tailwindcss/pull/16238))
-   Fix `order-first` and `order-last` for Firefox ([#&#8203;16266](https://github.com/tailwindlabs/tailwindcss/pull/16266))
-   Fix support for older instruction sets on Linux x64 builds of the standalone CLI ([#&#8203;16244](https://github.com/tailwindlabs/tailwindcss/pull/16244))
-   Ensure `NODE_PATH` is respected when resolving JavaScript and CSS files ([#&#8203;16274](https://github.com/tailwindlabs/tailwindcss/pull/16274))
-   Ensure Node addons are packaged correctly with FreeBSD builds ([#&#8203;16277](https://github.com/tailwindlabs/tailwindcss/pull/16277))
-   Fix an issue where `@variant` inside a referenced stylesheet could cause a stack overflow ([#&#8203;16300](https://github.com/tailwindlabs/tailwindcss/pull/16300))

[Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.2...v4.0.3)

-   Fix incorrect removal of `@import url();` ([#&#8203;16144](https://github.com/tailwindlabs/tailwindcss/pull/16144))

[Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.1...v4.0.2)

-   Only generate positive `grid-cols-*` and `grid-rows-*` utilities ([#&#8203;16020](https://github.com/tailwindlabs/tailwindcss/pull/16020))
-   Ensure escaped theme variables are handled correctly ([#&#8203;16064](https://github.com/tailwindlabs/tailwindcss/pull/16064))
-   Ensure we process Tailwind CSS features when only using `@reference` or `@variant` ([#&#8203;16057](https://github.com/tailwindlabs/tailwindcss/pull/16057))
-   Refactor gradient implementation to work around [prettier/prettier#17058](https://github.com/prettier/prettier/issues/17058) ([#&#8203;16072](https://github.com/tailwindlabs/tailwindcss/pull/16072))
-   Vite: Ensure hot-reloading works with SolidStart setups ([#&#8203;16052](https://github.com/tailwindlabs/tailwindcss/pull/16052))
-   Vite: Fix a crash when starting the development server in SolidStart setups ([#&#8203;16052](https://github.com/tailwindlabs/tailwindcss/pull/16052))
-   Vite: Don't rebase URLs that appear to be aliases ([#&#8203;16078](https://github.com/tailwindlabs/tailwindcss/pull/16078))
-   Vite: Transform `<style>` blocks in HTML files ([#&#8203;16069](https://github.com/tailwindlabs/tailwindcss/pull/16069))
-   Prevent camel-casing CSS custom properties added by JavaScript plugins ([#&#8203;16103](https://github.com/tailwindlabs/tailwindcss/pull/16103))
-   Do not emit `@keyframes` in `@theme reference` ([#&#8203;16120](https://github.com/tailwindlabs/tailwindcss/pull/16120))
-   Discard invalid declarations when parsing CSS ([#&#8203;16093](https://github.com/tailwindlabs/tailwindcss/pull/16093))
-   Do not emit empty CSS rules and at-rules ([#&#8203;16121](https://github.com/tailwindlabs/tailwindcss/pull/16121))
-   Handle `@variant` when at the top-level of a stylesheet ([#&#8203;16129](https://github.com/tailwindlabs/tailwindcss/pull/16129))

[Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.0...v4.0.1)

-   Include `:open` pseudo-class in existing `open` variant ([#&#8203;15349](https://github.com/tailwindlabs/tailwindcss/pull/15349))

-   Remove invalid `min-w/h-none` utilities ([#&#8203;15845](https://github.com/tailwindlabs/tailwindcss/pull/15845))
-   Discard CSS variable shorthand utilities that don't use valid CSS variables ([#&#8203;15738](https://github.com/tailwindlabs/tailwindcss/pull/15738))
-   Ensure font-size utilities with `none` modifier have a line-height set e.g. `text-sm/none` ([#&#8203;15921](https://github.com/tailwindlabs/tailwindcss/pull/15921))
-   Ensure font-size utilities with unknown modifier don't generate CSS ([#&#8203;15921](https://github.com/tailwindlabs/tailwindcss/pull/15921))
-   Don’t suggest font weight utilities more than once ([#&#8203;15857](https://github.com/tailwindlabs/tailwindcss/pull/15857))
-   Suggest container query variants ([#&#8203;15857](https://github.com/tailwindlabs/tailwindcss/pull/15857))
-   Disable bare value suggestions when not using the `--spacing` variable ([#&#8203;15857](https://github.com/tailwindlabs/tailwindcss/pull/15857))
-   Ensure suggested classes are properly sorted ([#&#8203;15857](https://github.com/tailwindlabs/tailwindcss/pull/15857))
-   Don’t look at .gitignore files outside initialized repos ([#&#8203;15941](https://github.com/tailwindlabs/tailwindcss/pull/15941))
-   Find utilities when using the Svelte class shorthand syntax across multiple lines ([#&#8203;15974](https://github.com/tailwindlabs/tailwindcss/pull/15974))
-   Find utilities when using the Angular class shorthand syntax ([#&#8203;15974](https://github.com/tailwindlabs/tailwindcss/pull/15974))
-   Find utilities when using functions inside arrays ([#&#8203;15974](https://github.com/tailwindlabs/tailwindcss/pull/15974))
-   Ensure that `@tailwindcss/browser` does not pollute the global namespace ([#&#8203;15978](https://github.com/tailwindlabs/tailwindcss/pull/15978))
-   Ensure that `tailwind-merge` is not scanned when using the Vite plugin ([#&#8203;16005](https://github.com/tailwindlabs/tailwindcss/pull/16005))
-   Ensure CSS theme variables are available within shadow roots ([#&#8203;15975](https://github.com/tailwindlabs/tailwindcss/pull/15975))
-   Fix crash when project lives in the `/` directory ([#&#8203;15988](https://github.com/tailwindlabs/tailwindcss/pull/15988))
-   Ensure custom variants have a non-empty selector list ([#&#8203;16009](https://github.com/tailwindlabs/tailwindcss/pull/16009))
-   *Upgrade*: Ensure JavaScript config files on different drives are correctly migrated ([#&#8203;15927](https://github.com/tailwindlabs/tailwindcss/pull/15927))
-   *Upgrade*: Migrate `leading-[1]` to `leading-none` ([#&#8203;16004](https://github.com/tailwindlabs/tailwindcss/pull/16004))
-   *Upgrade*: Do not migrate arbitrary leading utilities to bare values ([#&#8203;16004](https://github.com/tailwindlabs/tailwindcss/pull/16004))

[Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.17...v4.0.0)

-   [New high-performance engine](https://tailwindcss.com/blog/tailwindcss-v4#new-high-performance-engine) — where full builds are up to 5x faster, and incremental builds are over 100x faster — and measured in microseconds.
-   [Designed for the modern web](https://tailwindcss.com/blog/tailwindcss-v4#designed-for-the-modern-web) — built on cutting-edge CSS features like cascade layers, registered custom properties with `@property`, and `color-mix()`.
-   [Simplified installation](https://tailwindcss.com/blog/tailwindcss-v4#simplified-installation) — fewer dependencies, zero configuration, and just a single line of code in your CSS file.
-   [First-party Vite plugin](https://tailwindcss.com/blog/tailwindcss-v4#first-party-vite-plugin) — tight integration for maximum performance and minimum configuration.
-   [Automatic content detection](https://tailwindcss.com/blog/tailwindcss-v4#automatic-content-detection) — all of your template files are discovered automatically, with no configuration required.
-   [Built-in import support](https://tailwindcss.com/blog/tailwindcss-v4#built-in-import-support) — no additional tooling necessary to bundle multiple CSS files.
-   [CSS-first configuration](https://tailwindcss.com/blog/tailwindcss-v4#css-first-configuration) — a reimagined developer experience where you customize and extend the framework directly in CSS instead of a JavaScript configuration file.
-   [CSS theme variables](https://tailwindcss.com/blog/tailwindcss-v4#css-theme-variables) — all of your design tokens exposed as native CSS variables so you can access them anywhere.
-   [Dynamic utility values and variants](https://tailwindcss.com/blog/tailwindcss-v4#dynamic-utility-values-and-variants) — stop guessing what values exist in your spacing scale, or extending your configuration for things like basic data attributes.
-   [Modernized P3 color palette](https://tailwindcss.com/blog/tailwindcss-v4#modernized-p3-color-palette) — a redesigned, more vivid color palette that takes full advantage of modern display technology.
-   [Container queries](https://tailwindcss.com/blog/tailwindcss-v4#container-queries) — first-class APIs for styling elements based on their container size, no plugins required.
-   [New 3D transform utilities](https://tailwindcss.com/blog/tailwindcss-v4#new-3d-transform-utilities) — transform elements in 3D space directly in your HTML.
-   [Expanded gradient APIs](https://tailwindcss.com/blog/tailwindcss-v4#expanded-gradient-apis) — radial and conic gradients, interpolation modes, and more.
-   [@&#8203;starting-style support](https://tailwindcss.com/blog/tailwindcss-v4#starting-style-support) — a new variant you can use to create enter and exit transitions, without the need for JavaScript.
-   [not-\* variant](https://tailwindcss.com/blog/tailwindcss-v4#not-variant) — style an element only when it doesn't match another variant, custom selector, or media or feature query.
-   [Even more new utilities and variants](https://tailwindcss.com/blog/tailwindcss-v4#even-more-new-utilities-and-variants) — including support for `color-scheme`, `field-sizing`, complex shadows, `inert`, and more.

Start using Tailwind CSS v4.0 today by [installing it in a new project](https://tailwindcss.com/docs/installation/), or playing with it directly in the browser on [Tailwind Play](https://play.tailwindcss.com/).

For existing projects, we've published a comprehensive [upgrade guide](https://tailwindcss.com/docs/upgrade-guide) and built an [automated upgrade tool](https://tailwindcss.com/docs/upgrade-guide#using-the-upgrade-tool) to get you on the latest version as quickly and painlessly as possible.

For a deep-dive into everything that's new, [check out the announcement post](https://tailwindcss.com/blog/tailwindcss-v4).

</details>

---

📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmN5IPCfk6bvuI8iLCJ1aSJdfQ==-->

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://codeberg.org/crowci/crow/pulls/60
Co-authored-by: crowci-bot <admin@crowci.dev>
Co-committed-by: crowci-bot <admin@crowci.dev>
2025-02-23 18:22:43 +01:00
Patrick Schratz
2d3db3de28
Migrate from Windi to Tailwind (#4614)
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2025-01-07 08:52:44 +01:00