tailwindcss/src/util
Robin Malfait 6b82ca89bc
Fix modifiers for arbitrary values (#6199)
* fix modifiers for arbitrary properties

The main issue was that we are splitting on the separator and popping
the last section of to know the _base_ utility. However, in this case it
would be something like `markers]` which is incorrect.

Instead we only split by the separator and ignore the separtor if it
exists between square brackets.

* add tests for modifiers + arbitrary values that contain the separator
2021-11-25 15:07:43 +01:00
..
bigSign.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
buildMediaQuery.js Add tuple syntax to guarantee screens order (#6104) 2021-11-16 18:01:06 +01:00
cloneDeep.js Remove lodash (#5390) 2021-09-06 14:15:10 -04:00
cloneNodes.js JIT: Assign source to nodes inserted into @tailwind directives 2021-05-24 15:08:38 -04:00
color.js Update color parsing and formatting (#5442) 2021-09-09 16:15:53 +02:00
configurePlugins.js Make it possible to enable caretColor and content core plugins in AOT mode (#4548) 2021-06-03 15:27:22 +02:00
createPlugin.js ensure options for plugins are not stale between builds (#2695) 2020-10-28 13:46:12 -04:00
createUtilityPlugin.js Make negative values a first-class feature, rather than theme-driven (#5709) 2021-10-06 13:42:05 -04:00
dataTypes.js Add support for colored box shadows (#5979) 2021-11-04 10:14:13 -04:00
defaults.js Remove lodash (#5390) 2021-09-06 14:15:10 -04:00
escapeClassName.js Remove lodash (#5390) 2021-09-06 14:15:10 -04:00
escapeCommas.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
flattenColorPalette.js Remove AOT (#5340) 2021-09-01 17:13:59 +02:00
formatVariantSelector.js Fix modifiers for arbitrary values (#6199) 2021-11-25 15:07:43 +01:00
getAllConfigs.js Refactor util functions (#2616) 2021-05-10 11:22:47 -04:00
hashConfig.js Ignore unknown types when hashing config 2021-05-06 13:16:32 -04:00
isKeyframeRule.js Fix malformed keyframes when using class variants (#5223) 2021-08-16 12:25:30 -04:00
isPlainObject.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
isValidArbitraryValue.js Add support for arbitrary properties (#6161) 2021-11-22 12:38:37 -05:00
log.js Implement one-time logging to prevent duplicate warnings (#5661) 2021-09-30 21:16:01 -04:00
nameClass.js Add support for arbitrary properties (#6161) 2021-11-22 12:38:37 -05:00
negateValue.js Make negative values a first-class feature, rather than theme-driven (#5709) 2021-10-06 13:42:05 -04:00
normalizeConfig.js Remove prefix as a function (#5829) 2021-10-19 15:22:49 +02:00
normalizeScreens.js Add tuple syntax to guarantee screens order (#6104) 2021-11-16 18:01:06 +01:00
parseAnimationValue.js ensure we don't override the name (#5602) 2021-09-26 07:44:41 -04:00
parseBoxShadowValue.js Add support for colored box shadows (#5979) 2021-11-04 10:14:13 -04:00
parseDependency.js Fix using negated content globs (#5625) 2021-09-29 11:15:31 +01:00
parseObjectStyles.js Remove lodash (#5390) 2021-09-06 14:15:10 -04:00
pluginUtils.js Add support for colored box shadows (#5979) 2021-11-04 10:14:13 -04:00
prefixSelector.js Remove prefix as a function (#5829) 2021-10-19 15:22:49 +02:00
resolveConfig.js Make negative values a first-class feature, rather than theme-driven (#5709) 2021-10-06 13:42:05 -04:00
resolveConfigPath.js Remove log 2021-05-29 14:48:10 -04:00
responsive.js Replaces use of Lodash isArray with built-in Array.isArray 2019-07-13 16:52:07 +02:00
tap.js Remove lodash (#5390) 2021-09-06 14:15:10 -04:00
toColorValue.js Remove lodash (#5390) 2021-09-06 14:15:10 -04:00
toPath.js Remove lodash (#5390) 2021-09-06 14:15:10 -04:00
transformThemeValue.js Handle color transformations properly with theme(...) for all relevant plugins (#5871) 2021-10-25 12:17:14 +02:00
withAlphaVariable.js Add border-x-{width}, border-y-{width}, border-x-{color} and border-y-{color} utilities (#5639) 2021-09-29 10:32:31 -04:00