tailwindcss/src/plugins
Robin Malfait bfc61625d9
[WIP] Unify JIT and AOT code paths (#4188)
* WIP

* WIP

* Finish combining JIT and AOT plugins

Still lots of clean up that can be done in some of the more complex ones, but at least it's one file per plugin now.

* Remove unused import

* Fix AOT generation bugs

* Move corePlugins/index.js to corePlugins.js

* Convert JIT files to ESM

* Move tests

* Reorder core plugins to match JIT order

* Update AOT apply tests

* Unify utils

* Combine plugin lists to one single source of truth

* Finish resolving merge conflicts, fix tests

Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2021-04-30 10:58:40 -04:00
..
css Fix typo in preflight.css 2021-02-09 18:40:15 +03:00
accessibility.js Update prettier 2020-10-16 13:30:06 -04:00
alignContent.js Update prettier 2020-10-16 13:30:06 -04:00
alignItems.js Update prettier 2020-10-16 13:30:06 -04:00
alignSelf.js Update prettier 2020-10-16 13:30:06 -04:00
animation.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
appearance.js Update prettier 2020-10-16 13:30:06 -04:00
backdropBlur.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
backdropBrightness.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
backdropContrast.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
backdropFilter.js Add CSS filter support (#3923) 2021-04-04 19:09:34 -04:00
backdropGrayscale.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
backdropHueRotate.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
backdropInvert.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
backdropOpacity.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
backdropSaturate.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
backdropSepia.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
backgroundAttachment.js Update prettier 2020-10-16 13:30:06 -04:00
backgroundBlendMode.js Add mix-blend-mode and background-blend-mode utilities (#3920) 2021-04-04 06:50:05 -04:00
backgroundClip.js Update prettier 2020-10-16 13:30:06 -04:00
backgroundColor.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
backgroundImage.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
backgroundOpacity.js Cleanup custom properties (#2771) 2020-11-16 11:45:55 -05:00
backgroundOrigin.js Add background-origin utilities (#4117) 2021-04-23 14:27:29 -04:00
backgroundPosition.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
backgroundRepeat.js Update prettier 2020-10-16 13:30:06 -04:00
backgroundSize.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
blur.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
borderCollapse.js Update prettier 2020-10-16 13:30:06 -04:00
borderColor.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
borderOpacity.js Cleanup custom properties (#2771) 2020-11-16 11:45:55 -05:00
borderRadius.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
borderStyle.js Update prettier 2020-10-16 13:30:06 -04:00
borderWidth.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
boxDecorationBreak.js Add box-decoration-break utilities (#3911) 2021-04-02 16:04:52 -04:00
boxShadow.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
boxSizing.js Update prettier 2020-10-16 13:30:06 -04:00
brightness.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
clear.js Update prettier 2020-10-16 13:30:06 -04:00
container.js Prettier likes parens a lot now 2020-10-16 15:39:44 -04:00
contrast.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
cursor.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
display.js Add list-item display utility (#3929) 2021-04-04 06:53:41 -04:00
divideColor.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
divideOpacity.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
divideStyle.js Use [hidden] instead of template in space/divide utilities 2020-10-21 16:01:49 -04:00
divideWidth.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
dropShadow.js Add CSS filter support (#3923) 2021-04-04 19:09:34 -04:00
fill.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
filter.js Add CSS filter support (#3923) 2021-04-04 19:09:34 -04:00
flex.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
flexDirection.js Update prettier 2020-10-16 13:30:06 -04:00
flexGrow.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
flexShrink.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
flexWrap.js Rename flex-no-wrap to flex-nowrap (#2676) 2020-10-27 10:55:19 -04:00
float.js Remove clearfix utility (#2766) 2020-11-13 22:25:23 -05:00
fontFamily.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
fontSize.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
fontSmoothing.js Update prettier 2020-10-16 13:30:06 -04:00
fontStyle.js Update prettier 2020-10-16 13:30:06 -04:00
fontVariantNumeric.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
fontWeight.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
gap.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
gradientColorStops.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
grayscale.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
gridAutoColumns.js Update prettier 2020-10-16 13:30:06 -04:00
gridAutoFlow.js Update prettier 2020-10-16 13:30:06 -04:00
gridAutoRows.js Update prettier 2020-10-16 13:30:06 -04:00
gridColumn.js Update prettier 2020-10-16 13:30:06 -04:00
gridColumnEnd.js Update prettier 2020-10-16 13:30:06 -04:00
gridColumnStart.js Update prettier 2020-10-16 13:30:06 -04:00
gridRow.js Update prettier 2020-10-16 13:30:06 -04:00
gridRowEnd.js Update prettier 2020-10-16 13:30:06 -04:00
gridRowStart.js Update prettier 2020-10-16 13:30:06 -04:00
gridTemplateColumns.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
gridTemplateRows.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
height.js Update prettier 2020-10-16 13:30:06 -04:00
hueRotate.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
index.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
inset.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
invert.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
isolation.js Add isolation utilities (#3914) 2021-04-02 16:32:25 -04:00
justifyContent.js Update prettier 2020-10-16 13:30:06 -04:00
justifyItems.js Remove justify-auto and place-items-auto 2021-04-03 06:41:44 -04:00
justifySelf.js Update prettier 2020-10-16 13:30:06 -04:00
letterSpacing.js Update prettier 2020-10-16 13:30:06 -04:00
lineHeight.js Update prettier 2020-10-16 13:30:06 -04:00
listStylePosition.js Update prettier 2020-10-16 13:30:06 -04:00
listStyleType.js Update prettier 2020-10-16 13:30:06 -04:00
margin.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
maxHeight.js Update prettier 2020-10-16 13:30:06 -04:00
maxWidth.js Update prettier 2020-10-16 13:30:06 -04:00
minHeight.js Update prettier 2020-10-16 13:30:06 -04:00
minWidth.js Update prettier 2020-10-16 13:30:06 -04:00
mixBlendMode.js Add mix-blend-mode and background-blend-mode utilities (#3920) 2021-04-04 06:50:05 -04:00
objectFit.js Update prettier 2020-10-16 13:30:06 -04:00
objectPosition.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
opacity.js Update prettier 2020-10-16 13:30:06 -04:00
order.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
outline.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
overflow.js Update prettier 2020-10-16 13:30:06 -04:00
overscrollBehavior.js Update prettier 2020-10-16 13:30:06 -04:00
padding.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
placeContent.js Update prettier 2020-10-16 13:30:06 -04:00
placeholderColor.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
placeholderOpacity.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
placeItems.js Remove justify-auto and place-items-auto 2021-04-03 06:41:44 -04:00
placeSelf.js Update prettier 2020-10-16 13:30:06 -04:00
pointerEvents.js Update prettier 2020-10-16 13:30:06 -04:00
position.js Update prettier 2020-10-16 13:30:06 -04:00
preflight.js add version and license (#3255) 2021-01-29 15:03:15 -05:00
resize.js Update prettier 2020-10-16 13:30:06 -04:00
ringColor.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
ringOffsetColor.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
ringOffsetWidth.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
ringOpacity.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
ringWidth.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
rotate.js Cleanup custom properties (#2771) 2020-11-16 11:45:55 -05:00
saturate.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
scale.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
sepia.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
skew.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
space.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
stroke.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
strokeWidth.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
tableLayout.js Update prettier 2020-10-16 13:30:06 -04:00
textAlign.js Update prettier 2020-10-16 13:30:06 -04:00
textColor.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
textDecoration.js Update prettier 2020-10-16 13:30:06 -04:00
textOpacity.js Cleanup custom properties (#2771) 2020-11-16 11:45:55 -05:00
textOverflow.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
textTransform.js Update prettier 2020-10-16 13:30:06 -04:00
transform.js Cleanup custom properties (#2771) 2020-11-16 11:45:55 -05:00
transformOrigin.js Update prettier 2020-10-16 13:30:06 -04:00
transitionDelay.js Update prettier 2020-10-16 13:30:06 -04:00
transitionDuration.js Add support for default duration and timing function to transition property utilities (#2755) 2020-11-11 08:27:09 -05:00
transitionProperty.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
transitionTimingFunction.js Add support for default duration and timing function to transition property utilities (#2755) 2020-11-11 08:27:09 -05:00
translate.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00
userSelect.js Update prettier 2020-10-16 13:30:06 -04:00
verticalAlign.js Update prettier 2020-10-16 13:30:06 -04:00
visibility.js Update prettier 2020-10-16 13:30:06 -04:00
whitespace.js Rename whitespace-no-wrap to whitespace-nowrap (#2664) 2020-10-23 15:12:42 -04:00
width.js Update prettier 2020-10-16 13:30:06 -04:00
wordBreak.js Move truncate to textOverflow plugin 2020-10-18 15:43:50 -04:00
zIndex.js Update prettier 2020-10-16 13:30:06 -04:00