Dataset Viewer
Auto-converted to Parquet Duplicate
repo
stringclasses
15 values
pull_number
int64
147
18.3k
instance_id
stringlengths
14
31
issue_numbers
sequencelengths
1
3
base_commit
stringlengths
40
40
patch
stringlengths
289
585k
test_patch
stringlengths
355
6.82M
problem_statement
stringlengths
25
49.4k
hints_text
stringlengths
0
58.9k
created_at
timestamp[us, tz=UTC]date
2014-08-08 22:09:38
2024-06-28 03:13:12
version
stringclasses
110 values
PASS_TO_PASS
sequencelengths
0
4.82k
FAIL_TO_PASS
sequencelengths
1
1.06k
language
stringclasses
4 values
image_urls
sequencelengths
0
4
website links
sequencelengths
0
4
tailwindlabs/tailwindcss
10,059
tailwindlabs__tailwindcss-10059
[ "10052" ]
40c0cbe272dab4904cbe9e2aaa200ebdb44a25fd
diff --git a/src/lib/generateRules.js b/src/lib/generateRules.js --- a/src/lib/generateRules.js +++ b/src/lib/generateRules.js @@ -733,6 +733,8 @@ function* resolveMatches(candidate, context, original = candidate) { } for (let match of matches) { + let isValid = true + match[1].raws.tailwind = {...
diff --git a/tests/arbitrary-variants.test.js b/tests/arbitrary-variants.test.js --- a/tests/arbitrary-variants.test.js +++ b/tests/arbitrary-variants.test.js @@ -1099,3 +1099,47 @@ it('Arbitrary variants are ordered alphabetically', () => { `) }) }) + +it('Arbitrary variants support multiple attribute selecto...
Fails to compile "expected opening square bracket" with two attribute selectors <!-- Please provide all of the information requested below. We're a small team and without all of this information it's not possible for us to help and your bug report will be closed. --> **What version of Tailwind CSS are you using?...
2022-12-12T15:55:19
3.2
[]
[ "tests/arbitrary-variants.test.js" ]
TypeScript
[]
[ "https://play.tailwindcss.com/w66a9h6SsL" ]
tailwindlabs/tailwindcss
10,212
tailwindlabs__tailwindcss-10212
[ "10180" ]
5594c3bec95e1db985e49f6836b51d7046d59579
diff --git a/src/lib/defaultExtractor.js b/src/lib/defaultExtractor.js --- a/src/lib/defaultExtractor.js +++ b/src/lib/defaultExtractor.js @@ -28,8 +28,14 @@ function* buildRegExps(context) { : '' let utility = regex.any([ - // Arbitrary properties - /\[[^\s:'"`]+:[^\s]+\]/, + // Arbitrary properti...
diff --git a/tests/default-extractor.test.js b/tests/default-extractor.test.js --- a/tests/default-extractor.test.js +++ b/tests/default-extractor.test.js @@ -488,3 +488,11 @@ test('ruby percent string array', () => { expect(extractions).toContain(`text-[#bada55]`) }) + +test('arbitrary properties followed by squ...
Div content with brackets `[]` prevents arbitrary class from being generated ## This works: https://play.tailwindcss.com/0VLICQ8oUW <img width="810" alt="image" src="https://user-images.githubusercontent.com/111561/209682078-7e43a107-52ff-4006-8c37-ec44414abe12.png"> ## This does not work: https://play.tailwindcs...
Hey @tordans I am trying to understand the problem statement. If you elaborate about the project and the problem it will be helpful for me cause I am new in this project and I am trying to contribute in this project. I did check through your code and didnt find any issue just pust a space before ending "
2023-01-02T14:38:18
3.2
[]
[ "tests/default-extractor.test.js" ]
TypeScript
[ "https://user-images.githubusercontent.com/111561/209682078-7e43a107-52ff-4006-8c37-ec44414abe12.png", "https://user-images.githubusercontent.com/111561/209682172-de1dcaaa-6e69-429b-907f-840691e35ceb.png" ]
[ "https://play.tailwindcss.com/0VLICQ8oUW", "https://play.tailwindcss.com/5KJf7xDKv6" ]
tailwindlabs/tailwindcss
10,214
tailwindlabs__tailwindcss-10214
[ "10125" ]
2b885ef2525988758761cc3535383d8d1dc260bf
diff --git a/src/lib/generateRules.js b/src/lib/generateRules.js --- a/src/lib/generateRules.js +++ b/src/lib/generateRules.js @@ -201,6 +201,7 @@ function applyVariant(variant, matches, context) { } if (context.variantMap.has(variant)) { + let isArbitraryVariant = isArbitraryValue(variant) let variantF...
diff --git a/tests/arbitrary-variants.test.js b/tests/arbitrary-variants.test.js --- a/tests/arbitrary-variants.test.js +++ b/tests/arbitrary-variants.test.js @@ -542,6 +542,14 @@ test('classes in arbitrary variants should not be prefixed', () => { <div>should not be red</div> <div class="foo"...
`prefix` option + `modifier` + `arbitrary variant`: extra prefix is generated for classes inside variant `prefix: "tw-",` + `hover:[&.header-is-scrolled_.menu-list_a]:tw-text-[#FF0000]` generates: ```CSS .hover\:\[\&\.header-is-scrolled_\.menu-list_a\]\:tw-text-\[\#FF0000\].tw-header-is-scrolled .tw-menu-list a:hove...
I think I'm having a similar issue with group This is not working: ```html <div class="tw-group is-published"> <div class="tw-hidden group-[.is-published]:block"> Published </div> </div> ``` But found this is working: ```html <div class="tw-group tw-is-published"> <div class="tw-hidden gro...
2023-01-02T20:13:22
3.2
[]
[ "tests/format-variant-selector.test.js", "tests/arbitrary-variants.test.js" ]
TypeScript
[]
[ "https://play.tailwindcss.com/kuo2fGhMiZ" ]
tailwindlabs/tailwindcss
10,276
tailwindlabs__tailwindcss-10276
[ "10266" ]
7b3de616e9c26211c605d2378b9ceb4888a8cfa1
diff --git a/src/corePlugins.js b/src/corePlugins.js --- a/src/corePlugins.js +++ b/src/corePlugins.js @@ -150,9 +150,13 @@ export let variantPlugins = { let variants = { group: (_, { modifier }) => - modifier ? [`:merge(.group\\/${modifier})`, ' &'] : [`:merge(.group)`, ' &'], + modifier + ...
diff --git a/tests/basic-usage.test.js b/tests/basic-usage.test.js --- a/tests/basic-usage.test.js +++ b/tests/basic-usage.test.js @@ -689,3 +689,27 @@ it('Ring color utilities are generated when using respectDefaultRingColorOpacity `) }) }) + +it('should not crash when group names contain special characters',...
Dynamic nested groups names webpack error **What version of Tailwind CSS are you using?** I'm using the latest v3.2.4 **What build tool (or framework if it abstracts the build tool) are you using?** I'm using Next.js (v13.1.1) with Webpack (v5.74.0) **What version of Node.js are you using?** v18.12.1 ...
Hey! You canโ€™t use concatenation or interpolation to create class names, as Tailwind generates all of your styles at build time and needs to be able to statically extract every class youโ€™re using from your templates: https://tailwindcss.com/docs/content-configuration#dynamic-class-names It shouldnโ€™t cause the bui...
2023-01-09T16:08:52
3.2
[]
[ "tests/basic-usage.test.js" ]
TypeScript
[]
[]
tailwindlabs/tailwindcss
10,288
tailwindlabs__tailwindcss-10288
[ "10267" ]
b05918ab75370bfbecb3d556fec8846cbd285f0d
diff --git a/src/lib/offsets.js b/src/lib/offsets.js --- a/src/lib/offsets.js +++ b/src/lib/offsets.js @@ -13,6 +13,7 @@ import { remapBitfield } from './remap-bitfield.js' * @property {function | undefined} sort The sort function * @property {string|null} value The value we want to compare * @property {string|nu...
diff --git a/tests/arbitrary-variants.test.js b/tests/arbitrary-variants.test.js --- a/tests/arbitrary-variants.test.js +++ b/tests/arbitrary-variants.test.js @@ -1158,3 +1158,201 @@ it('Invalid arbitrary variants selectors should produce nothing instead of faili expect(result.css).toMatchFormattedCss(css``) })...
Order of CSS selectors is not correct with v3.2.x in specific scenarios **What version of Tailwind CSS are you using?** v3.2.4 **What build tool (or framework if it abstracts the build tool) are you using?** I use Vite. But I was able to reproduce the bug with `npx tailwindcss -i ./src/style.css -o ./dist/styl...
Thanks for reporting, I was able to distill the reproduction down to this minimal demo on Tailwind Play: https://play.tailwindcss.com/3ujiz5LanM Can see the sorting issue in the "Generated CSS" tab. Will look at this one next week! Thanks for the reporting...
2023-01-10T14:50:56
3.2
[]
[ "tests/arbitrary-variants.test.js" ]
TypeScript
[]
[]
tailwindlabs/tailwindcss
10,400
tailwindlabs__tailwindcss-10400
[ "10353" ]
667eac5e8845e3928055351e747606fa8864603f
diff --git a/src/corePlugins.js b/src/corePlugins.js --- a/src/corePlugins.js +++ b/src/corePlugins.js @@ -168,7 +168,30 @@ export let variantPlugins = { if (!result.includes('&')) result = '&' + result let [a, b] = fn('', extra) - return result.replace(/&(\S+)?/g, (_, pseudo = '') => a...
diff --git a/tests/basic-usage.test.js b/tests/basic-usage.test.js --- a/tests/basic-usage.test.js +++ b/tests/basic-usage.test.js @@ -949,4 +949,66 @@ crosscheck(({ stable, oxide }) => { `) }) }) + + test('detects quoted arbitrary values containing a slash', async () => { + let config = { + con...
double escape happening in attribute value selectors <!-- Please provide all of the information requested below. We're a small team and without all of this information it's not possible for us to help and your bug report will be closed. --> **What version of Tailwind CSS are you using?** v3.2.4 **What build to...
2023-01-23T16:11:12
3.2
[]
[ "tests/basic-usage.test.js" ]
TypeScript
[]
[ "https://play.tailwindcss.com/sRVqoiJfLV" ]
tailwindlabs/tailwindcss
10,601
tailwindlabs__tailwindcss-10601
[ "10582" ]
66c640b73599e36c6087644d3b2c231cc17b37ff
diff --git a/src/lib/generateRules.js b/src/lib/generateRules.js --- a/src/lib/generateRules.js +++ b/src/lib/generateRules.js @@ -3,10 +3,14 @@ import selectorParser from 'postcss-selector-parser' import parseObjectStyles from '../util/parseObjectStyles' import isPlainObject from '../util/isPlainObject' import pref...
diff --git a/tests/important-modifier.test.js b/tests/important-modifier.test.js --- a/tests/important-modifier.test.js +++ b/tests/important-modifier.test.js @@ -108,4 +108,46 @@ crosscheck(() => { `) }) }) + + test('the important modifier works on utilities using :where()', () => { + let config = {...
Using `:where(.anything)` in a plugin and having `!anything` inside HTML, creates invalid CSS <!-- Please provide all of the information requested below. We're a small team and without all of this information it's not possible for us to help and your bug report will be closed. --> **What version of Tailwind CSS are ...
Thanks for reporting! Here's a slightly simplified reproduction for our own reference: https://play.tailwindcss.com/4MqOxcleAv?file=config
2023-02-16T14:48:07
3.2
[]
[ "tests/important-modifier.test.js" ]
TypeScript
[]
[ "https://play.tailwindcss.com/Oy7NHRkftL?file=config" ]
tailwindlabs/tailwindcss
10,604
tailwindlabs__tailwindcss-10604
[ "10591" ]
17159ff6c28b2d9700fa489dddf4d6f8d8d6f376
diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js --- a/stubs/defaultConfig.stub.js +++ b/stubs/defaultConfig.stub.js @@ -879,8 +879,8 @@ module.exports = { none: 'none', all: 'all', DEFAULT: - 'color, background-color, border-color, outline-color, text-decoration-color,...
diff --git a/tests/basic-usage.oxide.test.css b/tests/basic-usage.oxide.test.css --- a/tests/basic-usage.oxide.test.css +++ b/tests/basic-usage.oxide.test.css @@ -1020,8 +1020,8 @@ backdrop-filter: none; } .transition { - transition-property: color, background-color, border-color, outline-color, text-decoration-c...
Input outlines show during transition with Tailwind 3.2.6 ### What version of @tailwindcss/forms are you using? 0.5.3 ### What version of Node.js are you using? 18.13.0 ### What browser are you using? Chrome ### What operating system are you using? Windows ### Reproduction repository https://play.tailwindcss.c...
This issue is also visible on Heroicons in `Search all icons...` input https://heroicons.com/ I too noticed flickering when `focus:outline-none` and `transition` are used at the same time. Laravel Jetstream uses this combination. There are two ways for a temporary fix: - remove `outline-color` from `transition-pr...
2023-02-16T17:20:27
3.2
[]
[ "tests/kitchen-sink.test.js" ]
TypeScript
[]
[ "https://play.tailwindcss.com/irT3FCtMUB" ]
tailwindlabs/tailwindcss
10,903
tailwindlabs__tailwindcss-10903
[ "10899" ]
a785c93b54c770b65364a8c781761dd97ac684d5
diff --git a/src/lib/expandApplyAtRules.js b/src/lib/expandApplyAtRules.js --- a/src/lib/expandApplyAtRules.js +++ b/src/lib/expandApplyAtRules.js @@ -4,6 +4,7 @@ import parser from 'postcss-selector-parser' import { resolveMatches } from './generateRules' import escapeClassName from '../util/escapeClassName' import...
diff --git a/tests/apply.test.js b/tests/apply.test.js --- a/tests/apply.test.js +++ b/tests/apply.test.js @@ -2357,4 +2357,74 @@ crosscheck(({ stable, oxide }) => { `) }) }) + + it('pseudo elements inside apply are moved outside of :is() or :has()', () => { + let config = { + darkMode: 'class',...
after update from 3.2.7 to 3.3.0 pseudo elements `after` and `before` doesn't get `dark: ...` anymore <!-- Please provide all of the information requested below. We're a small team and without all of this information it's not possible for us to help and your bug report will be closed. --> **What version of Tailwind...
Hey, thank you for this bug report! ๐Ÿ™ Can you please provide a minimal reproduction repo that shows the issue? Trying to reproduce it and seems to work as expected: https://play.tailwindcss.com/d5HtkTSI6a > Hey, thank you for this bug report! ๐Ÿ™ > > Can you please provide a minimal reproduction repo that show...
2023-03-29T14:53:21
3.3
[]
[ "tests/important-selector.test.js", "tests/apply.test.js" ]
TypeScript
[]
[]
tailwindlabs/tailwindcss
10,943
tailwindlabs__tailwindcss-10943
[ "10937" ]
d7310491b5cd2c0fe96b398de8bbb6caf2bdee4d
diff --git a/src/util/formatVariantSelector.js b/src/util/formatVariantSelector.js --- a/src/util/formatVariantSelector.js +++ b/src/util/formatVariantSelector.js @@ -337,6 +337,9 @@ let pseudoElementExceptions = [ '::-webkit-scrollbar-track-piece', '::-webkit-scrollbar-corner', '::-webkit-resizer', + + // Ol...
diff --git a/tests/apply.test.js b/tests/apply.test.js --- a/tests/apply.test.js +++ b/tests/apply.test.js @@ -2427,4 +2427,34 @@ crosscheck(({ stable, oxide }) => { `) }) }) + + stable.test('::ng-deep pseudo element is left alone', () => { + let config = { + darkMode: 'class', + content: [...
@apply method is invalid after upgrade to 3.3.1 <!-- Please provide all of the information requested below. We're a small team and without all of this information it's not possible for us to help and your bug report will be closed. --> **What version of Tailwind CSS are you using?** v3.3.1 **What build tool (o...
2023-04-04T16:29:09
3.3
[]
[ "tests/apply.test.js" ]
TypeScript
[ "https://user-images.githubusercontent.com/15225835/229733712-d9d19b15-8461-4113-b2a5-7298d8cb71c4.png", "https://user-images.githubusercontent.com/15225835/229733180-e01260c1-4772-45dd-848c-32ceb7696db1.png" ]
[]
tailwindlabs/tailwindcss
10,962
tailwindlabs__tailwindcss-10962
[ "10960" ]
467a39e0d59a9fdc42deef3a9c7d51c44ace90e8
diff --git a/jest/global-setup.js b/jest/global-setup.js --- a/jest/global-setup.js +++ b/jest/global-setup.js @@ -1,6 +1,9 @@ let { execSync } = require('child_process') +let state = { ran: false } module.exports = function () { + if (state.ran) return execSync('npm run build:rust', { stdio: 'ignore' }) exe...
diff --git a/tests/apply.test.js b/tests/apply.test.js --- a/tests/apply.test.js +++ b/tests/apply.test.js @@ -2428,7 +2428,7 @@ crosscheck(({ stable, oxide }) => { }) }) - stable.test('::ng-deep pseudo element is left alone', () => { + stable.test('::ng-deep, ::deep, ::v-deep pseudo elements are left alone...
3.3.1 not handling pseudo-elements properly **What version of Tailwind CSS are you using?** `3.3.1` **What build tool (or framework if it abstracts the build tool) are you using?** tailwindcss **What version of Node.js are you using?** `v18.14.0` #### Steps to Repro ```bash mkdir repro cd repro...
2023-04-06T12:31:05
3.3
[ "tests/format-variant-selector.test.js" ]
[ "tests/parallel-variants.test.js", "tests/apply.test.js" ]
TypeScript
[]
[]
tailwindlabs/tailwindcss
11,111
tailwindlabs__tailwindcss-11111
[ "11107" ]
18677447063f7d08252a3f34c34d7deb0bcd6995
diff --git a/src/util/pseudoElements.js b/src/util/pseudoElements.js --- a/src/util/pseudoElements.js +++ b/src/util/pseudoElements.js @@ -26,17 +26,17 @@ /** @type {Record<string, PseudoProperty[]>} */ let elementProperties = { '::after': ['terminal', 'jumpable'], - '::backdrop': ['terminal'], + '::backdrop': [...
diff --git a/tests/format-variant-selector.test.js b/tests/format-variant-selector.test.js --- a/tests/format-variant-selector.test.js +++ b/tests/format-variant-selector.test.js @@ -352,6 +352,10 @@ crosscheck(() => { ${'#app :is(:is(.dark &)::before)'} | ${'#app :is(:is(.dark &))::before'}...
Unexpected behavior of pseudo-elements such as marker **What version of Tailwind CSS are you using?** For example: v3.3.2 **What build tool (or framework if it abstracts the build tool) are you using?** vite 4.3.3, vue 3.2.47, postcss 8.4.23 **What version of Node.js are you using?** v20.0.0 **What br...
Hey, thank you for this bug report! ๐Ÿ™ If you swap the variants around then it behaves as expected: https://play.tailwindcss.com/u1trU3XrlL however I do think we regressed on this. --- @thecrypticace Pinging you because I know you worked on this recently to fix other bugs. We can also pair on this later today...
2023-04-27T13:34:47
3.3
[]
[ "tests/format-variant-selector.test.js" ]
TypeScript
[ "https://user-images.githubusercontent.com/36815907/234824052-0245f5dc-5045-4a89-b241-a21edf9218e5.png", "https://user-images.githubusercontent.com/36815907/234824207-9d53f56f-edb1-4898-816d-162b81f4fc1a.png" ]
[ "https://play.tailwindcss.com/3SbW3c1AhG](https://play.tailwindcss.com/3SbW3c1AhG", "https://play.tailwindcss.com/1nJxOORQv7](https://play.tailwindcss.com/1nJxOORQv7" ]
tailwindlabs/tailwindcss
11,157
tailwindlabs__tailwindcss-11157
[ "11027" ]
cdca9cbcfe331b54ca4df80bc720f8cd78e303a0
diff --git a/src/lib/evaluateTailwindFunctions.js b/src/lib/evaluateTailwindFunctions.js --- a/src/lib/evaluateTailwindFunctions.js +++ b/src/lib/evaluateTailwindFunctions.js @@ -1,7 +1,7 @@ import dlv from 'dlv' import didYouMean from 'didyoumean' import transformThemeValue from '../util/transformThemeValue' -impor...
diff --git a/tests/evaluateTailwindFunctions.test.js b/tests/evaluateTailwindFunctions.test.js --- a/tests/evaluateTailwindFunctions.test.js +++ b/tests/evaluateTailwindFunctions.test.js @@ -1383,5 +1383,36 @@ crosscheck(({ stable, oxide }) => { // 4. But we've not received any further logs about it expec...
Incorrect parsing of theme functions within calc operations without spaces <!-- Please provide all of the information requested below. We're a small team and without all of this information it's not possible for us to help and your bug report will be closed. --> **What version of Tailwind CSS are you using?** v3....
2023-05-04T13:50:14
3.3
[ "tests/source-maps.test.js" ]
[ "tests/evaluateTailwindFunctions.test.js" ]
TypeScript
[]
[ "https://play.tailwindcss.com/", "https://play.tailwindcss.com/sQrIVhIaM7?file=css" ]
tailwindlabs/tailwindcss
11,345
tailwindlabs__tailwindcss-11345
[ "11331" ]
eb8d9294c51c05713b93eb7478993b76be9d1bab
diff --git a/src/util/pseudoElements.js b/src/util/pseudoElements.js --- a/src/util/pseudoElements.js +++ b/src/util/pseudoElements.js @@ -19,12 +19,13 @@ // **Jumpable** // Any terminal element may "jump" over combinators when moving to the end of the selector // -// This is a backwards-compat quirk of :before and ...
diff --git a/tests/util/apply-important-selector.test.js b/tests/util/apply-important-selector.test.js --- a/tests/util/apply-important-selector.test.js +++ b/tests/util/apply-important-selector.test.js @@ -16,6 +16,10 @@ it.each` ${':is(.foo) :is(.bar)'} | ${'#app :is(:is(.foo) :is(.bar))'} ...
Some arbitrary pseudo-elements are moved inside `:is()` when using `important` config option, breaking the selector <blockquote><details><summary><b>Tailwind CSS/browser/device version information</b></summary></br > **What version of Tailwind CSS are you using?** v3.3.2 **What build tool (or framework if it a...
I meet the same problem..Even using the @csstools/postcss-is-pseudo-class plugin can't convert successfully invalid:is()
2023-06-02T18:11:03
3.3
[]
[ "tests/util/apply-important-selector.test.js" ]
TypeScript
[]
[ "https://play.tailwindcss.com/gVUTg4DLNK", "https://play.tailwindcss.com/yOqpv2N25J" ]
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
76