Skip to content

Commit 7d6fabc

Browse files
Even more snapshot updates
1 parent 0bbcd09 commit 7d6fabc

File tree

10 files changed

+111
-111
lines changed

10 files changed

+111
-111
lines changed

integrations/cli/index.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ test(
713713
expect(await fs.dumpFiles('./dist/*.css')).toMatchInlineSnapshot(`
714714
"
715715
--- ./dist/out.css ---
716-
@supports ((-webkit-hyphens: none) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
716+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
717717
*, ::before, ::after, ::backdrop {
718718
--tw-content: "";
719719
}
@@ -949,7 +949,7 @@ test(
949949
expect(await fs.dumpFiles('./project-a/dist/*.css')).toMatchInlineSnapshot(`
950950
"
951951
--- ./project-a/dist/out.css ---
952-
@supports ((-webkit-hyphens: none) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
952+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
953953
*, ::before, ::after, ::backdrop {
954954
--tw-content: "";
955955
}
@@ -1191,7 +1191,7 @@ test(
11911191
expect(await fs.dumpFiles('./dist/*.css')).toMatchInlineSnapshot(`
11921192
"
11931193
--- ./dist/out.css ---
1194-
@supports ((-webkit-hyphens: none) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
1194+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
11951195
*, ::before, ::after, ::backdrop {
11961196
--tw-content: "";
11971197
}

integrations/postcss/source.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ test(
9494
expect(await fs.dumpFiles('./dist/*.css')).toMatchInlineSnapshot(`
9595
"
9696
--- ./dist/out.css ---
97-
@supports ((-webkit-hyphens: none) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
97+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
9898
*, ::before, ::after, ::backdrop {
9999
--tw-content: "";
100100
}
@@ -329,7 +329,7 @@ test(
329329
expect(await fs.dumpFiles('./project-a/dist/*.css')).toMatchInlineSnapshot(`
330330
"
331331
--- ./project-a/dist/out.css ---
332-
@supports ((-webkit-hyphens: none) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
332+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
333333
*, ::before, ::after, ::backdrop {
334334
--tw-content: "";
335335
}
@@ -589,7 +589,7 @@ test(
589589
expect(await fs.dumpFiles('./dist/*.css')).toMatchInlineSnapshot(`
590590
"
591591
--- ./dist/out.css ---
592-
@supports ((-webkit-hyphens: none) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
592+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
593593
*, ::before, ::after, ::backdrop {
594594
--tw-content: "";
595595
}
@@ -698,7 +698,7 @@ test(
698698
expect(await fs.dumpFiles('./project-a/dist/*.css')).toMatchInlineSnapshot(`
699699
"
700700
--- ./project-a/dist/out.css ---
701-
@supports ((-webkit-hyphens: none) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
701+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
702702
*, ::before, ::after, ::backdrop {
703703
--tw-content: "";
704704
}

packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

33
exports[`\`@import 'tailwindcss'\` is replaced with the generated CSS 1`] = `
4-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
55
*, :before, :after, ::backdrop {
66
--tw-font-weight: initial;
77
}

packages/tailwindcss/src/__snapshots__/index.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

33
exports[`compiling CSS > \`@tailwind utilities\` is replaced by utilities using the default theme 1`] = `
4-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
55
*, :before, :after, ::backdrop {
66
--tw-shadow: 0 0 #0000;
77
--tw-shadow-color: initial;

packages/tailwindcss/src/__snapshots__/utilities.test.ts.snap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

33
exports[`border-* 1`] = `
4-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
55
*, :before, :after, ::backdrop {
66
--tw-border-style: solid;
77
}
@@ -173,7 +173,7 @@ exports[`border-* 1`] = `
173173
`;
174174

175175
exports[`border-b-* 1`] = `
176-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
176+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
177177
*, :before, :after, ::backdrop {
178178
--tw-border-style: solid;
179179
}
@@ -345,7 +345,7 @@ exports[`border-b-* 1`] = `
345345
`;
346346

347347
exports[`border-e-* 1`] = `
348-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
348+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
349349
*, :before, :after, ::backdrop {
350350
--tw-border-style: solid;
351351
}
@@ -517,7 +517,7 @@ exports[`border-e-* 1`] = `
517517
`;
518518

519519
exports[`border-l-* 1`] = `
520-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
520+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
521521
*, :before, :after, ::backdrop {
522522
--tw-border-style: solid;
523523
}
@@ -689,7 +689,7 @@ exports[`border-l-* 1`] = `
689689
`;
690690

691691
exports[`border-r-* 1`] = `
692-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
692+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
693693
*, :before, :after, ::backdrop {
694694
--tw-border-style: solid;
695695
}
@@ -861,7 +861,7 @@ exports[`border-r-* 1`] = `
861861
`;
862862

863863
exports[`border-s-* 1`] = `
864-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
864+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
865865
*, :before, :after, ::backdrop {
866866
--tw-border-style: solid;
867867
}
@@ -1033,7 +1033,7 @@ exports[`border-s-* 1`] = `
10331033
`;
10341034

10351035
exports[`border-t-* 1`] = `
1036-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1036+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
10371037
*, :before, :after, ::backdrop {
10381038
--tw-border-style: solid;
10391039
}
@@ -1205,7 +1205,7 @@ exports[`border-t-* 1`] = `
12051205
`;
12061206

12071207
exports[`border-x-* 1`] = `
1208-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1208+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
12091209
*, :before, :after, ::backdrop {
12101210
--tw-border-style: solid;
12111211
}
@@ -1377,7 +1377,7 @@ exports[`border-x-* 1`] = `
13771377
`;
13781378

13791379
exports[`border-y-* 1`] = `
1380-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1380+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
13811381
*, :before, :after, ::backdrop {
13821382
--tw-border-style: solid;
13831383
}

packages/tailwindcss/src/compat/config.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ describe('theme callbacks', () => {
322322

323323
expect(compiler.build(['leading-base', 'leading-md', 'leading-xl', 'prose']))
324324
.toMatchInlineSnapshot(`
325-
"@supports ((-webkit-hyphens: none) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
325+
"@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
326326
*, ::before, ::after, ::backdrop {
327327
--tw-leading: initial;
328328
}

packages/tailwindcss/src/important.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ test('variables in utilities should not be marked as important', async () => {
101101
['ease-out!', 'z-10!'],
102102
),
103103
).toMatchInlineSnapshot(`
104-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
104+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
105105
*, :before, :after, ::backdrop {
106106
--tw-ease: initial;
107107
}

packages/tailwindcss/src/index.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ describe('@apply', () => {
309309
}
310310
`),
311311
).toMatchInlineSnapshot(`
312-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
312+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
313313
*, :before, :after, ::backdrop {
314314
--tw-translate-x: 0;
315315
--tw-translate-y: 0;
@@ -424,7 +424,7 @@ describe('@apply', () => {
424424
}
425425
`),
426426
).toMatchInlineSnapshot(`
427-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
427+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
428428
*, :before, :after, ::backdrop {
429429
--tw-content: "";
430430
}
@@ -661,7 +661,7 @@ describe('variant stacking', () => {
661661

662662
it('pseudo element variants are re-ordered', async () => {
663663
expect(await run(['before:hover:flex', 'hover:before:flex'])).toMatchInlineSnapshot(`
664-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
664+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
665665
*, :before, :after, ::backdrop {
666666
--tw-content: "";
667667
}
@@ -827,7 +827,7 @@ describe('sorting', () => {
827827
['mx-0', 'gap-4', 'space-x-2'].sort(() => Math.random() - 0.5),
828828
),
829829
).toMatchInlineSnapshot(`
830-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
830+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
831831
*, :before, :after, ::backdrop {
832832
--tw-space-x-reverse: 0;
833833
}
@@ -1462,7 +1462,7 @@ describe('Parsing theme values from CSS', () => {
14621462
['font-bold', 'font-sans', 'font-serif', 'font-body'],
14631463
),
14641464
).toMatchInlineSnapshot(`
1465-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1465+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
14661466
*, :before, :after, ::backdrop {
14671467
--tw-font-weight: initial;
14681468
}
@@ -1507,7 +1507,7 @@ describe('Parsing theme values from CSS', () => {
15071507
['inset-shadow-sm', 'inset-ring-thick', 'inset-lg', 'inset-sm', 'inset-md'],
15081508
),
15091509
).toMatchInlineSnapshot(`
1510-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1510+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
15111511
*, :before, :after, ::backdrop {
15121512
--tw-shadow: 0 0 #0000;
15131513
--tw-shadow-color: initial;
@@ -4959,7 +4959,7 @@ describe('`@property` polyfill', async () => {
49594959
[],
49604960
),
49614961
).resolves.toMatchInlineSnapshot(`
4962-
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: 1lh))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4962+
"@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
49634963
:root, :host {
49644964
--inherit-no-value: initial;
49654965
--inherit-value: red;

0 commit comments

Comments
 (0)