tailwindcss
Advanced tools
Comparing version 3.3.6 to 3.4.1
@@ -35,2 +35,3 @@ "use strict"; | ||
"aspectRatio", | ||
"size", | ||
"height", | ||
@@ -102,2 +103,3 @@ "maxHeight", | ||
"whitespace", | ||
"textWrap", | ||
"wordBreak", | ||
@@ -188,3 +190,4 @@ "borderRadius", | ||
"willChange", | ||
"content" | ||
"content", | ||
"forcedColorAdjust" | ||
]; |
@@ -83,3 +83,7 @@ "use strict"; | ||
// Utility Name / Group Name | ||
/-?(?:\w+)/, | ||
_regex.any([ | ||
/-?(?:\w+)/, | ||
// This is here to make sure @container supports everything that other utilities do | ||
/@(?:\w+)/ | ||
]), | ||
// Normal/Arbitrary values | ||
@@ -86,0 +90,0 @@ _regex.optional(_regex.any([ |
@@ -165,2 +165,5 @@ "use strict"; | ||
let result = []; | ||
function isInKeyframes(rule) { | ||
return rule.parent && rule.parent.type === "atrule" && rule.parent.name === "keyframes"; | ||
} | ||
for (let [meta, rule] of matches){ | ||
@@ -173,2 +176,7 @@ let container = _postcss.default.root({ | ||
container.walkRules((r)=>{ | ||
// Declarations inside keyframes cannot be marked as important | ||
// They will be ignored by the browser | ||
if (isInKeyframes(r)) { | ||
return; | ||
} | ||
let ast = (0, _postcssselectorparser.default)().astSync(r.selector); | ||
@@ -175,0 +183,0 @@ // Remove extraneous selectors that do not include the base candidate |
@@ -28,3 +28,3 @@ "use strict"; | ||
function useCustomJiti(_jiti) { | ||
jiti = _jiti; | ||
jiti = _jiti(); | ||
} | ||
@@ -31,0 +31,0 @@ function lazyJiti() { |
@@ -754,4 +754,6 @@ "use strict"; | ||
let beforeVariants = [ | ||
_corePlugins.variantPlugins["childVariant"], | ||
_corePlugins.variantPlugins["pseudoElementVariants"], | ||
_corePlugins.variantPlugins["pseudoClassVariants"], | ||
_corePlugins.variantPlugins["hasVariants"], | ||
_corePlugins.variantPlugins["ariaVariants"], | ||
@@ -762,10 +764,27 @@ _corePlugins.variantPlugins["dataVariants"] | ||
_corePlugins.variantPlugins["supportsVariants"], | ||
_corePlugins.variantPlugins["directionVariants"], | ||
_corePlugins.variantPlugins["reducedMotionVariants"], | ||
_corePlugins.variantPlugins["prefersContrastVariants"], | ||
_corePlugins.variantPlugins["screenVariants"], | ||
_corePlugins.variantPlugins["orientationVariants"], | ||
_corePlugins.variantPlugins["directionVariants"], | ||
_corePlugins.variantPlugins["darkVariants"], | ||
_corePlugins.variantPlugins["printVariant"], | ||
_corePlugins.variantPlugins["screenVariants"], | ||
_corePlugins.variantPlugins["orientationVariants"] | ||
_corePlugins.variantPlugins["forcedColorsVariants"], | ||
_corePlugins.variantPlugins["printVariant"] | ||
]; | ||
// This is a compatibility fix for the pre 3.4 dark mode behavior | ||
// `class` retains the old behavior, but `selector` keeps the new behavior | ||
let isLegacyDarkMode = context.tailwindConfig.darkMode === "class" || Array.isArray(context.tailwindConfig.darkMode) && context.tailwindConfig.darkMode[0] === "class"; | ||
if (isLegacyDarkMode) { | ||
afterVariants = [ | ||
_corePlugins.variantPlugins["supportsVariants"], | ||
_corePlugins.variantPlugins["reducedMotionVariants"], | ||
_corePlugins.variantPlugins["prefersContrastVariants"], | ||
_corePlugins.variantPlugins["darkVariants"], | ||
_corePlugins.variantPlugins["screenVariants"], | ||
_corePlugins.variantPlugins["orientationVariants"], | ||
_corePlugins.variantPlugins["directionVariants"], | ||
_corePlugins.variantPlugins["forcedColorsVariants"], | ||
_corePlugins.variantPlugins["printVariant"] | ||
]; | ||
} | ||
return [ | ||
@@ -772,0 +791,0 @@ ...corePluginList, |
@@ -143,3 +143,9 @@ "use strict"; | ||
"keyboard-inset-width", | ||
"keyboard-inset-height" | ||
"keyboard-inset-height", | ||
"radial-gradient", | ||
"linear-gradient", | ||
"conic-gradient", | ||
"repeating-radial-gradient", | ||
"repeating-linear-gradient", | ||
"repeating-conic-gradient" | ||
]; | ||
@@ -190,2 +196,6 @@ return value.replace(/(calc|min|max|clamp)\(.+\)/g, (match)=>{ | ||
]); | ||
} else if (peek("[")) { | ||
result += consumeUntil([ | ||
"]" | ||
]); | ||
} else if ([ | ||
@@ -192,0 +202,0 @@ "+", |
@@ -117,2 +117,5 @@ /** @typedef {import('postcss-selector-parser').Root} Root */ /** @typedef {import('postcss-selector-parser').Selector} Selector */ /** @typedef {import('postcss-selector-parser').Pseudo} Pseudo */ /** @typedef {import('postcss-selector-parser').Node} Node */ // There are some pseudo-elements that may or may not be: | ||
], | ||
":where": [], | ||
":is": [], | ||
":has": [], | ||
// The default value is used when the pseudo-element is not recognized | ||
@@ -119,0 +122,0 @@ // Because it's not recognized, we don't know if it's terminal or not |
{ | ||
"name": "tailwindcss", | ||
"version": "3.3.6", | ||
"version": "3.4.1", | ||
"description": "A utility-first CSS framework for rapidly building custom user interfaces.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -1,1 +0,1 @@ | ||
export default ["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","content"] | ||
export default ["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","size","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","textWrap","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","content","forcedColorAdjust"] |
@@ -43,4 +43,9 @@ import * as regex from './regex' | ||
// Utility Name / Group Name | ||
/-?(?:\w+)/, | ||
regex.any([ | ||
/-?(?:\w+)/, | ||
// This is here to make sure @container supports everything that other utilities do | ||
/@(?:\w+)/, | ||
]), | ||
// Normal/Arbitrary values | ||
@@ -47,0 +52,0 @@ regex.optional( |
@@ -122,2 +122,6 @@ import postcss from 'postcss' | ||
function isInKeyframes(rule) { | ||
return rule.parent && rule.parent.type === 'atrule' && rule.parent.name === 'keyframes' | ||
} | ||
for (let [meta, rule] of matches) { | ||
@@ -127,2 +131,8 @@ let container = postcss.root({ nodes: [rule.clone()] }) | ||
container.walkRules((r) => { | ||
// Declarations inside keyframes cannot be marked as important | ||
// They will be ignored by the browser | ||
if (isInKeyframes(r)) { | ||
return | ||
} | ||
let ast = selectorParser().astSync(r.selector) | ||
@@ -129,0 +139,0 @@ |
@@ -11,4 +11,4 @@ import jitiFactory from 'jiti' | ||
// If you rely on this your stuff WILL break | ||
export function useCustomJiti(_jiti: ReturnType<typeof jitiFactory>) { | ||
jiti = _jiti | ||
export function useCustomJiti(_jiti: () => ReturnType<typeof jitiFactory>) { | ||
jiti = _jiti() | ||
} | ||
@@ -15,0 +15,0 @@ |
@@ -759,4 +759,6 @@ import fs from 'fs' | ||
let beforeVariants = [ | ||
variantPlugins['childVariant'], | ||
variantPlugins['pseudoElementVariants'], | ||
variantPlugins['pseudoClassVariants'], | ||
variantPlugins['hasVariants'], | ||
variantPlugins['ariaVariants'], | ||
@@ -767,11 +769,33 @@ variantPlugins['dataVariants'], | ||
variantPlugins['supportsVariants'], | ||
variantPlugins['directionVariants'], | ||
variantPlugins['reducedMotionVariants'], | ||
variantPlugins['prefersContrastVariants'], | ||
variantPlugins['screenVariants'], | ||
variantPlugins['orientationVariants'], | ||
variantPlugins['directionVariants'], | ||
variantPlugins['darkVariants'], | ||
variantPlugins['forcedColorsVariants'], | ||
variantPlugins['printVariant'], | ||
variantPlugins['screenVariants'], | ||
variantPlugins['orientationVariants'], | ||
] | ||
// This is a compatibility fix for the pre 3.4 dark mode behavior | ||
// `class` retains the old behavior, but `selector` keeps the new behavior | ||
let isLegacyDarkMode = | ||
context.tailwindConfig.darkMode === 'class' || | ||
(Array.isArray(context.tailwindConfig.darkMode) && | ||
context.tailwindConfig.darkMode[0] === 'class') | ||
if (isLegacyDarkMode) { | ||
afterVariants = [ | ||
variantPlugins['supportsVariants'], | ||
variantPlugins['reducedMotionVariants'], | ||
variantPlugins['prefersContrastVariants'], | ||
variantPlugins['darkVariants'], | ||
variantPlugins['screenVariants'], | ||
variantPlugins['orientationVariants'], | ||
variantPlugins['directionVariants'], | ||
variantPlugins['forcedColorsVariants'], | ||
variantPlugins['printVariant'], | ||
] | ||
} | ||
return [...corePluginList, ...beforeVariants, ...userPlugins, ...afterVariants, ...layerPlugins] | ||
@@ -778,0 +802,0 @@ } |
@@ -109,2 +109,9 @@ import { parseColor } from './color' | ||
'keyboard-inset-height', | ||
'radial-gradient', | ||
'linear-gradient', | ||
'conic-gradient', | ||
'repeating-radial-gradient', | ||
'repeating-linear-gradient', | ||
'repeating-conic-gradient', | ||
] | ||
@@ -165,2 +172,7 @@ | ||
// Don't break CSS grid track names | ||
else if (peek('[')) { | ||
result += consumeUntil([']']) | ||
} | ||
// Handle operators | ||
@@ -167,0 +179,0 @@ else if ( |
@@ -63,2 +63,6 @@ /** @typedef {import('postcss-selector-parser').Root} Root */ | ||
':where': [], | ||
':is': [], | ||
':has': [], | ||
// The default value is used when the pseudo-element is not recognized | ||
@@ -65,0 +69,0 @@ // Because it's not recognized, we don't know if it's terminal or not |
@@ -306,9 +306,2 @@ module.exports = { | ||
'system-ui', | ||
'-apple-system', | ||
'BlinkMacSystemFont', | ||
'"Segoe UI"', | ||
'Roboto', | ||
'"Helvetica Neue"', | ||
'Arial', | ||
'"Noto Sans"', | ||
'sans-serif', | ||
@@ -455,2 +448,8 @@ '"Apple Color Emoji"', | ||
'span-6': 'span 6 / span 6', | ||
'span-7': 'span 7 / span 7', | ||
'span-8': 'span 8 / span 8', | ||
'span-9': 'span 9 / span 9', | ||
'span-10': 'span 10 / span 10', | ||
'span-11': 'span 11 / span 11', | ||
'span-12': 'span 12 / span 12', | ||
'span-full': '1 / -1', | ||
@@ -467,2 +466,8 @@ }, | ||
7: '7', | ||
8: '8', | ||
9: '9', | ||
10: '10', | ||
11: '11', | ||
12: '12', | ||
13: '13', | ||
}, | ||
@@ -478,5 +483,12 @@ gridRowStart: { | ||
7: '7', | ||
8: '8', | ||
9: '9', | ||
10: '10', | ||
11: '11', | ||
12: '12', | ||
13: '13', | ||
}, | ||
gridTemplateColumns: { | ||
none: 'none', | ||
subgrid: 'subgrid', | ||
1: 'repeat(1, minmax(0, 1fr))', | ||
@@ -497,2 +509,3 @@ 2: 'repeat(2, minmax(0, 1fr))', | ||
none: 'none', | ||
subgrid: 'subgrid', | ||
1: 'repeat(1, minmax(0, 1fr))', | ||
@@ -504,2 +517,8 @@ 2: 'repeat(2, minmax(0, 1fr))', | ||
6: 'repeat(6, minmax(0, 1fr))', | ||
7: 'repeat(7, minmax(0, 1fr))', | ||
8: 'repeat(8, minmax(0, 1fr))', | ||
9: 'repeat(9, minmax(0, 1fr))', | ||
10: 'repeat(10, minmax(0, 1fr))', | ||
11: 'repeat(11, minmax(0, 1fr))', | ||
12: 'repeat(12, minmax(0, 1fr))', | ||
}, | ||
@@ -526,2 +545,5 @@ height: ({ theme }) => ({ | ||
screen: '100vh', | ||
svh: '100svh', | ||
lvh: '100lvh', | ||
dvh: '100dvh', | ||
min: 'min-content', | ||
@@ -631,2 +653,5 @@ max: 'max-content', | ||
screen: '100vh', | ||
svh: '100svh', | ||
lvh: '100lvh', | ||
dvh: '100dvh', | ||
min: 'min-content', | ||
@@ -637,4 +662,4 @@ max: 'max-content', | ||
maxWidth: ({ theme, breakpoints }) => ({ | ||
...theme('spacing'), | ||
none: 'none', | ||
0: '0rem', | ||
xs: '20rem', | ||
@@ -658,12 +683,15 @@ sm: '24rem', | ||
}), | ||
minHeight: { | ||
0: '0px', | ||
minHeight: ({ theme }) => ({ | ||
...theme('spacing'), | ||
full: '100%', | ||
screen: '100vh', | ||
svh: '100svh', | ||
lvh: '100lvh', | ||
dvh: '100dvh', | ||
min: 'min-content', | ||
max: 'max-content', | ||
fit: 'fit-content', | ||
}, | ||
minWidth: { | ||
0: '0px', | ||
}), | ||
minWidth: ({ theme }) => ({ | ||
...theme('spacing'), | ||
full: '100%', | ||
@@ -673,3 +701,3 @@ min: 'min-content', | ||
fit: 'fit-content', | ||
}, | ||
}), | ||
objectPosition: { | ||
@@ -690,11 +718,17 @@ bottom: 'bottom', | ||
10: '0.1', | ||
15: '0.15', | ||
20: '0.2', | ||
25: '0.25', | ||
30: '0.3', | ||
35: '0.35', | ||
40: '0.4', | ||
45: '0.45', | ||
50: '0.5', | ||
55: '0.55', | ||
60: '0.6', | ||
65: '0.65', | ||
70: '0.7', | ||
75: '0.75', | ||
80: '0.8', | ||
85: '0.85', | ||
90: '0.9', | ||
@@ -951,2 +985,36 @@ 95: '0.95', | ||
}), | ||
size: ({ theme }) => ({ | ||
auto: 'auto', | ||
...theme('spacing'), | ||
'1/2': '50%', | ||
'1/3': '33.333333%', | ||
'2/3': '66.666667%', | ||
'1/4': '25%', | ||
'2/4': '50%', | ||
'3/4': '75%', | ||
'1/5': '20%', | ||
'2/5': '40%', | ||
'3/5': '60%', | ||
'4/5': '80%', | ||
'1/6': '16.666667%', | ||
'2/6': '33.333333%', | ||
'3/6': '50%', | ||
'4/6': '66.666667%', | ||
'5/6': '83.333333%', | ||
'1/12': '8.333333%', | ||
'2/12': '16.666667%', | ||
'3/12': '25%', | ||
'4/12': '33.333333%', | ||
'5/12': '41.666667%', | ||
'6/12': '50%', | ||
'7/12': '58.333333%', | ||
'8/12': '66.666667%', | ||
'9/12': '75%', | ||
'10/12': '83.333333%', | ||
'11/12': '91.666667%', | ||
full: '100%', | ||
min: 'min-content', | ||
max: 'max-content', | ||
fit: 'fit-content', | ||
}), | ||
width: ({ theme }) => ({ | ||
@@ -983,2 +1051,5 @@ auto: 'auto', | ||
screen: '100vw', | ||
svw: '100svw', | ||
lvw: '100lvw', | ||
dvw: '100dvw', | ||
min: 'min-content', | ||
@@ -985,0 +1056,0 @@ max: 'max-content', |
@@ -77,2 +77,9 @@ import type { CorePluginList } from './generated/corePluginList' | ||
| ['class', string] | ||
// Use the `selector` strategy — same as `class` but uses `:where()` for more predicable behavior | ||
| 'selector' | ||
// Use the `selector` strategy with a custom selector instead of `.dark`. | ||
| ['selector', string] | ||
// Use the `variant` strategy, which allows you to completely customize the selector | ||
// It takes a string or an array of strings, which are passed directly to `addVariant()` | ||
| ['variant', string | string[]] | ||
@@ -79,0 +86,0 @@ type Screen = { raw: string } | { min: string } | { max: string } | { min: string; max: string } |
@@ -1,1 +0,1 @@ | ||
export type CorePluginList = 'preflight' | 'container' | 'accessibility' | 'pointerEvents' | 'visibility' | 'position' | 'inset' | 'isolation' | 'zIndex' | 'order' | 'gridColumn' | 'gridColumnStart' | 'gridColumnEnd' | 'gridRow' | 'gridRowStart' | 'gridRowEnd' | 'float' | 'clear' | 'margin' | 'boxSizing' | 'lineClamp' | 'display' | 'aspectRatio' | 'height' | 'maxHeight' | 'minHeight' | 'width' | 'minWidth' | 'maxWidth' | 'flex' | 'flexShrink' | 'flexGrow' | 'flexBasis' | 'tableLayout' | 'captionSide' | 'borderCollapse' | 'borderSpacing' | 'transformOrigin' | 'translate' | 'rotate' | 'skew' | 'scale' | 'transform' | 'animation' | 'cursor' | 'touchAction' | 'userSelect' | 'resize' | 'scrollSnapType' | 'scrollSnapAlign' | 'scrollSnapStop' | 'scrollMargin' | 'scrollPadding' | 'listStylePosition' | 'listStyleType' | 'listStyleImage' | 'appearance' | 'columns' | 'breakBefore' | 'breakInside' | 'breakAfter' | 'gridAutoColumns' | 'gridAutoFlow' | 'gridAutoRows' | 'gridTemplateColumns' | 'gridTemplateRows' | 'flexDirection' | 'flexWrap' | 'placeContent' | 'placeItems' | 'alignContent' | 'alignItems' | 'justifyContent' | 'justifyItems' | 'gap' | 'space' | 'divideWidth' | 'divideStyle' | 'divideColor' | 'divideOpacity' | 'placeSelf' | 'alignSelf' | 'justifySelf' | 'overflow' | 'overscrollBehavior' | 'scrollBehavior' | 'textOverflow' | 'hyphens' | 'whitespace' | 'wordBreak' | 'borderRadius' | 'borderWidth' | 'borderStyle' | 'borderColor' | 'borderOpacity' | 'backgroundColor' | 'backgroundOpacity' | 'backgroundImage' | 'gradientColorStops' | 'boxDecorationBreak' | 'backgroundSize' | 'backgroundAttachment' | 'backgroundClip' | 'backgroundPosition' | 'backgroundRepeat' | 'backgroundOrigin' | 'fill' | 'stroke' | 'strokeWidth' | 'objectFit' | 'objectPosition' | 'padding' | 'textAlign' | 'textIndent' | 'verticalAlign' | 'fontFamily' | 'fontSize' | 'fontWeight' | 'textTransform' | 'fontStyle' | 'fontVariantNumeric' | 'lineHeight' | 'letterSpacing' | 'textColor' | 'textOpacity' | 'textDecoration' | 'textDecorationColor' | 'textDecorationStyle' | 'textDecorationThickness' | 'textUnderlineOffset' | 'fontSmoothing' | 'placeholderColor' | 'placeholderOpacity' | 'caretColor' | 'accentColor' | 'opacity' | 'backgroundBlendMode' | 'mixBlendMode' | 'boxShadow' | 'boxShadowColor' | 'outlineStyle' | 'outlineWidth' | 'outlineOffset' | 'outlineColor' | 'ringWidth' | 'ringColor' | 'ringOpacity' | 'ringOffsetWidth' | 'ringOffsetColor' | 'blur' | 'brightness' | 'contrast' | 'dropShadow' | 'grayscale' | 'hueRotate' | 'invert' | 'saturate' | 'sepia' | 'filter' | 'backdropBlur' | 'backdropBrightness' | 'backdropContrast' | 'backdropGrayscale' | 'backdropHueRotate' | 'backdropInvert' | 'backdropOpacity' | 'backdropSaturate' | 'backdropSepia' | 'backdropFilter' | 'transitionProperty' | 'transitionDelay' | 'transitionDuration' | 'transitionTimingFunction' | 'willChange' | 'content' | ||
export type CorePluginList = 'preflight' | 'container' | 'accessibility' | 'pointerEvents' | 'visibility' | 'position' | 'inset' | 'isolation' | 'zIndex' | 'order' | 'gridColumn' | 'gridColumnStart' | 'gridColumnEnd' | 'gridRow' | 'gridRowStart' | 'gridRowEnd' | 'float' | 'clear' | 'margin' | 'boxSizing' | 'lineClamp' | 'display' | 'aspectRatio' | 'size' | 'height' | 'maxHeight' | 'minHeight' | 'width' | 'minWidth' | 'maxWidth' | 'flex' | 'flexShrink' | 'flexGrow' | 'flexBasis' | 'tableLayout' | 'captionSide' | 'borderCollapse' | 'borderSpacing' | 'transformOrigin' | 'translate' | 'rotate' | 'skew' | 'scale' | 'transform' | 'animation' | 'cursor' | 'touchAction' | 'userSelect' | 'resize' | 'scrollSnapType' | 'scrollSnapAlign' | 'scrollSnapStop' | 'scrollMargin' | 'scrollPadding' | 'listStylePosition' | 'listStyleType' | 'listStyleImage' | 'appearance' | 'columns' | 'breakBefore' | 'breakInside' | 'breakAfter' | 'gridAutoColumns' | 'gridAutoFlow' | 'gridAutoRows' | 'gridTemplateColumns' | 'gridTemplateRows' | 'flexDirection' | 'flexWrap' | 'placeContent' | 'placeItems' | 'alignContent' | 'alignItems' | 'justifyContent' | 'justifyItems' | 'gap' | 'space' | 'divideWidth' | 'divideStyle' | 'divideColor' | 'divideOpacity' | 'placeSelf' | 'alignSelf' | 'justifySelf' | 'overflow' | 'overscrollBehavior' | 'scrollBehavior' | 'textOverflow' | 'hyphens' | 'whitespace' | 'textWrap' | 'wordBreak' | 'borderRadius' | 'borderWidth' | 'borderStyle' | 'borderColor' | 'borderOpacity' | 'backgroundColor' | 'backgroundOpacity' | 'backgroundImage' | 'gradientColorStops' | 'boxDecorationBreak' | 'backgroundSize' | 'backgroundAttachment' | 'backgroundClip' | 'backgroundPosition' | 'backgroundRepeat' | 'backgroundOrigin' | 'fill' | 'stroke' | 'strokeWidth' | 'objectFit' | 'objectPosition' | 'padding' | 'textAlign' | 'textIndent' | 'verticalAlign' | 'fontFamily' | 'fontSize' | 'fontWeight' | 'textTransform' | 'fontStyle' | 'fontVariantNumeric' | 'lineHeight' | 'letterSpacing' | 'textColor' | 'textOpacity' | 'textDecoration' | 'textDecorationColor' | 'textDecorationStyle' | 'textDecorationThickness' | 'textUnderlineOffset' | 'fontSmoothing' | 'placeholderColor' | 'placeholderOpacity' | 'caretColor' | 'accentColor' | 'opacity' | 'backgroundBlendMode' | 'mixBlendMode' | 'boxShadow' | 'boxShadowColor' | 'outlineStyle' | 'outlineWidth' | 'outlineOffset' | 'outlineColor' | 'ringWidth' | 'ringColor' | 'ringOpacity' | 'ringOffsetWidth' | 'ringOffsetColor' | 'blur' | 'brightness' | 'contrast' | 'dropShadow' | 'grayscale' | 'hueRotate' | 'invert' | 'saturate' | 'sepia' | 'filter' | 'backdropBlur' | 'backdropBrightness' | 'backdropContrast' | 'backdropGrayscale' | 'backdropHueRotate' | 'backdropInvert' | 'backdropOpacity' | 'backdropSaturate' | 'backdropSepia' | 'backdropFilter' | 'transitionProperty' | 'transitionDelay' | 'transitionDuration' | 'transitionTimingFunction' | 'willChange' | 'content' | 'forcedColorAdjust' |
@@ -209,12 +209,34 @@ type CSSDeclarationList = Record<string, string> | ||
gridRow: Record< | ||
'auto' | 'span-1' | 'span-2' | 'span-3' | 'span-4' | 'span-5' | 'span-6' | 'span-full', | ||
| 'auto' | ||
| 'span-1' | ||
| 'span-2' | ||
| 'span-3' | ||
| 'span-4' | ||
| 'span-5' | ||
| 'span-6' | ||
| 'span-7' | ||
| 'span-8' | ||
| 'span-9' | ||
| 'span-10' | ||
| 'span-11' | ||
| 'span-12' | ||
| 'span-full', | ||
string | ||
> | ||
gridRowEnd: Record<'1' | '2' | '3' | '4' | '5' | '6' | '7' | 'auto', string> | ||
gridRowStart: Record<'1' | '2' | '3' | '4' | '5' | '6' | '7' | 'auto', string> | ||
gridRowEnd: Record< | ||
'1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | 'auto', | ||
string | ||
> | ||
gridRowStart: Record< | ||
'1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | 'auto', | ||
string | ||
> | ||
gridTemplateColumns: Record< | ||
'1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'none', | ||
'1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'none' | 'subgrid', | ||
string | ||
> | ||
gridTemplateRows: Record<'1' | '2' | '3' | '4' | '5' | '6' | 'none', string> | ||
gridTemplateRows: Record< | ||
'1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'none' | 'subgrid', | ||
string | ||
> | ||
hueRotate: Record<'0' | '15' | '30' | '60' | '90' | '180', string> | ||
@@ -244,4 +266,2 @@ invert: Record<'0' | 'DEFAULT', string> | ||
lineClamp: Record<'1' | '2' | '3' | '4' | '5' | '6', string> | ||
minHeight: Record<'0' | 'full' | 'screen' | 'min' | 'max' | 'fit', string> | ||
minWidth: Record<'0' | 'full' | 'min' | 'max' | 'fit', string> | ||
objectPosition: Record< | ||
@@ -263,11 +283,17 @@ | 'bottom' | ||
| '10' | ||
| '15' | ||
| '20' | ||
| '25' | ||
| '30' | ||
| '35' | ||
| '40' | ||
| '45' | ||
| '50' | ||
| '55' | ||
| '60' | ||
| '65' | ||
| '70' | ||
| '75' | ||
| '80' | ||
| '85' | ||
| '90' | ||
@@ -274,0 +300,0 @@ | '95' |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5591135
34737