tailwindcss/src/lib
Robin Malfait bda84210d6
Only detect nesting when using @apply (#13325)
* drop nesting detection for `@tailwind`

* drop separate nesting detection entirely

* detect nesting only when using `@apply` with a class that uses nesting

* drop unnecessary `important` config

* add test to verify applying nested user CSS errors

* add error reason to tests

* update `@apply` error message
2024-03-23 19:10:51 -04:00
..
cacheInvalidation.js Invalidate context when main css changes (#7626) 2022-02-25 13:12:45 -05:00
collapseAdjacentRules.js Handle duplicate atrules without children (#8122) 2022-04-15 12:24:27 -04:00
collapseDuplicateDeclarations.js Improve collapsing of duplicate declarations (#6856) 2022-01-03 15:41:49 +01:00
content.js Improve glob handling for folders with (, ), [ or ] in the file path (#12715) 2024-02-23 16:35:49 -05:00
defaultExtractor.js Ensure dashes are allowed in variant modifiers (#13303) 2024-03-21 15:25:28 +01:00
evaluateTailwindFunctions.js Fix parsing of theme() inside calc() when there are no spaces around operators (#11157) 2023-07-13 11:48:34 -04:00
expandApplyAtRules.js Only detect nesting when using @apply (#13325) 2024-03-23 19:10:51 -04:00
expandTailwindAtRules.js Cleanup oxide — Part #2 (#13312) 2024-03-22 17:12:14 +01:00
findAtConfigPath.js Improve warning messages (#9608) 2022-10-19 18:35:42 +02:00
generateRules.js Sort arbitrary properties alphabetically across multiple class lists (#12911) 2024-02-13 14:17:23 -05:00
getModuleDependencies.js Fix format assumption when resolving module dependencies (#10878) 2023-03-27 19:41:20 +02:00
load-config.ts Transpile import.meta.url in config files (#13322) 2024-03-22 12:45:19 -04:00
normalizeTailwindDirectives.js Improve various warnings (#7118) 2022-01-19 15:09:13 -05:00
offsets.js Sort arbitrary properties alphabetically across multiple class lists (#12911) 2024-02-13 14:17:23 -05:00
partitionApplyAtRules.js Fix consecutive builds with at apply producing different CSS (#6999) 2022-01-10 12:36:14 -05:00
regex.js Rewrite default class extractor (#8204) 2022-05-04 16:08:25 -04:00
remap-bitfield.js Sort arbitrary variants deterministically regardless of content order (#10016) 2022-12-08 09:05:46 -05:00
resolveDefaultsAtRules.js Split :has rules when using experimental.optimizeUniversalDefaults (#12736) 2024-01-09 15:10:58 -05:00
setupContextUtils.js Fix crash showing completions in Intellisense when using a custom separator (#13306) 2024-03-21 19:38:17 -04:00
setupTrackingContext.js Don’t error when a config file is missing 2023-07-13 11:50:43 -04:00
sharedState.js Cleanup oxide — Part #2 (#13312) 2024-03-22 17:12:14 +01:00
substituteScreenAtRules.js Add tuple syntax to guarantee screens order (#6104) 2021-11-16 18:01:06 +01:00