Ensure -outline-offset-* utilities are suggested in IntelliSense (#15646)

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
This commit is contained in:
Jordan Pittman 2025-01-16 12:09:56 -05:00 committed by GitHub
parent fe758af73d
commit 2f8c51774e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 1 deletions

View File

@ -12,8 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add missing `main` and `browser` fields for `@tailwindcss/browser` ([#15594](https://github.com/tailwindlabs/tailwindcss/pull/15594))
- Ensure namespace reset with escaped `*` (e.g.: `--color-\*: initial;`) ([#15603](https://github.com/tailwindlabs/tailwindcss/pull/15603))
- Resolve values in functional utilities based on `@theme` options ([#15623](https://github.com/tailwindlabs/tailwindcss/pull/15623))
- _Upgrade (experimental)_: Pretty print `--spacing(…)` to prevent ambiguity ([#15596](https://github.com/tailwindlabs/tailwindcss/pull/15596))
- Discard invalid variants such as `data-checked-[selected=1]:*` ([#15629](https://github.com/tailwindlabs/tailwindcss/pull/15629))
- Ensure `-outline-offset-*` utilities are suggested in IntelliSense ([#15646](https://github.com/tailwindlabs/tailwindcss/pull/15646))
- _Upgrade (experimental)_: Pretty print `--spacing(…)` to prevent ambiguity ([#15596](https://github.com/tailwindlabs/tailwindcss/pull/15596))
## [4.0.0-beta.9] - 2025-01-09

View File

@ -822,6 +822,11 @@ exports[`getClassList 1`] = `
"-order-7",
"-order-8",
"-order-9",
"-outline-offset-0",
"-outline-offset-1",
"-outline-offset-2",
"-outline-offset-4",
"-outline-offset-8",
"-right-0",
"-right-0.5",
"-right-1",

View File

@ -3968,6 +3968,7 @@ export function createUtilities(theme: Theme) {
suggest('outline-offset', () => [
{
supportsNegative: true,
values: ['0', '1', '2', '4', '8'],
valueThemeKeys: ['--outline-offset'],
},