From 805c8a02010e6dca3e1c3efcb516edcc06e8387c Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Wed, 4 Sep 2024 12:57:32 -0400 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20suggest=20named=20opacity=20mod?= =?UTF-8?q?ifiers=20in=20intellisense=20(#14339)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We removed named opacity modifier support in #14278 but we (read: me lol) totally forgot about the suggestions in intellisense. So we need to make sure that we don't suggest those either. --- CHANGELOG.md | 1 + .../__snapshots__/intellisense.test.ts.snap | 1913 +++++++++++++++++ packages/tailwindcss/src/intellisense.test.ts | 6 +- packages/tailwindcss/src/utilities.ts | 14 - 4 files changed, 1919 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61236b94d..e1b147fae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix support for Nuxt projects in the Vite plugin (requires Nuxt 3.13.1+) ([#14319](https://github.com/tailwindlabs/tailwindcss/pull/14319)) - Evaluate theme functions in plugins and JS config files ([#14326](https://github.com/tailwindlabs/tailwindcss/pull/14326)) - Ensure theme values overridden with `reference` values don't generate stale CSS variables ([#14327](https://github.com/tailwindlabs/tailwindcss/pull/14327)) +- Don’t suggest named opacity modifiers in intellisense ([#14339](https://github.com/tailwindlabs/tailwindcss/pull/14339)) ## [4.0.0-alpha.21] - 2024-09-02 diff --git a/packages/tailwindcss/src/__snapshots__/intellisense.test.ts.snap b/packages/tailwindcss/src/__snapshots__/intellisense.test.ts.snap index 5efd138c8..77abbfd4e 100644 --- a/packages/tailwindcss/src/__snapshots__/intellisense.test.ts.snap +++ b/packages/tailwindcss/src/__snapshots__/intellisense.test.ts.snap @@ -351,8 +351,71 @@ exports[`getClassList 1`] = ` "absolute", "accent-auto", "accent-current", + "accent-current/0", + "accent-current/5", + "accent-current/10", + "accent-current/15", + "accent-current/20", + "accent-current/25", + "accent-current/30", + "accent-current/35", + "accent-current/40", + "accent-current/45", + "accent-current/50", + "accent-current/55", + "accent-current/60", + "accent-current/65", + "accent-current/70", + "accent-current/75", + "accent-current/80", + "accent-current/85", + "accent-current/90", + "accent-current/95", + "accent-current/100", "accent-inherit", + "accent-inherit/0", + "accent-inherit/5", + "accent-inherit/10", + "accent-inherit/15", + "accent-inherit/20", + "accent-inherit/25", + "accent-inherit/30", + "accent-inherit/35", + "accent-inherit/40", + "accent-inherit/45", + "accent-inherit/50", + "accent-inherit/55", + "accent-inherit/60", + "accent-inherit/65", + "accent-inherit/70", + "accent-inherit/75", + "accent-inherit/80", + "accent-inherit/85", + "accent-inherit/90", + "accent-inherit/95", + "accent-inherit/100", "accent-transparent", + "accent-transparent/0", + "accent-transparent/5", + "accent-transparent/10", + "accent-transparent/15", + "accent-transparent/20", + "accent-transparent/25", + "accent-transparent/30", + "accent-transparent/35", + "accent-transparent/40", + "accent-transparent/45", + "accent-transparent/50", + "accent-transparent/55", + "accent-transparent/60", + "accent-transparent/65", + "accent-transparent/70", + "accent-transparent/75", + "accent-transparent/80", + "accent-transparent/85", + "accent-transparent/90", + "accent-transparent/95", + "accent-transparent/100", "align-baseline", "align-bottom", "align-middle", @@ -434,6 +497,7 @@ exports[`getClassList 1`] = ` "backdrop-opacity-85", "backdrop-opacity-90", "backdrop-opacity-95", + "backdrop-opacity-background", "backdrop-saturate-0", "backdrop-saturate-100", "backdrop-saturate-150", @@ -478,6 +542,27 @@ exports[`getClassList 1`] = ` "bg-contain", "bg-cover", "bg-current", + "bg-current/0", + "bg-current/5", + "bg-current/10", + "bg-current/15", + "bg-current/20", + "bg-current/25", + "bg-current/30", + "bg-current/35", + "bg-current/40", + "bg-current/45", + "bg-current/50", + "bg-current/55", + "bg-current/60", + "bg-current/65", + "bg-current/70", + "bg-current/75", + "bg-current/80", + "bg-current/85", + "bg-current/90", + "bg-current/95", + "bg-current/100", "bg-fixed", "bg-gradient-to-b", "bg-gradient-to-bl", @@ -488,6 +573,27 @@ exports[`getClassList 1`] = ` "bg-gradient-to-tl", "bg-gradient-to-tr", "bg-inherit", + "bg-inherit/0", + "bg-inherit/5", + "bg-inherit/10", + "bg-inherit/15", + "bg-inherit/20", + "bg-inherit/25", + "bg-inherit/30", + "bg-inherit/35", + "bg-inherit/40", + "bg-inherit/45", + "bg-inherit/50", + "bg-inherit/55", + "bg-inherit/60", + "bg-inherit/65", + "bg-inherit/70", + "bg-inherit/75", + "bg-inherit/80", + "bg-inherit/85", + "bg-inherit/90", + "bg-inherit/95", + "bg-inherit/100", "bg-left", "bg-left-bottom", "bg-left-top", @@ -516,37 +622,541 @@ exports[`getClassList 1`] = ` "bg-space", "bg-top", "bg-transparent", + "bg-transparent/0", + "bg-transparent/5", + "bg-transparent/10", + "bg-transparent/15", + "bg-transparent/20", + "bg-transparent/25", + "bg-transparent/30", + "bg-transparent/35", + "bg-transparent/40", + "bg-transparent/45", + "bg-transparent/50", + "bg-transparent/55", + "bg-transparent/60", + "bg-transparent/65", + "bg-transparent/70", + "bg-transparent/75", + "bg-transparent/80", + "bg-transparent/85", + "bg-transparent/90", + "bg-transparent/95", + "bg-transparent/100", "block", "blur-none", "border", + "border/0", + "border/5", + "border/10", + "border/15", + "border/20", + "border/25", + "border/30", + "border/35", + "border/40", + "border/45", + "border/50", + "border/55", + "border/60", + "border/65", + "border/70", + "border/75", + "border/80", + "border/85", + "border/90", + "border/95", + "border/100", "border-b", + "border-b/0", + "border-b/5", + "border-b/10", + "border-b/15", + "border-b/20", + "border-b/25", + "border-b/30", + "border-b/35", + "border-b/40", + "border-b/45", + "border-b/50", + "border-b/55", + "border-b/60", + "border-b/65", + "border-b/70", + "border-b/75", + "border-b/80", + "border-b/85", + "border-b/90", + "border-b/95", + "border-b/100", "border-b-current", + "border-b-current/0", + "border-b-current/5", + "border-b-current/10", + "border-b-current/15", + "border-b-current/20", + "border-b-current/25", + "border-b-current/30", + "border-b-current/35", + "border-b-current/40", + "border-b-current/45", + "border-b-current/50", + "border-b-current/55", + "border-b-current/60", + "border-b-current/65", + "border-b-current/70", + "border-b-current/75", + "border-b-current/80", + "border-b-current/85", + "border-b-current/90", + "border-b-current/95", + "border-b-current/100", "border-b-inherit", + "border-b-inherit/0", + "border-b-inherit/5", + "border-b-inherit/10", + "border-b-inherit/15", + "border-b-inherit/20", + "border-b-inherit/25", + "border-b-inherit/30", + "border-b-inherit/35", + "border-b-inherit/40", + "border-b-inherit/45", + "border-b-inherit/50", + "border-b-inherit/55", + "border-b-inherit/60", + "border-b-inherit/65", + "border-b-inherit/70", + "border-b-inherit/75", + "border-b-inherit/80", + "border-b-inherit/85", + "border-b-inherit/90", + "border-b-inherit/95", + "border-b-inherit/100", "border-b-transparent", + "border-b-transparent/0", + "border-b-transparent/5", + "border-b-transparent/10", + "border-b-transparent/15", + "border-b-transparent/20", + "border-b-transparent/25", + "border-b-transparent/30", + "border-b-transparent/35", + "border-b-transparent/40", + "border-b-transparent/45", + "border-b-transparent/50", + "border-b-transparent/55", + "border-b-transparent/60", + "border-b-transparent/65", + "border-b-transparent/70", + "border-b-transparent/75", + "border-b-transparent/80", + "border-b-transparent/85", + "border-b-transparent/90", + "border-b-transparent/95", + "border-b-transparent/100", "border-collapse", "border-current", + "border-current/0", + "border-current/5", + "border-current/10", + "border-current/15", + "border-current/20", + "border-current/25", + "border-current/30", + "border-current/35", + "border-current/40", + "border-current/45", + "border-current/50", + "border-current/55", + "border-current/60", + "border-current/65", + "border-current/70", + "border-current/75", + "border-current/80", + "border-current/85", + "border-current/90", + "border-current/95", + "border-current/100", "border-dashed", "border-dotted", "border-double", "border-e", + "border-e/0", + "border-e/5", + "border-e/10", + "border-e/15", + "border-e/20", + "border-e/25", + "border-e/30", + "border-e/35", + "border-e/40", + "border-e/45", + "border-e/50", + "border-e/55", + "border-e/60", + "border-e/65", + "border-e/70", + "border-e/75", + "border-e/80", + "border-e/85", + "border-e/90", + "border-e/95", + "border-e/100", "border-e-current", + "border-e-current/0", + "border-e-current/5", + "border-e-current/10", + "border-e-current/15", + "border-e-current/20", + "border-e-current/25", + "border-e-current/30", + "border-e-current/35", + "border-e-current/40", + "border-e-current/45", + "border-e-current/50", + "border-e-current/55", + "border-e-current/60", + "border-e-current/65", + "border-e-current/70", + "border-e-current/75", + "border-e-current/80", + "border-e-current/85", + "border-e-current/90", + "border-e-current/95", + "border-e-current/100", "border-e-inherit", + "border-e-inherit/0", + "border-e-inherit/5", + "border-e-inherit/10", + "border-e-inherit/15", + "border-e-inherit/20", + "border-e-inherit/25", + "border-e-inherit/30", + "border-e-inherit/35", + "border-e-inherit/40", + "border-e-inherit/45", + "border-e-inherit/50", + "border-e-inherit/55", + "border-e-inherit/60", + "border-e-inherit/65", + "border-e-inherit/70", + "border-e-inherit/75", + "border-e-inherit/80", + "border-e-inherit/85", + "border-e-inherit/90", + "border-e-inherit/95", + "border-e-inherit/100", "border-e-transparent", + "border-e-transparent/0", + "border-e-transparent/5", + "border-e-transparent/10", + "border-e-transparent/15", + "border-e-transparent/20", + "border-e-transparent/25", + "border-e-transparent/30", + "border-e-transparent/35", + "border-e-transparent/40", + "border-e-transparent/45", + "border-e-transparent/50", + "border-e-transparent/55", + "border-e-transparent/60", + "border-e-transparent/65", + "border-e-transparent/70", + "border-e-transparent/75", + "border-e-transparent/80", + "border-e-transparent/85", + "border-e-transparent/90", + "border-e-transparent/95", + "border-e-transparent/100", "border-hidden", "border-inherit", + "border-inherit/0", + "border-inherit/5", + "border-inherit/10", + "border-inherit/15", + "border-inherit/20", + "border-inherit/25", + "border-inherit/30", + "border-inherit/35", + "border-inherit/40", + "border-inherit/45", + "border-inherit/50", + "border-inherit/55", + "border-inherit/60", + "border-inherit/65", + "border-inherit/70", + "border-inherit/75", + "border-inherit/80", + "border-inherit/85", + "border-inherit/90", + "border-inherit/95", + "border-inherit/100", "border-l", + "border-l/0", + "border-l/5", + "border-l/10", + "border-l/15", + "border-l/20", + "border-l/25", + "border-l/30", + "border-l/35", + "border-l/40", + "border-l/45", + "border-l/50", + "border-l/55", + "border-l/60", + "border-l/65", + "border-l/70", + "border-l/75", + "border-l/80", + "border-l/85", + "border-l/90", + "border-l/95", + "border-l/100", "border-l-current", + "border-l-current/0", + "border-l-current/5", + "border-l-current/10", + "border-l-current/15", + "border-l-current/20", + "border-l-current/25", + "border-l-current/30", + "border-l-current/35", + "border-l-current/40", + "border-l-current/45", + "border-l-current/50", + "border-l-current/55", + "border-l-current/60", + "border-l-current/65", + "border-l-current/70", + "border-l-current/75", + "border-l-current/80", + "border-l-current/85", + "border-l-current/90", + "border-l-current/95", + "border-l-current/100", "border-l-inherit", + "border-l-inherit/0", + "border-l-inherit/5", + "border-l-inherit/10", + "border-l-inherit/15", + "border-l-inherit/20", + "border-l-inherit/25", + "border-l-inherit/30", + "border-l-inherit/35", + "border-l-inherit/40", + "border-l-inherit/45", + "border-l-inherit/50", + "border-l-inherit/55", + "border-l-inherit/60", + "border-l-inherit/65", + "border-l-inherit/70", + "border-l-inherit/75", + "border-l-inherit/80", + "border-l-inherit/85", + "border-l-inherit/90", + "border-l-inherit/95", + "border-l-inherit/100", "border-l-transparent", + "border-l-transparent/0", + "border-l-transparent/5", + "border-l-transparent/10", + "border-l-transparent/15", + "border-l-transparent/20", + "border-l-transparent/25", + "border-l-transparent/30", + "border-l-transparent/35", + "border-l-transparent/40", + "border-l-transparent/45", + "border-l-transparent/50", + "border-l-transparent/55", + "border-l-transparent/60", + "border-l-transparent/65", + "border-l-transparent/70", + "border-l-transparent/75", + "border-l-transparent/80", + "border-l-transparent/85", + "border-l-transparent/90", + "border-l-transparent/95", + "border-l-transparent/100", "border-none", "border-r", + "border-r/0", + "border-r/5", + "border-r/10", + "border-r/15", + "border-r/20", + "border-r/25", + "border-r/30", + "border-r/35", + "border-r/40", + "border-r/45", + "border-r/50", + "border-r/55", + "border-r/60", + "border-r/65", + "border-r/70", + "border-r/75", + "border-r/80", + "border-r/85", + "border-r/90", + "border-r/95", + "border-r/100", "border-r-current", + "border-r-current/0", + "border-r-current/5", + "border-r-current/10", + "border-r-current/15", + "border-r-current/20", + "border-r-current/25", + "border-r-current/30", + "border-r-current/35", + "border-r-current/40", + "border-r-current/45", + "border-r-current/50", + "border-r-current/55", + "border-r-current/60", + "border-r-current/65", + "border-r-current/70", + "border-r-current/75", + "border-r-current/80", + "border-r-current/85", + "border-r-current/90", + "border-r-current/95", + "border-r-current/100", "border-r-inherit", + "border-r-inherit/0", + "border-r-inherit/5", + "border-r-inherit/10", + "border-r-inherit/15", + "border-r-inherit/20", + "border-r-inherit/25", + "border-r-inherit/30", + "border-r-inherit/35", + "border-r-inherit/40", + "border-r-inherit/45", + "border-r-inherit/50", + "border-r-inherit/55", + "border-r-inherit/60", + "border-r-inherit/65", + "border-r-inherit/70", + "border-r-inherit/75", + "border-r-inherit/80", + "border-r-inherit/85", + "border-r-inherit/90", + "border-r-inherit/95", + "border-r-inherit/100", "border-r-transparent", + "border-r-transparent/0", + "border-r-transparent/5", + "border-r-transparent/10", + "border-r-transparent/15", + "border-r-transparent/20", + "border-r-transparent/25", + "border-r-transparent/30", + "border-r-transparent/35", + "border-r-transparent/40", + "border-r-transparent/45", + "border-r-transparent/50", + "border-r-transparent/55", + "border-r-transparent/60", + "border-r-transparent/65", + "border-r-transparent/70", + "border-r-transparent/75", + "border-r-transparent/80", + "border-r-transparent/85", + "border-r-transparent/90", + "border-r-transparent/95", + "border-r-transparent/100", "border-s", + "border-s/0", + "border-s/5", + "border-s/10", + "border-s/15", + "border-s/20", + "border-s/25", + "border-s/30", + "border-s/35", + "border-s/40", + "border-s/45", + "border-s/50", + "border-s/55", + "border-s/60", + "border-s/65", + "border-s/70", + "border-s/75", + "border-s/80", + "border-s/85", + "border-s/90", + "border-s/95", + "border-s/100", "border-s-current", + "border-s-current/0", + "border-s-current/5", + "border-s-current/10", + "border-s-current/15", + "border-s-current/20", + "border-s-current/25", + "border-s-current/30", + "border-s-current/35", + "border-s-current/40", + "border-s-current/45", + "border-s-current/50", + "border-s-current/55", + "border-s-current/60", + "border-s-current/65", + "border-s-current/70", + "border-s-current/75", + "border-s-current/80", + "border-s-current/85", + "border-s-current/90", + "border-s-current/95", + "border-s-current/100", "border-s-inherit", + "border-s-inherit/0", + "border-s-inherit/5", + "border-s-inherit/10", + "border-s-inherit/15", + "border-s-inherit/20", + "border-s-inherit/25", + "border-s-inherit/30", + "border-s-inherit/35", + "border-s-inherit/40", + "border-s-inherit/45", + "border-s-inherit/50", + "border-s-inherit/55", + "border-s-inherit/60", + "border-s-inherit/65", + "border-s-inherit/70", + "border-s-inherit/75", + "border-s-inherit/80", + "border-s-inherit/85", + "border-s-inherit/90", + "border-s-inherit/95", + "border-s-inherit/100", "border-s-transparent", + "border-s-transparent/0", + "border-s-transparent/5", + "border-s-transparent/10", + "border-s-transparent/15", + "border-s-transparent/20", + "border-s-transparent/25", + "border-s-transparent/30", + "border-s-transparent/35", + "border-s-transparent/40", + "border-s-transparent/45", + "border-s-transparent/50", + "border-s-transparent/55", + "border-s-transparent/60", + "border-s-transparent/65", + "border-s-transparent/70", + "border-s-transparent/75", + "border-s-transparent/80", + "border-s-transparent/85", + "border-s-transparent/90", + "border-s-transparent/95", + "border-s-transparent/100", "border-separate", "border-solid", "border-spacing-0.5", @@ -562,18 +1172,291 @@ exports[`getClassList 1`] = ` "border-spacing-y-3", "border-spacing-y-4", "border-t", + "border-t/0", + "border-t/5", + "border-t/10", + "border-t/15", + "border-t/20", + "border-t/25", + "border-t/30", + "border-t/35", + "border-t/40", + "border-t/45", + "border-t/50", + "border-t/55", + "border-t/60", + "border-t/65", + "border-t/70", + "border-t/75", + "border-t/80", + "border-t/85", + "border-t/90", + "border-t/95", + "border-t/100", "border-t-current", + "border-t-current/0", + "border-t-current/5", + "border-t-current/10", + "border-t-current/15", + "border-t-current/20", + "border-t-current/25", + "border-t-current/30", + "border-t-current/35", + "border-t-current/40", + "border-t-current/45", + "border-t-current/50", + "border-t-current/55", + "border-t-current/60", + "border-t-current/65", + "border-t-current/70", + "border-t-current/75", + "border-t-current/80", + "border-t-current/85", + "border-t-current/90", + "border-t-current/95", + "border-t-current/100", "border-t-inherit", + "border-t-inherit/0", + "border-t-inherit/5", + "border-t-inherit/10", + "border-t-inherit/15", + "border-t-inherit/20", + "border-t-inherit/25", + "border-t-inherit/30", + "border-t-inherit/35", + "border-t-inherit/40", + "border-t-inherit/45", + "border-t-inherit/50", + "border-t-inherit/55", + "border-t-inherit/60", + "border-t-inherit/65", + "border-t-inherit/70", + "border-t-inherit/75", + "border-t-inherit/80", + "border-t-inherit/85", + "border-t-inherit/90", + "border-t-inherit/95", + "border-t-inherit/100", "border-t-transparent", + "border-t-transparent/0", + "border-t-transparent/5", + "border-t-transparent/10", + "border-t-transparent/15", + "border-t-transparent/20", + "border-t-transparent/25", + "border-t-transparent/30", + "border-t-transparent/35", + "border-t-transparent/40", + "border-t-transparent/45", + "border-t-transparent/50", + "border-t-transparent/55", + "border-t-transparent/60", + "border-t-transparent/65", + "border-t-transparent/70", + "border-t-transparent/75", + "border-t-transparent/80", + "border-t-transparent/85", + "border-t-transparent/90", + "border-t-transparent/95", + "border-t-transparent/100", "border-transparent", + "border-transparent/0", + "border-transparent/5", + "border-transparent/10", + "border-transparent/15", + "border-transparent/20", + "border-transparent/25", + "border-transparent/30", + "border-transparent/35", + "border-transparent/40", + "border-transparent/45", + "border-transparent/50", + "border-transparent/55", + "border-transparent/60", + "border-transparent/65", + "border-transparent/70", + "border-transparent/75", + "border-transparent/80", + "border-transparent/85", + "border-transparent/90", + "border-transparent/95", + "border-transparent/100", "border-x", + "border-x/0", + "border-x/5", + "border-x/10", + "border-x/15", + "border-x/20", + "border-x/25", + "border-x/30", + "border-x/35", + "border-x/40", + "border-x/45", + "border-x/50", + "border-x/55", + "border-x/60", + "border-x/65", + "border-x/70", + "border-x/75", + "border-x/80", + "border-x/85", + "border-x/90", + "border-x/95", + "border-x/100", "border-x-current", + "border-x-current/0", + "border-x-current/5", + "border-x-current/10", + "border-x-current/15", + "border-x-current/20", + "border-x-current/25", + "border-x-current/30", + "border-x-current/35", + "border-x-current/40", + "border-x-current/45", + "border-x-current/50", + "border-x-current/55", + "border-x-current/60", + "border-x-current/65", + "border-x-current/70", + "border-x-current/75", + "border-x-current/80", + "border-x-current/85", + "border-x-current/90", + "border-x-current/95", + "border-x-current/100", "border-x-inherit", + "border-x-inherit/0", + "border-x-inherit/5", + "border-x-inherit/10", + "border-x-inherit/15", + "border-x-inherit/20", + "border-x-inherit/25", + "border-x-inherit/30", + "border-x-inherit/35", + "border-x-inherit/40", + "border-x-inherit/45", + "border-x-inherit/50", + "border-x-inherit/55", + "border-x-inherit/60", + "border-x-inherit/65", + "border-x-inherit/70", + "border-x-inherit/75", + "border-x-inherit/80", + "border-x-inherit/85", + "border-x-inherit/90", + "border-x-inherit/95", + "border-x-inherit/100", "border-x-transparent", + "border-x-transparent/0", + "border-x-transparent/5", + "border-x-transparent/10", + "border-x-transparent/15", + "border-x-transparent/20", + "border-x-transparent/25", + "border-x-transparent/30", + "border-x-transparent/35", + "border-x-transparent/40", + "border-x-transparent/45", + "border-x-transparent/50", + "border-x-transparent/55", + "border-x-transparent/60", + "border-x-transparent/65", + "border-x-transparent/70", + "border-x-transparent/75", + "border-x-transparent/80", + "border-x-transparent/85", + "border-x-transparent/90", + "border-x-transparent/95", + "border-x-transparent/100", "border-y", + "border-y/0", + "border-y/5", + "border-y/10", + "border-y/15", + "border-y/20", + "border-y/25", + "border-y/30", + "border-y/35", + "border-y/40", + "border-y/45", + "border-y/50", + "border-y/55", + "border-y/60", + "border-y/65", + "border-y/70", + "border-y/75", + "border-y/80", + "border-y/85", + "border-y/90", + "border-y/95", + "border-y/100", "border-y-current", + "border-y-current/0", + "border-y-current/5", + "border-y-current/10", + "border-y-current/15", + "border-y-current/20", + "border-y-current/25", + "border-y-current/30", + "border-y-current/35", + "border-y-current/40", + "border-y-current/45", + "border-y-current/50", + "border-y-current/55", + "border-y-current/60", + "border-y-current/65", + "border-y-current/70", + "border-y-current/75", + "border-y-current/80", + "border-y-current/85", + "border-y-current/90", + "border-y-current/95", + "border-y-current/100", "border-y-inherit", + "border-y-inherit/0", + "border-y-inherit/5", + "border-y-inherit/10", + "border-y-inherit/15", + "border-y-inherit/20", + "border-y-inherit/25", + "border-y-inherit/30", + "border-y-inherit/35", + "border-y-inherit/40", + "border-y-inherit/45", + "border-y-inherit/50", + "border-y-inherit/55", + "border-y-inherit/60", + "border-y-inherit/65", + "border-y-inherit/70", + "border-y-inherit/75", + "border-y-inherit/80", + "border-y-inherit/85", + "border-y-inherit/90", + "border-y-inherit/95", + "border-y-inherit/100", "border-y-transparent", + "border-y-transparent/0", + "border-y-transparent/5", + "border-y-transparent/10", + "border-y-transparent/15", + "border-y-transparent/20", + "border-y-transparent/25", + "border-y-transparent/30", + "border-y-transparent/35", + "border-y-transparent/40", + "border-y-transparent/45", + "border-y-transparent/50", + "border-y-transparent/55", + "border-y-transparent/60", + "border-y-transparent/65", + "border-y-transparent/70", + "border-y-transparent/75", + "border-y-transparent/80", + "border-y-transparent/85", + "border-y-transparent/90", + "border-y-transparent/95", + "border-y-transparent/100", "bottom-0.5", "bottom-1", "bottom-3", @@ -623,8 +1506,71 @@ exports[`getClassList 1`] = ` "caption-bottom", "caption-top", "caret-current", + "caret-current/0", + "caret-current/5", + "caret-current/10", + "caret-current/15", + "caret-current/20", + "caret-current/25", + "caret-current/30", + "caret-current/35", + "caret-current/40", + "caret-current/45", + "caret-current/50", + "caret-current/55", + "caret-current/60", + "caret-current/65", + "caret-current/70", + "caret-current/75", + "caret-current/80", + "caret-current/85", + "caret-current/90", + "caret-current/95", + "caret-current/100", "caret-inherit", + "caret-inherit/0", + "caret-inherit/5", + "caret-inherit/10", + "caret-inherit/15", + "caret-inherit/20", + "caret-inherit/25", + "caret-inherit/30", + "caret-inherit/35", + "caret-inherit/40", + "caret-inherit/45", + "caret-inherit/50", + "caret-inherit/55", + "caret-inherit/60", + "caret-inherit/65", + "caret-inherit/70", + "caret-inherit/75", + "caret-inherit/80", + "caret-inherit/85", + "caret-inherit/90", + "caret-inherit/95", + "caret-inherit/100", "caret-transparent", + "caret-transparent/0", + "caret-transparent/5", + "caret-transparent/10", + "caret-transparent/15", + "caret-transparent/20", + "caret-transparent/25", + "caret-transparent/30", + "caret-transparent/35", + "caret-transparent/40", + "caret-transparent/45", + "caret-transparent/50", + "caret-transparent/55", + "caret-transparent/60", + "caret-transparent/65", + "caret-transparent/70", + "caret-transparent/75", + "caret-transparent/80", + "caret-transparent/85", + "caret-transparent/90", + "caret-transparent/95", + "caret-transparent/100", "clear-both", "clear-end", "clear-left", @@ -755,13 +1701,76 @@ exports[`getClassList 1`] = ` "decoration-2", "decoration-auto", "decoration-current", + "decoration-current/0", + "decoration-current/5", + "decoration-current/10", + "decoration-current/15", + "decoration-current/20", + "decoration-current/25", + "decoration-current/30", + "decoration-current/35", + "decoration-current/40", + "decoration-current/45", + "decoration-current/50", + "decoration-current/55", + "decoration-current/60", + "decoration-current/65", + "decoration-current/70", + "decoration-current/75", + "decoration-current/80", + "decoration-current/85", + "decoration-current/90", + "decoration-current/95", + "decoration-current/100", "decoration-dashed", "decoration-dotted", "decoration-double", "decoration-from-font", "decoration-inherit", + "decoration-inherit/0", + "decoration-inherit/5", + "decoration-inherit/10", + "decoration-inherit/15", + "decoration-inherit/20", + "decoration-inherit/25", + "decoration-inherit/30", + "decoration-inherit/35", + "decoration-inherit/40", + "decoration-inherit/45", + "decoration-inherit/50", + "decoration-inherit/55", + "decoration-inherit/60", + "decoration-inherit/65", + "decoration-inherit/70", + "decoration-inherit/75", + "decoration-inherit/80", + "decoration-inherit/85", + "decoration-inherit/90", + "decoration-inherit/95", + "decoration-inherit/100", "decoration-solid", "decoration-transparent", + "decoration-transparent/0", + "decoration-transparent/5", + "decoration-transparent/10", + "decoration-transparent/15", + "decoration-transparent/20", + "decoration-transparent/25", + "decoration-transparent/30", + "decoration-transparent/35", + "decoration-transparent/40", + "decoration-transparent/45", + "decoration-transparent/50", + "decoration-transparent/55", + "decoration-transparent/60", + "decoration-transparent/65", + "decoration-transparent/70", + "decoration-transparent/75", + "decoration-transparent/80", + "decoration-transparent/85", + "decoration-transparent/90", + "decoration-transparent/95", + "decoration-transparent/100", "decoration-wavy", "delay-100", "delay-1000", @@ -773,13 +1782,76 @@ exports[`getClassList 1`] = ` "delay-75", "diagonal-fractions", "divide-current", + "divide-current/0", + "divide-current/5", + "divide-current/10", + "divide-current/15", + "divide-current/20", + "divide-current/25", + "divide-current/30", + "divide-current/35", + "divide-current/40", + "divide-current/45", + "divide-current/50", + "divide-current/55", + "divide-current/60", + "divide-current/65", + "divide-current/70", + "divide-current/75", + "divide-current/80", + "divide-current/85", + "divide-current/90", + "divide-current/95", + "divide-current/100", "divide-dashed", "divide-dotted", "divide-double", "divide-inherit", + "divide-inherit/0", + "divide-inherit/5", + "divide-inherit/10", + "divide-inherit/15", + "divide-inherit/20", + "divide-inherit/25", + "divide-inherit/30", + "divide-inherit/35", + "divide-inherit/40", + "divide-inherit/45", + "divide-inherit/50", + "divide-inherit/55", + "divide-inherit/60", + "divide-inherit/65", + "divide-inherit/70", + "divide-inherit/75", + "divide-inherit/80", + "divide-inherit/85", + "divide-inherit/90", + "divide-inherit/95", + "divide-inherit/100", "divide-none", "divide-solid", "divide-transparent", + "divide-transparent/0", + "divide-transparent/5", + "divide-transparent/10", + "divide-transparent/15", + "divide-transparent/20", + "divide-transparent/25", + "divide-transparent/30", + "divide-transparent/35", + "divide-transparent/40", + "divide-transparent/45", + "divide-transparent/50", + "divide-transparent/55", + "divide-transparent/60", + "divide-transparent/65", + "divide-transparent/70", + "divide-transparent/75", + "divide-transparent/80", + "divide-transparent/85", + "divide-transparent/90", + "divide-transparent/95", + "divide-transparent/100", "divide-x", "divide-x-0", "divide-x-2", @@ -807,9 +1879,72 @@ exports[`getClassList 1`] = ` "end-auto", "end-full", "fill-current", + "fill-current/0", + "fill-current/5", + "fill-current/10", + "fill-current/15", + "fill-current/20", + "fill-current/25", + "fill-current/30", + "fill-current/35", + "fill-current/40", + "fill-current/45", + "fill-current/50", + "fill-current/55", + "fill-current/60", + "fill-current/65", + "fill-current/70", + "fill-current/75", + "fill-current/80", + "fill-current/85", + "fill-current/90", + "fill-current/95", + "fill-current/100", "fill-inherit", + "fill-inherit/0", + "fill-inherit/5", + "fill-inherit/10", + "fill-inherit/15", + "fill-inherit/20", + "fill-inherit/25", + "fill-inherit/30", + "fill-inherit/35", + "fill-inherit/40", + "fill-inherit/45", + "fill-inherit/50", + "fill-inherit/55", + "fill-inherit/60", + "fill-inherit/65", + "fill-inherit/70", + "fill-inherit/75", + "fill-inherit/80", + "fill-inherit/85", + "fill-inherit/90", + "fill-inherit/95", + "fill-inherit/100", "fill-none", "fill-transparent", + "fill-transparent/0", + "fill-transparent/5", + "fill-transparent/10", + "fill-transparent/15", + "fill-transparent/20", + "fill-transparent/25", + "fill-transparent/30", + "fill-transparent/35", + "fill-transparent/40", + "fill-transparent/45", + "fill-transparent/50", + "fill-transparent/55", + "fill-transparent/60", + "fill-transparent/65", + "fill-transparent/70", + "fill-transparent/75", + "fill-transparent/80", + "fill-transparent/85", + "fill-transparent/90", + "fill-transparent/95", + "fill-transparent/100", "fixed", "flex-auto", "flex-col", @@ -879,8 +2014,71 @@ exports[`getClassList 1`] = ` "from-90%", "from-95%", "from-current", + "from-current/0", + "from-current/5", + "from-current/10", + "from-current/15", + "from-current/20", + "from-current/25", + "from-current/30", + "from-current/35", + "from-current/40", + "from-current/45", + "from-current/50", + "from-current/55", + "from-current/60", + "from-current/65", + "from-current/70", + "from-current/75", + "from-current/80", + "from-current/85", + "from-current/90", + "from-current/95", + "from-current/100", "from-inherit", + "from-inherit/0", + "from-inherit/5", + "from-inherit/10", + "from-inherit/15", + "from-inherit/20", + "from-inherit/25", + "from-inherit/30", + "from-inherit/35", + "from-inherit/40", + "from-inherit/45", + "from-inherit/50", + "from-inherit/55", + "from-inherit/60", + "from-inherit/65", + "from-inherit/70", + "from-inherit/75", + "from-inherit/80", + "from-inherit/85", + "from-inherit/90", + "from-inherit/95", + "from-inherit/100", "from-transparent", + "from-transparent/0", + "from-transparent/5", + "from-transparent/10", + "from-transparent/15", + "from-transparent/20", + "from-transparent/25", + "from-transparent/30", + "from-transparent/35", + "from-transparent/40", + "from-transparent/45", + "from-transparent/50", + "from-transparent/55", + "from-transparent/60", + "from-transparent/65", + "from-transparent/70", + "from-transparent/75", + "from-transparent/80", + "from-transparent/85", + "from-transparent/90", + "from-transparent/95", + "from-transparent/100", "gap-0.5", "gap-1", "gap-3", @@ -980,12 +2178,138 @@ exports[`getClassList 1`] = ` "inset-ring-4", "inset-ring-8", "inset-ring-current", + "inset-ring-current/0", + "inset-ring-current/5", + "inset-ring-current/10", + "inset-ring-current/15", + "inset-ring-current/20", + "inset-ring-current/25", + "inset-ring-current/30", + "inset-ring-current/35", + "inset-ring-current/40", + "inset-ring-current/45", + "inset-ring-current/50", + "inset-ring-current/55", + "inset-ring-current/60", + "inset-ring-current/65", + "inset-ring-current/70", + "inset-ring-current/75", + "inset-ring-current/80", + "inset-ring-current/85", + "inset-ring-current/90", + "inset-ring-current/95", + "inset-ring-current/100", "inset-ring-inherit", + "inset-ring-inherit/0", + "inset-ring-inherit/5", + "inset-ring-inherit/10", + "inset-ring-inherit/15", + "inset-ring-inherit/20", + "inset-ring-inherit/25", + "inset-ring-inherit/30", + "inset-ring-inherit/35", + "inset-ring-inherit/40", + "inset-ring-inherit/45", + "inset-ring-inherit/50", + "inset-ring-inherit/55", + "inset-ring-inherit/60", + "inset-ring-inherit/65", + "inset-ring-inherit/70", + "inset-ring-inherit/75", + "inset-ring-inherit/80", + "inset-ring-inherit/85", + "inset-ring-inherit/90", + "inset-ring-inherit/95", + "inset-ring-inherit/100", "inset-ring-transparent", + "inset-ring-transparent/0", + "inset-ring-transparent/5", + "inset-ring-transparent/10", + "inset-ring-transparent/15", + "inset-ring-transparent/20", + "inset-ring-transparent/25", + "inset-ring-transparent/30", + "inset-ring-transparent/35", + "inset-ring-transparent/40", + "inset-ring-transparent/45", + "inset-ring-transparent/50", + "inset-ring-transparent/55", + "inset-ring-transparent/60", + "inset-ring-transparent/65", + "inset-ring-transparent/70", + "inset-ring-transparent/75", + "inset-ring-transparent/80", + "inset-ring-transparent/85", + "inset-ring-transparent/90", + "inset-ring-transparent/95", + "inset-ring-transparent/100", "inset-shadow", "inset-shadow-current", + "inset-shadow-current/0", + "inset-shadow-current/5", + "inset-shadow-current/10", + "inset-shadow-current/15", + "inset-shadow-current/20", + "inset-shadow-current/25", + "inset-shadow-current/30", + "inset-shadow-current/35", + "inset-shadow-current/40", + "inset-shadow-current/45", + "inset-shadow-current/50", + "inset-shadow-current/55", + "inset-shadow-current/60", + "inset-shadow-current/65", + "inset-shadow-current/70", + "inset-shadow-current/75", + "inset-shadow-current/80", + "inset-shadow-current/85", + "inset-shadow-current/90", + "inset-shadow-current/95", + "inset-shadow-current/100", "inset-shadow-inherit", + "inset-shadow-inherit/0", + "inset-shadow-inherit/5", + "inset-shadow-inherit/10", + "inset-shadow-inherit/15", + "inset-shadow-inherit/20", + "inset-shadow-inherit/25", + "inset-shadow-inherit/30", + "inset-shadow-inherit/35", + "inset-shadow-inherit/40", + "inset-shadow-inherit/45", + "inset-shadow-inherit/50", + "inset-shadow-inherit/55", + "inset-shadow-inherit/60", + "inset-shadow-inherit/65", + "inset-shadow-inherit/70", + "inset-shadow-inherit/75", + "inset-shadow-inherit/80", + "inset-shadow-inherit/85", + "inset-shadow-inherit/90", + "inset-shadow-inherit/95", + "inset-shadow-inherit/100", "inset-shadow-transparent", + "inset-shadow-transparent/0", + "inset-shadow-transparent/5", + "inset-shadow-transparent/10", + "inset-shadow-transparent/15", + "inset-shadow-transparent/20", + "inset-shadow-transparent/25", + "inset-shadow-transparent/30", + "inset-shadow-transparent/35", + "inset-shadow-transparent/40", + "inset-shadow-transparent/45", + "inset-shadow-transparent/50", + "inset-shadow-transparent/55", + "inset-shadow-transparent/60", + "inset-shadow-transparent/65", + "inset-shadow-transparent/70", + "inset-shadow-transparent/75", + "inset-shadow-transparent/80", + "inset-shadow-transparent/85", + "inset-shadow-transparent/90", + "inset-shadow-transparent/95", + "inset-shadow-transparent/100", "inset-x-0.5", "inset-x-1", "inset-x-3", @@ -1205,6 +2529,7 @@ exports[`getClassList 1`] = ` "opacity-85", "opacity-90", "opacity-95", + "opacity-background", "order-1", "order-10", "order-11", @@ -1231,16 +2556,79 @@ exports[`getClassList 1`] = ` "origin-top-left", "origin-top-right", "outline", + "outline/0", + "outline/5", + "outline/10", + "outline/15", + "outline/20", + "outline/25", + "outline/30", + "outline/35", + "outline/40", + "outline/45", + "outline/50", + "outline/55", + "outline/60", + "outline/65", + "outline/70", + "outline/75", + "outline/80", + "outline/85", + "outline/90", + "outline/95", + "outline/100", "outline-0", "outline-1", "outline-2", "outline-4", "outline-8", "outline-current", + "outline-current/0", + "outline-current/5", + "outline-current/10", + "outline-current/15", + "outline-current/20", + "outline-current/25", + "outline-current/30", + "outline-current/35", + "outline-current/40", + "outline-current/45", + "outline-current/50", + "outline-current/55", + "outline-current/60", + "outline-current/65", + "outline-current/70", + "outline-current/75", + "outline-current/80", + "outline-current/85", + "outline-current/90", + "outline-current/95", + "outline-current/100", "outline-dashed", "outline-dotted", "outline-double", "outline-inherit", + "outline-inherit/0", + "outline-inherit/5", + "outline-inherit/10", + "outline-inherit/15", + "outline-inherit/20", + "outline-inherit/25", + "outline-inherit/30", + "outline-inherit/35", + "outline-inherit/40", + "outline-inherit/45", + "outline-inherit/50", + "outline-inherit/55", + "outline-inherit/60", + "outline-inherit/65", + "outline-inherit/70", + "outline-inherit/75", + "outline-inherit/80", + "outline-inherit/85", + "outline-inherit/90", + "outline-inherit/95", + "outline-inherit/100", "outline-none", "outline-offset-0", "outline-offset-1", @@ -1249,6 +2637,27 @@ exports[`getClassList 1`] = ` "outline-offset-8", "outline-solid", "outline-transparent", + "outline-transparent/0", + "outline-transparent/5", + "outline-transparent/10", + "outline-transparent/15", + "outline-transparent/20", + "outline-transparent/25", + "outline-transparent/30", + "outline-transparent/35", + "outline-transparent/40", + "outline-transparent/45", + "outline-transparent/50", + "outline-transparent/55", + "outline-transparent/60", + "outline-transparent/65", + "outline-transparent/70", + "outline-transparent/75", + "outline-transparent/80", + "outline-transparent/85", + "outline-transparent/90", + "outline-transparent/95", + "outline-transparent/100", "overflow-auto", "overflow-clip", "overflow-hidden", @@ -1321,8 +2730,71 @@ exports[`getClassList 1`] = ` "place-self-start", "place-self-stretch", "placeholder-current", + "placeholder-current/0", + "placeholder-current/5", + "placeholder-current/10", + "placeholder-current/15", + "placeholder-current/20", + "placeholder-current/25", + "placeholder-current/30", + "placeholder-current/35", + "placeholder-current/40", + "placeholder-current/45", + "placeholder-current/50", + "placeholder-current/55", + "placeholder-current/60", + "placeholder-current/65", + "placeholder-current/70", + "placeholder-current/75", + "placeholder-current/80", + "placeholder-current/85", + "placeholder-current/90", + "placeholder-current/95", + "placeholder-current/100", "placeholder-inherit", + "placeholder-inherit/0", + "placeholder-inherit/5", + "placeholder-inherit/10", + "placeholder-inherit/15", + "placeholder-inherit/20", + "placeholder-inherit/25", + "placeholder-inherit/30", + "placeholder-inherit/35", + "placeholder-inherit/40", + "placeholder-inherit/45", + "placeholder-inherit/50", + "placeholder-inherit/55", + "placeholder-inherit/60", + "placeholder-inherit/65", + "placeholder-inherit/70", + "placeholder-inherit/75", + "placeholder-inherit/80", + "placeholder-inherit/85", + "placeholder-inherit/90", + "placeholder-inherit/95", + "placeholder-inherit/100", "placeholder-transparent", + "placeholder-transparent/0", + "placeholder-transparent/5", + "placeholder-transparent/10", + "placeholder-transparent/15", + "placeholder-transparent/20", + "placeholder-transparent/25", + "placeholder-transparent/30", + "placeholder-transparent/35", + "placeholder-transparent/40", + "placeholder-transparent/45", + "placeholder-transparent/50", + "placeholder-transparent/55", + "placeholder-transparent/60", + "placeholder-transparent/65", + "placeholder-transparent/70", + "placeholder-transparent/75", + "placeholder-transparent/80", + "placeholder-transparent/85", + "placeholder-transparent/90", + "placeholder-transparent/95", + "placeholder-transparent/100", "pointer-events-auto", "pointer-events-none", "pr-0.5", @@ -1364,7 +2836,49 @@ exports[`getClassList 1`] = ` "ring-4", "ring-8", "ring-current", + "ring-current/0", + "ring-current/5", + "ring-current/10", + "ring-current/15", + "ring-current/20", + "ring-current/25", + "ring-current/30", + "ring-current/35", + "ring-current/40", + "ring-current/45", + "ring-current/50", + "ring-current/55", + "ring-current/60", + "ring-current/65", + "ring-current/70", + "ring-current/75", + "ring-current/80", + "ring-current/85", + "ring-current/90", + "ring-current/95", + "ring-current/100", "ring-inherit", + "ring-inherit/0", + "ring-inherit/5", + "ring-inherit/10", + "ring-inherit/15", + "ring-inherit/20", + "ring-inherit/25", + "ring-inherit/30", + "ring-inherit/35", + "ring-inherit/40", + "ring-inherit/45", + "ring-inherit/50", + "ring-inherit/55", + "ring-inherit/60", + "ring-inherit/65", + "ring-inherit/70", + "ring-inherit/75", + "ring-inherit/80", + "ring-inherit/85", + "ring-inherit/90", + "ring-inherit/95", + "ring-inherit/100", "ring-inset", "ring-offset-0", "ring-offset-1", @@ -1372,9 +2886,93 @@ exports[`getClassList 1`] = ` "ring-offset-4", "ring-offset-8", "ring-offset-current", + "ring-offset-current/0", + "ring-offset-current/5", + "ring-offset-current/10", + "ring-offset-current/15", + "ring-offset-current/20", + "ring-offset-current/25", + "ring-offset-current/30", + "ring-offset-current/35", + "ring-offset-current/40", + "ring-offset-current/45", + "ring-offset-current/50", + "ring-offset-current/55", + "ring-offset-current/60", + "ring-offset-current/65", + "ring-offset-current/70", + "ring-offset-current/75", + "ring-offset-current/80", + "ring-offset-current/85", + "ring-offset-current/90", + "ring-offset-current/95", + "ring-offset-current/100", "ring-offset-inherit", + "ring-offset-inherit/0", + "ring-offset-inherit/5", + "ring-offset-inherit/10", + "ring-offset-inherit/15", + "ring-offset-inherit/20", + "ring-offset-inherit/25", + "ring-offset-inherit/30", + "ring-offset-inherit/35", + "ring-offset-inherit/40", + "ring-offset-inherit/45", + "ring-offset-inherit/50", + "ring-offset-inherit/55", + "ring-offset-inherit/60", + "ring-offset-inherit/65", + "ring-offset-inherit/70", + "ring-offset-inherit/75", + "ring-offset-inherit/80", + "ring-offset-inherit/85", + "ring-offset-inherit/90", + "ring-offset-inherit/95", + "ring-offset-inherit/100", "ring-offset-transparent", + "ring-offset-transparent/0", + "ring-offset-transparent/5", + "ring-offset-transparent/10", + "ring-offset-transparent/15", + "ring-offset-transparent/20", + "ring-offset-transparent/25", + "ring-offset-transparent/30", + "ring-offset-transparent/35", + "ring-offset-transparent/40", + "ring-offset-transparent/45", + "ring-offset-transparent/50", + "ring-offset-transparent/55", + "ring-offset-transparent/60", + "ring-offset-transparent/65", + "ring-offset-transparent/70", + "ring-offset-transparent/75", + "ring-offset-transparent/80", + "ring-offset-transparent/85", + "ring-offset-transparent/90", + "ring-offset-transparent/95", + "ring-offset-transparent/100", "ring-transparent", + "ring-transparent/0", + "ring-transparent/5", + "ring-transparent/10", + "ring-transparent/15", + "ring-transparent/20", + "ring-transparent/25", + "ring-transparent/30", + "ring-transparent/35", + "ring-transparent/40", + "ring-transparent/45", + "ring-transparent/50", + "ring-transparent/55", + "ring-transparent/60", + "ring-transparent/65", + "ring-transparent/70", + "ring-transparent/75", + "ring-transparent/80", + "ring-transparent/85", + "ring-transparent/90", + "ring-transparent/95", + "ring-transparent/100", "rotate-0", "rotate-1", "rotate-12", @@ -1625,8 +3223,71 @@ exports[`getClassList 1`] = ` "sepia-50", "shadow", "shadow-current", + "shadow-current/0", + "shadow-current/5", + "shadow-current/10", + "shadow-current/15", + "shadow-current/20", + "shadow-current/25", + "shadow-current/30", + "shadow-current/35", + "shadow-current/40", + "shadow-current/45", + "shadow-current/50", + "shadow-current/55", + "shadow-current/60", + "shadow-current/65", + "shadow-current/70", + "shadow-current/75", + "shadow-current/80", + "shadow-current/85", + "shadow-current/90", + "shadow-current/95", + "shadow-current/100", "shadow-inherit", + "shadow-inherit/0", + "shadow-inherit/5", + "shadow-inherit/10", + "shadow-inherit/15", + "shadow-inherit/20", + "shadow-inherit/25", + "shadow-inherit/30", + "shadow-inherit/35", + "shadow-inherit/40", + "shadow-inherit/45", + "shadow-inherit/50", + "shadow-inherit/55", + "shadow-inherit/60", + "shadow-inherit/65", + "shadow-inherit/70", + "shadow-inherit/75", + "shadow-inherit/80", + "shadow-inherit/85", + "shadow-inherit/90", + "shadow-inherit/95", + "shadow-inherit/100", "shadow-transparent", + "shadow-transparent/0", + "shadow-transparent/5", + "shadow-transparent/10", + "shadow-transparent/15", + "shadow-transparent/20", + "shadow-transparent/25", + "shadow-transparent/30", + "shadow-transparent/35", + "shadow-transparent/40", + "shadow-transparent/45", + "shadow-transparent/50", + "shadow-transparent/55", + "shadow-transparent/60", + "shadow-transparent/65", + "shadow-transparent/70", + "shadow-transparent/75", + "shadow-transparent/80", + "shadow-transparent/85", + "shadow-transparent/90", + "shadow-transparent/95", + "shadow-transparent/100", "shrink", "shrink-0", "size-0.5", @@ -1694,9 +3355,72 @@ exports[`getClassList 1`] = ` "stroke-2", "stroke-3", "stroke-current", + "stroke-current/0", + "stroke-current/5", + "stroke-current/10", + "stroke-current/15", + "stroke-current/20", + "stroke-current/25", + "stroke-current/30", + "stroke-current/35", + "stroke-current/40", + "stroke-current/45", + "stroke-current/50", + "stroke-current/55", + "stroke-current/60", + "stroke-current/65", + "stroke-current/70", + "stroke-current/75", + "stroke-current/80", + "stroke-current/85", + "stroke-current/90", + "stroke-current/95", + "stroke-current/100", "stroke-inherit", + "stroke-inherit/0", + "stroke-inherit/5", + "stroke-inherit/10", + "stroke-inherit/15", + "stroke-inherit/20", + "stroke-inherit/25", + "stroke-inherit/30", + "stroke-inherit/35", + "stroke-inherit/40", + "stroke-inherit/45", + "stroke-inherit/50", + "stroke-inherit/55", + "stroke-inherit/60", + "stroke-inherit/65", + "stroke-inherit/70", + "stroke-inherit/75", + "stroke-inherit/80", + "stroke-inherit/85", + "stroke-inherit/90", + "stroke-inherit/95", + "stroke-inherit/100", "stroke-none", "stroke-transparent", + "stroke-transparent/0", + "stroke-transparent/5", + "stroke-transparent/10", + "stroke-transparent/15", + "stroke-transparent/20", + "stroke-transparent/25", + "stroke-transparent/30", + "stroke-transparent/35", + "stroke-transparent/40", + "stroke-transparent/45", + "stroke-transparent/50", + "stroke-transparent/55", + "stroke-transparent/60", + "stroke-transparent/65", + "stroke-transparent/70", + "stroke-transparent/75", + "stroke-transparent/80", + "stroke-transparent/85", + "stroke-transparent/90", + "stroke-transparent/95", + "stroke-transparent/100", "subpixel-antialiased", "table", "table-auto", @@ -1714,9 +3438,51 @@ exports[`getClassList 1`] = ` "text-center", "text-clip", "text-current", + "text-current/0", + "text-current/5", + "text-current/10", + "text-current/15", + "text-current/20", + "text-current/25", + "text-current/30", + "text-current/35", + "text-current/40", + "text-current/45", + "text-current/50", + "text-current/55", + "text-current/60", + "text-current/65", + "text-current/70", + "text-current/75", + "text-current/80", + "text-current/85", + "text-current/90", + "text-current/95", + "text-current/100", "text-ellipsis", "text-end", "text-inherit", + "text-inherit/0", + "text-inherit/5", + "text-inherit/10", + "text-inherit/15", + "text-inherit/20", + "text-inherit/25", + "text-inherit/30", + "text-inherit/35", + "text-inherit/40", + "text-inherit/45", + "text-inherit/50", + "text-inherit/55", + "text-inherit/60", + "text-inherit/65", + "text-inherit/70", + "text-inherit/75", + "text-inherit/80", + "text-inherit/85", + "text-inherit/90", + "text-inherit/95", + "text-inherit/100", "text-justify", "text-left", "text-nowrap", @@ -1724,6 +3490,27 @@ exports[`getClassList 1`] = ` "text-right", "text-start", "text-transparent", + "text-transparent/0", + "text-transparent/5", + "text-transparent/10", + "text-transparent/15", + "text-transparent/20", + "text-transparent/25", + "text-transparent/30", + "text-transparent/35", + "text-transparent/40", + "text-transparent/45", + "text-transparent/50", + "text-transparent/55", + "text-transparent/60", + "text-transparent/65", + "text-transparent/70", + "text-transparent/75", + "text-transparent/80", + "text-transparent/85", + "text-transparent/90", + "text-transparent/95", + "text-transparent/100", "text-wrap", "text-xs", "to-0%", @@ -1748,8 +3535,71 @@ exports[`getClassList 1`] = ` "to-90%", "to-95%", "to-current", + "to-current/0", + "to-current/5", + "to-current/10", + "to-current/15", + "to-current/20", + "to-current/25", + "to-current/30", + "to-current/35", + "to-current/40", + "to-current/45", + "to-current/50", + "to-current/55", + "to-current/60", + "to-current/65", + "to-current/70", + "to-current/75", + "to-current/80", + "to-current/85", + "to-current/90", + "to-current/95", + "to-current/100", "to-inherit", + "to-inherit/0", + "to-inherit/5", + "to-inherit/10", + "to-inherit/15", + "to-inherit/20", + "to-inherit/25", + "to-inherit/30", + "to-inherit/35", + "to-inherit/40", + "to-inherit/45", + "to-inherit/50", + "to-inherit/55", + "to-inherit/60", + "to-inherit/65", + "to-inherit/70", + "to-inherit/75", + "to-inherit/80", + "to-inherit/85", + "to-inherit/90", + "to-inherit/95", + "to-inherit/100", "to-transparent", + "to-transparent/0", + "to-transparent/5", + "to-transparent/10", + "to-transparent/15", + "to-transparent/20", + "to-transparent/25", + "to-transparent/30", + "to-transparent/35", + "to-transparent/40", + "to-transparent/45", + "to-transparent/50", + "to-transparent/55", + "to-transparent/60", + "to-transparent/65", + "to-transparent/70", + "to-transparent/75", + "to-transparent/80", + "to-transparent/85", + "to-transparent/90", + "to-transparent/95", + "to-transparent/100", "top-0.5", "top-1", "top-3", @@ -1839,9 +3689,72 @@ exports[`getClassList 1`] = ` "via-90%", "via-95%", "via-current", + "via-current/0", + "via-current/5", + "via-current/10", + "via-current/15", + "via-current/20", + "via-current/25", + "via-current/30", + "via-current/35", + "via-current/40", + "via-current/45", + "via-current/50", + "via-current/55", + "via-current/60", + "via-current/65", + "via-current/70", + "via-current/75", + "via-current/80", + "via-current/85", + "via-current/90", + "via-current/95", + "via-current/100", "via-inherit", + "via-inherit/0", + "via-inherit/5", + "via-inherit/10", + "via-inherit/15", + "via-inherit/20", + "via-inherit/25", + "via-inherit/30", + "via-inherit/35", + "via-inherit/40", + "via-inherit/45", + "via-inherit/50", + "via-inherit/55", + "via-inherit/60", + "via-inherit/65", + "via-inherit/70", + "via-inherit/75", + "via-inherit/80", + "via-inherit/85", + "via-inherit/90", + "via-inherit/95", + "via-inherit/100", "via-none", "via-transparent", + "via-transparent/0", + "via-transparent/5", + "via-transparent/10", + "via-transparent/15", + "via-transparent/20", + "via-transparent/25", + "via-transparent/30", + "via-transparent/35", + "via-transparent/40", + "via-transparent/45", + "via-transparent/50", + "via-transparent/55", + "via-transparent/60", + "via-transparent/65", + "via-transparent/70", + "via-transparent/75", + "via-transparent/80", + "via-transparent/85", + "via-transparent/90", + "via-transparent/95", + "via-transparent/100", "visible", "w-0.5", "w-1", diff --git a/packages/tailwindcss/src/intellisense.test.ts b/packages/tailwindcss/src/intellisense.test.ts index d32d8e2f4..0eb4d16cc 100644 --- a/packages/tailwindcss/src/intellisense.test.ts +++ b/packages/tailwindcss/src/intellisense.test.ts @@ -16,13 +16,17 @@ function loadDesignSystem() { theme.add('--font-size-xs--line-height', '1rem') theme.add('--perspective-dramatic', '100px') theme.add('--perspective-normal', '500px') + theme.add('--opacity-background', '0.3') return buildDesignSystem(theme) } test('getClassList', () => { let design = loadDesignSystem() let classList = design.getClassList() - let classNames = classList.map(([name]) => name) + let classNames = classList.flatMap(([name, meta]) => [ + name, + ...meta.modifiers.map((m) => `${name}/${m}`), + ]) expect(classNames).toMatchSnapshot() }) diff --git a/packages/tailwindcss/src/utilities.ts b/packages/tailwindcss/src/utilities.ts index dfb40ea10..8835ac06a 100644 --- a/packages/tailwindcss/src/utilities.ts +++ b/packages/tailwindcss/src/utilities.ts @@ -366,7 +366,6 @@ export function createUtilities(theme: Theme) { values: ['current', 'inherit', 'transparent'], valueThemeKeys: desc.themeKeys, modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`), - modifierThemeKeys: ['--opacity'], }, ]) } @@ -2269,7 +2268,6 @@ export function createUtilities(theme: Theme) { values: ['current', 'inherit', 'transparent'], valueThemeKeys: ['--border-color', '--color'], modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`), - modifierThemeKeys: ['--opacity'], hasDefaultValue: true, }, { @@ -2569,7 +2567,6 @@ export function createUtilities(theme: Theme) { values: ['current', 'inherit', 'transparent'], valueThemeKeys: ['--background-color', '--color'], modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`), - modifierThemeKeys: ['--opacity'], }, { values: [], @@ -2650,7 +2647,6 @@ export function createUtilities(theme: Theme) { values: ['current', 'inherit', 'transparent'], valueThemeKeys: ['--background-color', '--color'], modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`), - modifierThemeKeys: ['--opacity'], }, { values: Array.from({ length: 21 }, (_, index) => `${index * 5}%`), @@ -2768,7 +2764,6 @@ export function createUtilities(theme: Theme) { values: ['current', 'inherit', 'transparent'], valueThemeKeys: ['--fill', '--color'], modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`), - modifierThemeKeys: ['--opacity'], }, ]) @@ -2820,7 +2815,6 @@ export function createUtilities(theme: Theme) { values: ['current', 'inherit', 'transparent'], valueThemeKeys: ['--stroke', '--color'], modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`), - modifierThemeKeys: ['--opacity'], }, { values: ['0', '1', '2', '3'], @@ -3124,7 +3118,6 @@ export function createUtilities(theme: Theme) { values: ['current', 'inherit', 'transparent'], valueThemeKeys: ['--text-decoration-color', '--color'], modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`), - modifierThemeKeys: ['--opacity'], }, { values: ['0', '1', '2'], @@ -3966,7 +3959,6 @@ export function createUtilities(theme: Theme) { values: ['current', 'inherit', 'transparent'], valueThemeKeys: ['--outline-color', '--color'], modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`), - modifierThemeKeys: ['--opacity'], hasDefaultValue: true, }, { @@ -4113,7 +4105,6 @@ export function createUtilities(theme: Theme) { values: ['current', 'inherit', 'transparent'], valueThemeKeys: ['--text-color', '--color'], modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`), - modifierThemeKeys: ['--opacity'], }, { values: [], @@ -4236,7 +4227,6 @@ export function createUtilities(theme: Theme) { values: ['current', 'inherit', 'transparent'], valueThemeKeys: ['--box-shadow-color', '--color'], modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`), - modifierThemeKeys: ['--opacity'], }, { values: [], @@ -4339,7 +4329,6 @@ export function createUtilities(theme: Theme) { values: ['current', 'inherit', 'transparent'], valueThemeKeys: ['--box-shadow-color', '--color'], modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`), - modifierThemeKeys: ['--opacity'], }, { values: [], @@ -4419,7 +4408,6 @@ export function createUtilities(theme: Theme) { values: ['current', 'inherit', 'transparent'], valueThemeKeys: ['--ring-color', '--color'], modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`), - modifierThemeKeys: ['--opacity'], }, { values: ['0', '1', '2', '4', '8'], @@ -4495,7 +4483,6 @@ export function createUtilities(theme: Theme) { values: ['current', 'inherit', 'transparent'], valueThemeKeys: ['--ring-color', '--color'], modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`), - modifierThemeKeys: ['--opacity'], }, { values: ['0', '1', '2', '4', '8'], @@ -4563,7 +4550,6 @@ export function createUtilities(theme: Theme) { values: ['current', 'inherit', 'transparent'], valueThemeKeys: ['--ring-offset-color', '--color'], modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`), - modifierThemeKeys: ['--opacity'], }, { values: ['0', '1', '2', '4', '8'],