tailwindcss 0.0.0-insiders.d3e754a → 0.0.0-insiders.d3f2221

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/README.md +13 -9
  2. package/colors.d.ts +3 -0
  3. package/defaultConfig.d.ts +3 -0
  4. package/defaultTheme.d.ts +4 -0
  5. package/index.css +5 -0
  6. package/lib/cli/build/index.js +57 -0
  7. package/lib/cli/build/plugin.js +431 -0
  8. package/lib/cli/build/utils.js +88 -0
  9. package/lib/cli/build/watching.js +182 -0
  10. package/lib/cli/help/index.js +73 -0
  11. package/lib/cli/index.js +231 -0
  12. package/lib/cli/init/index.js +63 -0
  13. package/lib/cli.js +1 -739
  14. package/lib/corePluginList.js +13 -3
  15. package/lib/corePlugins.js +1094 -478
  16. package/lib/css/preflight.css +17 -4
  17. package/lib/featureFlags.js +49 -23
  18. package/lib/index.js +1 -29
  19. package/lib/lib/cacheInvalidation.js +92 -0
  20. package/lib/lib/collapseAdjacentRules.js +12 -5
  21. package/lib/lib/collapseDuplicateDeclarations.js +12 -7
  22. package/lib/lib/content.js +207 -0
  23. package/lib/lib/defaultExtractor.js +217 -33
  24. package/lib/lib/detectNesting.js +15 -4
  25. package/lib/lib/evaluateTailwindFunctions.js +104 -37
  26. package/lib/lib/expandApplyAtRules.js +312 -211
  27. package/lib/lib/expandTailwindAtRules.js +149 -96
  28. package/lib/lib/findAtConfigPath.js +46 -0
  29. package/lib/lib/generateRules.js +437 -188
  30. package/lib/lib/getModuleDependencies.js +88 -37
  31. package/lib/lib/handleImportAtRules.js +50 -0
  32. package/lib/lib/load-config.js +42 -0
  33. package/lib/lib/normalizeTailwindDirectives.js +9 -19
  34. package/lib/lib/offsets.js +306 -0
  35. package/lib/lib/partitionApplyAtRules.js +11 -6
  36. package/lib/lib/regex.js +74 -0
  37. package/lib/lib/remap-bitfield.js +89 -0
  38. package/lib/lib/resolveDefaultsAtRules.js +80 -58
  39. package/lib/lib/setupContextUtils.js +683 -270
  40. package/lib/lib/setupTrackingContext.js +63 -67
  41. package/lib/lib/sharedState.js +39 -10
  42. package/lib/lib/substituteScreenAtRules.js +13 -9
  43. package/lib/plugin.js +164 -0
  44. package/lib/postcss-plugins/nesting/README.md +2 -2
  45. package/lib/postcss-plugins/nesting/index.js +10 -6
  46. package/lib/postcss-plugins/nesting/plugin.js +15 -11
  47. package/lib/processTailwindFeatures.js +33 -28
  48. package/lib/public/colors.js +55 -29
  49. package/lib/public/create-plugin.js +9 -5
  50. package/lib/public/default-config.js +10 -6
  51. package/lib/public/default-theme.js +10 -6
  52. package/lib/public/load-config.js +12 -0
  53. package/lib/public/resolve-config.js +11 -6
  54. package/lib/util/applyImportantSelector.js +36 -0
  55. package/lib/util/bigSign.js +6 -1
  56. package/lib/util/buildMediaQuery.js +12 -5
  57. package/lib/util/cloneDeep.js +8 -5
  58. package/lib/util/cloneNodes.js +11 -2
  59. package/lib/util/color.js +59 -42
  60. package/lib/util/colorNames.js +752 -0
  61. package/lib/util/configurePlugins.js +7 -2
  62. package/lib/util/createPlugin.js +8 -5
  63. package/lib/util/createUtilityPlugin.js +15 -11
  64. package/lib/util/dataTypes.js +172 -47
  65. package/lib/util/defaults.js +12 -7
  66. package/lib/util/escapeClassName.js +13 -8
  67. package/lib/util/escapeCommas.js +6 -1
  68. package/lib/util/flattenColorPalette.js +9 -8
  69. package/lib/util/formatVariantSelector.js +230 -151
  70. package/lib/util/getAllConfigs.js +34 -12
  71. package/lib/util/hashConfig.js +9 -4
  72. package/lib/util/isKeyframeRule.js +6 -1
  73. package/lib/util/isPlainObject.js +6 -1
  74. package/lib/util/{isValidArbitraryValue.js → isSyntacticallyValidPropertyValue.js} +15 -5
  75. package/lib/util/log.js +36 -9
  76. package/lib/util/nameClass.js +24 -7
  77. package/lib/util/negateValue.js +23 -6
  78. package/lib/util/normalizeConfig.js +142 -69
  79. package/lib/util/normalizeScreens.js +124 -5
  80. package/lib/util/parseAnimationValue.js +8 -4
  81. package/lib/util/parseBoxShadowValue.js +16 -45
  82. package/lib/util/parseDependency.js +38 -54
  83. package/lib/util/parseGlob.js +36 -0
  84. package/lib/util/parseObjectStyles.js +14 -9
  85. package/lib/util/pluginUtils.js +146 -51
  86. package/lib/util/prefixSelector.js +29 -10
  87. package/lib/util/pseudoElements.js +209 -0
  88. package/lib/util/removeAlphaVariables.js +31 -0
  89. package/lib/util/resolveConfig.js +100 -73
  90. package/lib/util/resolveConfigPath.js +27 -8
  91. package/lib/util/responsive.js +10 -5
  92. package/lib/util/splitAtTopLevelOnly.js +51 -0
  93. package/lib/util/tap.js +6 -1
  94. package/lib/util/toColorValue.js +6 -1
  95. package/lib/util/toPath.js +20 -2
  96. package/lib/util/transformThemeValue.js +21 -7
  97. package/lib/util/validateConfig.js +48 -0
  98. package/lib/util/validateFormalSyntax.js +26 -0
  99. package/lib/util/withAlphaVariable.js +24 -12
  100. package/lib/value-parser/LICENSE +22 -0
  101. package/lib/value-parser/README.md +3 -0
  102. package/lib/value-parser/index.d.js +2 -0
  103. package/lib/value-parser/index.js +22 -0
  104. package/lib/value-parser/parse.js +259 -0
  105. package/lib/value-parser/stringify.js +38 -0
  106. package/lib/value-parser/unit.js +86 -0
  107. package/lib/value-parser/walk.js +16 -0
  108. package/loadConfig.d.ts +4 -0
  109. package/loadConfig.js +2 -0
  110. package/package.json +58 -53
  111. package/plugin.d.ts +11 -0
  112. package/resolveConfig.d.ts +12 -0
  113. package/scripts/generate-types.js +105 -0
  114. package/scripts/release-channel.js +18 -0
  115. package/scripts/release-notes.js +21 -0
  116. package/scripts/type-utils.js +27 -0
  117. package/src/cli/build/index.js +53 -0
  118. package/src/cli/build/plugin.js +469 -0
  119. package/src/cli/build/utils.js +76 -0
  120. package/src/cli/build/watching.js +229 -0
  121. package/src/cli/help/index.js +70 -0
  122. package/src/cli/index.js +217 -0
  123. package/src/cli/init/index.js +79 -0
  124. package/src/cli.js +1 -813
  125. package/src/corePluginList.js +1 -1
  126. package/src/corePlugins.js +636 -117
  127. package/src/css/preflight.css +17 -4
  128. package/src/featureFlags.js +13 -3
  129. package/src/index.js +1 -28
  130. package/src/lib/cacheInvalidation.js +52 -0
  131. package/src/lib/collapseAdjacentRules.js +5 -1
  132. package/src/lib/content.js +240 -0
  133. package/src/lib/defaultExtractor.js +192 -35
  134. package/src/lib/detectNesting.js +9 -1
  135. package/src/lib/evaluateTailwindFunctions.js +82 -8
  136. package/src/lib/expandApplyAtRules.js +322 -189
  137. package/src/lib/expandTailwindAtRules.js +87 -60
  138. package/src/lib/findAtConfigPath.js +48 -0
  139. package/src/lib/generateRules.js +428 -128
  140. package/src/lib/getModuleDependencies.js +70 -30
  141. package/src/lib/handleImportAtRules.js +34 -0
  142. package/src/lib/load-config.ts +31 -0
  143. package/src/lib/normalizeTailwindDirectives.js +0 -27
  144. package/src/lib/offsets.js +373 -0
  145. package/src/lib/regex.js +74 -0
  146. package/src/lib/remap-bitfield.js +82 -0
  147. package/src/lib/resolveDefaultsAtRules.js +53 -36
  148. package/src/lib/setupContextUtils.js +608 -157
  149. package/src/lib/setupTrackingContext.js +44 -58
  150. package/src/lib/sharedState.js +14 -4
  151. package/src/plugin.js +133 -0
  152. package/src/postcss-plugins/nesting/README.md +2 -2
  153. package/src/processTailwindFeatures.js +3 -2
  154. package/src/public/colors.js +22 -0
  155. package/src/public/default-config.js +1 -1
  156. package/src/public/default-theme.js +2 -2
  157. package/src/public/load-config.js +2 -0
  158. package/src/util/applyImportantSelector.js +27 -0
  159. package/src/util/buildMediaQuery.js +5 -3
  160. package/src/util/cloneNodes.js +5 -1
  161. package/src/util/color.js +39 -20
  162. package/src/util/colorNames.js +150 -0
  163. package/src/util/dataTypes.js +115 -23
  164. package/src/util/formatVariantSelector.js +265 -144
  165. package/src/util/getAllConfigs.js +21 -2
  166. package/src/util/{isValidArbitraryValue.js → isSyntacticallyValidPropertyValue.js} +1 -1
  167. package/src/util/log.js +25 -1
  168. package/src/util/nameClass.js +4 -0
  169. package/src/util/negateValue.js +11 -3
  170. package/src/util/normalizeConfig.js +78 -20
  171. package/src/util/normalizeScreens.js +99 -4
  172. package/src/util/parseBoxShadowValue.js +3 -50
  173. package/src/util/parseDependency.js +37 -42
  174. package/src/util/parseGlob.js +24 -0
  175. package/src/util/pluginUtils.js +118 -23
  176. package/src/util/prefixSelector.js +29 -10
  177. package/src/util/pseudoElements.js +167 -0
  178. package/src/util/removeAlphaVariables.js +24 -0
  179. package/src/util/resolveConfig.js +70 -32
  180. package/src/util/resolveConfigPath.js +12 -1
  181. package/src/util/splitAtTopLevelOnly.js +52 -0
  182. package/src/util/toPath.js +1 -1
  183. package/src/util/transformThemeValue.js +13 -3
  184. package/src/util/validateConfig.js +36 -0
  185. package/src/util/validateFormalSyntax.js +34 -0
  186. package/src/util/withAlphaVariable.js +1 -1
  187. package/src/value-parser/LICENSE +22 -0
  188. package/src/value-parser/README.md +3 -0
  189. package/src/value-parser/index.d.ts +177 -0
  190. package/src/value-parser/index.js +28 -0
  191. package/src/value-parser/parse.js +303 -0
  192. package/src/value-parser/stringify.js +41 -0
  193. package/src/value-parser/unit.js +118 -0
  194. package/src/value-parser/walk.js +18 -0
  195. package/stubs/.gitignore +1 -0
  196. package/stubs/.prettierrc.json +6 -0
  197. package/stubs/{defaultConfig.stub.js → config.full.js} +224 -172
  198. package/stubs/{simpleConfig.stub.js → config.simple.js} +1 -1
  199. package/stubs/{defaultPostCssConfig.stub.js → postcss.config.cjs} +0 -1
  200. package/stubs/postcss.config.js +5 -0
  201. package/stubs/tailwind.config.cjs +2 -0
  202. package/stubs/tailwind.config.js +2 -0
  203. package/stubs/tailwind.config.ts +3 -0
  204. package/types/config.d.ts +369 -0
  205. package/types/generated/.gitkeep +0 -0
  206. package/types/generated/colors.d.ts +298 -0
  207. package/types/generated/corePluginList.d.ts +1 -0
  208. package/types/generated/default-theme.d.ts +378 -0
  209. package/types/index.d.ts +7 -0
  210. package/CHANGELOG.md +0 -2075
  211. package/lib/cli-peer-dependencies.js +0 -15
  212. package/lib/constants.js +0 -37
  213. package/peers/index.js +0 -75077
  214. package/scripts/install-integrations.js +0 -27
  215. package/scripts/rebuildFixtures.js +0 -68
  216. package/src/cli-peer-dependencies.js +0 -9
  217. package/src/constants.js +0 -17
@@ -2,55 +2,100 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- exports.corePlugins = exports.variantPlugins = void 0;
6
- var _fs = _interopRequireDefault(require("fs"));
7
- var path = _interopRequireWildcard(require("path"));
8
- var _postcss = _interopRequireDefault(require("postcss"));
9
- var _createUtilityPlugin = _interopRequireDefault(require("./util/createUtilityPlugin"));
10
- var _buildMediaQuery = _interopRequireDefault(require("./util/buildMediaQuery"));
11
- var _parseAnimationValue = _interopRequireDefault(require("./util/parseAnimationValue"));
12
- var _flattenColorPalette = _interopRequireDefault(require("./util/flattenColorPalette"));
13
- var _withAlphaVariable = _interopRequireWildcard(require("./util/withAlphaVariable"));
14
- var _toColorValue = _interopRequireDefault(require("./util/toColorValue"));
15
- var _isPlainObject = _interopRequireDefault(require("./util/isPlainObject"));
16
- var _transformThemeValue = _interopRequireDefault(require("./util/transformThemeValue"));
17
- var _packageJson = require("../package.json");
18
- var _log = _interopRequireDefault(require("./util/log"));
19
- var _normalizeScreens = require("./util/normalizeScreens");
20
- var _parseBoxShadowValue = require("./util/parseBoxShadowValue");
21
- function _interopRequireDefault(obj) {
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ variantPlugins: function() {
13
+ return variantPlugins;
14
+ },
15
+ corePlugins: function() {
16
+ return corePlugins;
17
+ }
18
+ });
19
+ const _fs = /*#__PURE__*/ _interop_require_default(require("fs"));
20
+ const _path = /*#__PURE__*/ _interop_require_wildcard(require("path"));
21
+ const _postcss = /*#__PURE__*/ _interop_require_default(require("postcss"));
22
+ const _createUtilityPlugin = /*#__PURE__*/ _interop_require_default(require("./util/createUtilityPlugin"));
23
+ const _buildMediaQuery = /*#__PURE__*/ _interop_require_default(require("./util/buildMediaQuery"));
24
+ const _escapeClassName = /*#__PURE__*/ _interop_require_default(require("./util/escapeClassName"));
25
+ const _parseAnimationValue = /*#__PURE__*/ _interop_require_default(require("./util/parseAnimationValue"));
26
+ const _flattenColorPalette = /*#__PURE__*/ _interop_require_default(require("./util/flattenColorPalette"));
27
+ const _withAlphaVariable = /*#__PURE__*/ _interop_require_wildcard(require("./util/withAlphaVariable"));
28
+ const _toColorValue = /*#__PURE__*/ _interop_require_default(require("./util/toColorValue"));
29
+ const _isPlainObject = /*#__PURE__*/ _interop_require_default(require("./util/isPlainObject"));
30
+ const _transformThemeValue = /*#__PURE__*/ _interop_require_default(require("./util/transformThemeValue"));
31
+ const _log = /*#__PURE__*/ _interop_require_default(require("./util/log"));
32
+ const _normalizeScreens = require("./util/normalizeScreens");
33
+ const _parseBoxShadowValue = require("./util/parseBoxShadowValue");
34
+ const _removeAlphaVariables = require("./util/removeAlphaVariables");
35
+ const _featureFlags = require("./featureFlags");
36
+ const _dataTypes = require("./util/dataTypes");
37
+ const _setupContextUtils = require("./lib/setupContextUtils");
38
+ function _interop_require_default(obj) {
22
39
  return obj && obj.__esModule ? obj : {
23
40
  default: obj
24
41
  };
25
42
  }
26
- function _interopRequireWildcard(obj) {
27
- if (obj && obj.__esModule) {
43
+ function _getRequireWildcardCache(nodeInterop) {
44
+ if (typeof WeakMap !== "function") return null;
45
+ var cacheBabelInterop = new WeakMap();
46
+ var cacheNodeInterop = new WeakMap();
47
+ return (_getRequireWildcardCache = function(nodeInterop) {
48
+ return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
49
+ })(nodeInterop);
50
+ }
51
+ function _interop_require_wildcard(obj, nodeInterop) {
52
+ if (!nodeInterop && obj && obj.__esModule) {
28
53
  return obj;
29
- } else {
30
- var newObj = {};
31
- if (obj != null) {
32
- for(var key in obj){
33
- if (Object.prototype.hasOwnProperty.call(obj, key)) {
34
- var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {};
35
- if (desc.get || desc.set) {
36
- Object.defineProperty(newObj, key, desc);
37
- } else {
38
- newObj[key] = obj[key];
39
- }
40
- }
54
+ }
55
+ if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
56
+ return {
57
+ default: obj
58
+ };
59
+ }
60
+ var cache = _getRequireWildcardCache(nodeInterop);
61
+ if (cache && cache.has(obj)) {
62
+ return cache.get(obj);
63
+ }
64
+ var newObj = {};
65
+ var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
66
+ for(var key in obj){
67
+ if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
68
+ var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
69
+ if (desc && (desc.get || desc.set)) {
70
+ Object.defineProperty(newObj, key, desc);
71
+ } else {
72
+ newObj[key] = obj[key];
41
73
  }
42
74
  }
43
- newObj.default = obj;
44
- return newObj;
45
75
  }
76
+ newObj.default = obj;
77
+ if (cache) {
78
+ cache.set(obj, newObj);
79
+ }
80
+ return newObj;
46
81
  }
47
82
  let variantPlugins = {
48
- pseudoElementVariants: ({ addVariant })=>{
83
+ pseudoElementVariants: ({ addVariant })=>{
49
84
  addVariant('first-letter', '&::first-letter');
50
85
  addVariant('first-line', '&::first-line');
51
86
  addVariant('marker', [
52
- '& *::marker',
53
- '&::marker'
87
+ ({ container })=>{
88
+ (0, _removeAlphaVariables.removeAlphaVariables)(container, [
89
+ '--tw-text-opacity'
90
+ ]);
91
+ return '& *::marker';
92
+ },
93
+ ({ container })=>{
94
+ (0, _removeAlphaVariables.removeAlphaVariables)(container, [
95
+ '--tw-text-opacity'
96
+ ]);
97
+ return '&::marker';
98
+ }
54
99
  ]);
55
100
  addVariant('selection', [
56
101
  '& *::selection',
@@ -58,7 +103,8 @@ let variantPlugins = {
58
103
  ]);
59
104
  addVariant('file', '&::file-selector-button');
60
105
  addVariant('placeholder', '&::placeholder');
61
- addVariant('before', ({ container })=>{
106
+ addVariant('backdrop', '&::backdrop');
107
+ addVariant('before', ({ container })=>{
62
108
  container.walkRules((rule)=>{
63
109
  let foundContent = false;
64
110
  rule.walkDecls('content', ()=>{
@@ -73,7 +119,7 @@ let variantPlugins = {
73
119
  });
74
120
  return '&::before';
75
121
  });
76
- addVariant('after', ({ container })=>{
122
+ addVariant('after', ({ container })=>{
77
123
  container.walkRules((rule)=>{
78
124
  let foundContent = false;
79
125
  rule.walkDecls('content', ()=>{
@@ -89,28 +135,28 @@ let variantPlugins = {
89
135
  return '&::after';
90
136
  });
91
137
  },
92
- pseudoClassVariants: ({ addVariant })=>{
138
+ pseudoClassVariants: ({ addVariant, matchVariant, config, prefix })=>{
93
139
  let pseudoVariants = [
94
140
  // Positional
95
141
  [
96
142
  'first',
97
- ':first-child'
143
+ '&:first-child'
98
144
  ],
99
145
  [
100
146
  'last',
101
- ':last-child'
147
+ '&:last-child'
102
148
  ],
103
149
  [
104
150
  'only',
105
- ':only-child'
151
+ '&:only-child'
106
152
  ],
107
153
  [
108
154
  'odd',
109
- ':nth-child(odd)'
155
+ '&:nth-child(odd)'
110
156
  ],
111
157
  [
112
158
  'even',
113
- ':nth-child(even)'
159
+ '&:nth-child(even)'
114
160
  ],
115
161
  'first-of-type',
116
162
  'last-of-type',
@@ -118,30 +164,19 @@ let variantPlugins = {
118
164
  // State
119
165
  [
120
166
  'visited',
121
- ({ container })=>{
122
- let toRemove = [
167
+ ({ container })=>{
168
+ (0, _removeAlphaVariables.removeAlphaVariables)(container, [
123
169
  '--tw-text-opacity',
124
170
  '--tw-border-opacity',
125
171
  '--tw-bg-opacity'
126
- ];
127
- container.walkDecls((decl)=>{
128
- if (toRemove.includes(decl.prop)) {
129
- decl.remove();
130
- return;
131
- }
132
- for (const varName of toRemove){
133
- if (decl.value.includes(`/ var(${varName})`)) {
134
- decl.value = decl.value.replace(`/ var(${varName})`, '');
135
- }
136
- }
137
- });
138
- return ':visited';
139
- },
172
+ ]);
173
+ return '&:visited';
174
+ }
140
175
  ],
141
176
  'target',
142
177
  [
143
178
  'open',
144
- '[open]'
179
+ '&[open]'
145
180
  ],
146
181
  // Forms
147
182
  'default',
@@ -149,6 +184,7 @@ let variantPlugins = {
149
184
  'indeterminate',
150
185
  'placeholder-shown',
151
186
  'autofill',
187
+ 'optional',
152
188
  'required',
153
189
  'valid',
154
190
  'invalid',
@@ -159,93 +195,284 @@ let variantPlugins = {
159
195
  'empty',
160
196
  // Interactive
161
197
  'focus-within',
162
- 'hover',
198
+ [
199
+ 'hover',
200
+ !(0, _featureFlags.flagEnabled)(config(), 'hoverOnlyWhenSupported') ? '&:hover' : '@media (hover: hover) and (pointer: fine) { &:hover }'
201
+ ],
163
202
  'focus',
164
203
  'focus-visible',
165
204
  'active',
166
- 'disabled',
205
+ 'enabled',
206
+ 'disabled'
167
207
  ].map((variant)=>Array.isArray(variant) ? variant : [
168
208
  variant,
169
- `:${variant}`
170
- ]
171
- );
209
+ `&:${variant}`
210
+ ]);
172
211
  for (let [variantName, state] of pseudoVariants){
173
212
  addVariant(variantName, (ctx)=>{
174
213
  let result = typeof state === 'function' ? state(ctx) : state;
175
- return `&${result}`;
176
- });
177
- }
178
- for (let [variantName1, state1] of pseudoVariants){
179
- addVariant(`group-${variantName1}`, (ctx)=>{
180
- let result = typeof state1 === 'function' ? state1(ctx) : state1;
181
- return `:merge(.group)${result} &`;
214
+ return result;
182
215
  });
183
216
  }
184
- for (let [variantName2, state2] of pseudoVariants){
185
- addVariant(`peer-${variantName2}`, (ctx)=>{
186
- let result = typeof state2 === 'function' ? state2(ctx) : state2;
187
- return `:merge(.peer)${result} ~ &`;
217
+ let variants = {
218
+ group: (_, { modifier })=>modifier ? [
219
+ `:merge(${prefix('.group')}\\/${(0, _escapeClassName.default)(modifier)})`,
220
+ ' &'
221
+ ] : [
222
+ `:merge(${prefix('.group')})`,
223
+ ' &'
224
+ ],
225
+ peer: (_, { modifier })=>modifier ? [
226
+ `:merge(${prefix('.peer')}\\/${(0, _escapeClassName.default)(modifier)})`,
227
+ ' ~ &'
228
+ ] : [
229
+ `:merge(${prefix('.peer')})`,
230
+ ' ~ &'
231
+ ]
232
+ };
233
+ for (let [name, fn] of Object.entries(variants)){
234
+ matchVariant(name, (value = '', extra)=>{
235
+ let result = (0, _dataTypes.normalize)(typeof value === 'function' ? value(extra) : value);
236
+ if (!result.includes('&')) result = '&' + result;
237
+ let [a, b] = fn('', extra);
238
+ let start = null;
239
+ let end = null;
240
+ let quotes = 0;
241
+ for(let i = 0; i < result.length; ++i){
242
+ let c = result[i];
243
+ if (c === '&') {
244
+ start = i;
245
+ } else if (c === "'" || c === '"') {
246
+ quotes += 1;
247
+ } else if (start !== null && c === ' ' && !quotes) {
248
+ end = i;
249
+ }
250
+ }
251
+ if (start !== null && end === null) {
252
+ end = result.length;
253
+ }
254
+ // Basically this but can handle quotes:
255
+ // result.replace(/&(\S+)?/g, (_, pseudo = '') => a + pseudo + b)
256
+ return result.slice(0, start) + a + result.slice(start + 1, end) + b + result.slice(end);
257
+ }, {
258
+ values: Object.fromEntries(pseudoVariants),
259
+ [_setupContextUtils.INTERNAL_FEATURES]: {
260
+ respectPrefix: false
261
+ }
188
262
  });
189
263
  }
190
264
  },
191
- directionVariants: ({ addVariant })=>{
192
- addVariant('ltr', ()=>{
193
- _log.default.warn('rtl-experimental', [
194
- 'The RTL features in Tailwind CSS are currently in preview.',
195
- 'Preview features are not covered by semver, and may be improved in breaking ways at any time.',
196
- ]);
197
- return '[dir="ltr"] &';
198
- });
199
- addVariant('rtl', ()=>{
200
- _log.default.warn('rtl-experimental', [
201
- 'The RTL features in Tailwind CSS are currently in preview.',
202
- 'Preview features are not covered by semver, and may be improved in breaking ways at any time.',
203
- ]);
204
- return '[dir="rtl"] &';
205
- });
265
+ directionVariants: ({ addVariant })=>{
266
+ addVariant('ltr', ':is([dir="ltr"] &)');
267
+ addVariant('rtl', ':is([dir="rtl"] &)');
206
268
  },
207
- reducedMotionVariants: ({ addVariant })=>{
269
+ reducedMotionVariants: ({ addVariant })=>{
208
270
  addVariant('motion-safe', '@media (prefers-reduced-motion: no-preference)');
209
271
  addVariant('motion-reduce', '@media (prefers-reduced-motion: reduce)');
210
272
  },
211
- darkVariants: ({ config , addVariant })=>{
212
- let mode = config('darkMode', 'media');
273
+ darkVariants: ({ config, addVariant })=>{
274
+ let [mode, className = '.dark'] = [].concat(config('darkMode', 'media'));
213
275
  if (mode === false) {
214
276
  mode = 'media';
215
277
  _log.default.warn('darkmode-false', [
216
278
  'The `darkMode` option in your Tailwind CSS configuration is set to `false`, which now behaves the same as `media`.',
217
279
  'Change `darkMode` to `media` or remove it entirely.',
218
- 'https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration',
280
+ 'https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration'
219
281
  ]);
220
282
  }
221
283
  if (mode === 'class') {
222
- addVariant('dark', '.dark &');
284
+ addVariant('dark', `:is(${className} &)`);
223
285
  } else if (mode === 'media') {
224
286
  addVariant('dark', '@media (prefers-color-scheme: dark)');
225
287
  }
226
288
  },
227
- printVariant: ({ addVariant })=>{
289
+ printVariant: ({ addVariant })=>{
228
290
  addVariant('print', '@media print');
229
291
  },
230
- screenVariants: ({ theme , addVariant })=>{
231
- for (let screen of (0, _normalizeScreens).normalizeScreens(theme('screens'))){
232
- let query = (0, _buildMediaQuery).default(screen);
233
- addVariant(screen.name, `@media ${query}`);
292
+ screenVariants: ({ theme, addVariant, matchVariant })=>{
293
+ var _theme;
294
+ let rawScreens = (_theme = theme('screens')) !== null && _theme !== void 0 ? _theme : {};
295
+ let areSimpleScreens = Object.values(rawScreens).every((v)=>typeof v === 'string');
296
+ let screens = (0, _normalizeScreens.normalizeScreens)(theme('screens'));
297
+ /** @type {Set<string>} */ let unitCache = new Set([]);
298
+ /** @param {string} value */ function units(value) {
299
+ var _value_match;
300
+ var _value_match_;
301
+ return (_value_match_ = (_value_match = value.match(/(\D+)$/)) === null || _value_match === void 0 ? void 0 : _value_match[1]) !== null && _value_match_ !== void 0 ? _value_match_ : '(none)';
302
+ }
303
+ /** @param {string} value */ function recordUnits(value) {
304
+ if (value !== undefined) {
305
+ unitCache.add(units(value));
306
+ }
307
+ }
308
+ /** @param {string} value */ function canUseUnits(value) {
309
+ recordUnits(value);
310
+ // If the cache was empty it'll become 1 because we've just added the current unit
311
+ // If the cache was not empty and the units are the same the size doesn't change
312
+ // Otherwise, if the units are different from what is already known the size will always be > 1
313
+ return unitCache.size === 1;
234
314
  }
315
+ for (const screen of screens){
316
+ for (const value of screen.values){
317
+ recordUnits(value.min);
318
+ recordUnits(value.max);
319
+ }
320
+ }
321
+ let screensUseConsistentUnits = unitCache.size <= 1;
322
+ /**
323
+ * @typedef {import('./util/normalizeScreens').Screen} Screen
324
+ */ /**
325
+ * @param {'min' | 'max'} type
326
+ * @returns {Record<string, Screen>}
327
+ */ function buildScreenValues(type) {
328
+ return Object.fromEntries(screens.filter((screen)=>(0, _normalizeScreens.isScreenSortable)(screen).result).map((screen)=>{
329
+ let { min, max } = screen.values[0];
330
+ if (type === 'min' && min !== undefined) {
331
+ return screen;
332
+ } else if (type === 'min' && max !== undefined) {
333
+ return {
334
+ ...screen,
335
+ not: !screen.not
336
+ };
337
+ } else if (type === 'max' && max !== undefined) {
338
+ return screen;
339
+ } else if (type === 'max' && min !== undefined) {
340
+ return {
341
+ ...screen,
342
+ not: !screen.not
343
+ };
344
+ }
345
+ }).map((screen)=>[
346
+ screen.name,
347
+ screen
348
+ ]));
349
+ }
350
+ /**
351
+ * @param {'min' | 'max'} type
352
+ * @returns {(a: { value: string | Screen }, z: { value: string | Screen }) => number}
353
+ */ function buildSort(type) {
354
+ return (a, z)=>(0, _normalizeScreens.compareScreens)(type, a.value, z.value);
355
+ }
356
+ let maxSort = buildSort('max');
357
+ let minSort = buildSort('min');
358
+ /** @param {'min'|'max'} type */ function buildScreenVariant(type) {
359
+ return (value)=>{
360
+ if (!areSimpleScreens) {
361
+ _log.default.warn('complex-screen-config', [
362
+ 'The `min-*` and `max-*` variants are not supported with a `screens` configuration containing objects.'
363
+ ]);
364
+ return [];
365
+ } else if (!screensUseConsistentUnits) {
366
+ _log.default.warn('mixed-screen-units', [
367
+ 'The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units.'
368
+ ]);
369
+ return [];
370
+ } else if (typeof value === 'string' && !canUseUnits(value)) {
371
+ _log.default.warn('minmax-have-mixed-units', [
372
+ 'The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units.'
373
+ ]);
374
+ return [];
375
+ }
376
+ return [
377
+ `@media ${(0, _buildMediaQuery.default)((0, _normalizeScreens.toScreen)(value, type))}`
378
+ ];
379
+ };
380
+ }
381
+ matchVariant('max', buildScreenVariant('max'), {
382
+ sort: maxSort,
383
+ values: areSimpleScreens ? buildScreenValues('max') : {}
384
+ });
385
+ // screens and min-* are sorted together when they can be
386
+ let id = 'min-screens';
387
+ for (let screen of screens){
388
+ addVariant(screen.name, `@media ${(0, _buildMediaQuery.default)(screen)}`, {
389
+ id,
390
+ sort: areSimpleScreens && screensUseConsistentUnits ? minSort : undefined,
391
+ value: screen
392
+ });
393
+ }
394
+ matchVariant('min', buildScreenVariant('min'), {
395
+ id,
396
+ sort: minSort
397
+ });
235
398
  },
236
- orientationVariants: ({ addVariant })=>{
399
+ supportsVariants: ({ matchVariant, theme })=>{
400
+ var _theme;
401
+ matchVariant('supports', (value = '')=>{
402
+ let check = (0, _dataTypes.normalize)(value);
403
+ let isRaw = /^\w*\s*\(/.test(check);
404
+ // Chrome has a bug where `(condition1)or(condition2)` is not valid
405
+ // But `(condition1) or (condition2)` is supported.
406
+ check = isRaw ? check.replace(/\b(and|or|not)\b/g, ' $1 ') : check;
407
+ if (isRaw) {
408
+ return `@supports ${check}`;
409
+ }
410
+ if (!check.includes(':')) {
411
+ check = `${check}: var(--tw)`;
412
+ }
413
+ if (!(check.startsWith('(') && check.endsWith(')'))) {
414
+ check = `(${check})`;
415
+ }
416
+ return `@supports ${check}`;
417
+ }, {
418
+ values: (_theme = theme('supports')) !== null && _theme !== void 0 ? _theme : {}
419
+ });
420
+ },
421
+ hasVariants: ({ matchVariant })=>{
422
+ matchVariant('has', (value)=>`&:has(${(0, _dataTypes.normalize)(value)})`, {
423
+ values: {}
424
+ });
425
+ matchVariant('group-has', (value, { modifier })=>modifier ? `:merge(.group\\/${modifier}):has(${(0, _dataTypes.normalize)(value)}) &` : `:merge(.group):has(${(0, _dataTypes.normalize)(value)}) &`, {
426
+ values: {}
427
+ });
428
+ matchVariant('peer-has', (value, { modifier })=>modifier ? `:merge(.peer\\/${modifier}):has(${(0, _dataTypes.normalize)(value)}) ~ &` : `:merge(.peer):has(${(0, _dataTypes.normalize)(value)}) ~ &`, {
429
+ values: {}
430
+ });
431
+ },
432
+ ariaVariants: ({ matchVariant, theme })=>{
433
+ var _theme;
434
+ matchVariant('aria', (value)=>`&[aria-${(0, _dataTypes.normalize)(value)}]`, {
435
+ values: (_theme = theme('aria')) !== null && _theme !== void 0 ? _theme : {}
436
+ });
437
+ var _theme1;
438
+ matchVariant('group-aria', (value, { modifier })=>modifier ? `:merge(.group\\/${modifier})[aria-${(0, _dataTypes.normalize)(value)}] &` : `:merge(.group)[aria-${(0, _dataTypes.normalize)(value)}] &`, {
439
+ values: (_theme1 = theme('aria')) !== null && _theme1 !== void 0 ? _theme1 : {}
440
+ });
441
+ var _theme2;
442
+ matchVariant('peer-aria', (value, { modifier })=>modifier ? `:merge(.peer\\/${modifier})[aria-${(0, _dataTypes.normalize)(value)}] ~ &` : `:merge(.peer)[aria-${(0, _dataTypes.normalize)(value)}] ~ &`, {
443
+ values: (_theme2 = theme('aria')) !== null && _theme2 !== void 0 ? _theme2 : {}
444
+ });
445
+ },
446
+ dataVariants: ({ matchVariant, theme })=>{
447
+ var _theme;
448
+ matchVariant('data', (value)=>`&[data-${(0, _dataTypes.normalize)(value)}]`, {
449
+ values: (_theme = theme('data')) !== null && _theme !== void 0 ? _theme : {}
450
+ });
451
+ var _theme1;
452
+ matchVariant('group-data', (value, { modifier })=>modifier ? `:merge(.group\\/${modifier})[data-${(0, _dataTypes.normalize)(value)}] &` : `:merge(.group)[data-${(0, _dataTypes.normalize)(value)}] &`, {
453
+ values: (_theme1 = theme('data')) !== null && _theme1 !== void 0 ? _theme1 : {}
454
+ });
455
+ var _theme2;
456
+ matchVariant('peer-data', (value, { modifier })=>modifier ? `:merge(.peer\\/${modifier})[data-${(0, _dataTypes.normalize)(value)}] ~ &` : `:merge(.peer)[data-${(0, _dataTypes.normalize)(value)}] ~ &`, {
457
+ values: (_theme2 = theme('data')) !== null && _theme2 !== void 0 ? _theme2 : {}
458
+ });
459
+ },
460
+ orientationVariants: ({ addVariant })=>{
237
461
  addVariant('portrait', '@media (orientation: portrait)');
238
462
  addVariant('landscape', '@media (orientation: landscape)');
463
+ },
464
+ prefersContrastVariants: ({ addVariant })=>{
465
+ addVariant('contrast-more', '@media (prefers-contrast: more)');
466
+ addVariant('contrast-less', '@media (prefers-contrast: less)');
239
467
  }
240
468
  };
241
- exports.variantPlugins = variantPlugins;
242
469
  let cssTransformValue = [
243
470
  'translate(var(--tw-translate-x), var(--tw-translate-y))',
244
471
  'rotate(var(--tw-rotate))',
245
472
  'skewX(var(--tw-skew-x))',
246
473
  'skewY(var(--tw-skew-y))',
247
474
  'scaleX(var(--tw-scale-x))',
248
- 'scaleY(var(--tw-scale-y))',
475
+ 'scaleY(var(--tw-scale-y))'
249
476
  ].join(' ');
250
477
  let cssFilterValue = [
251
478
  'var(--tw-blur)',
@@ -256,7 +483,7 @@ let cssFilterValue = [
256
483
  'var(--tw-invert)',
257
484
  'var(--tw-saturate)',
258
485
  'var(--tw-sepia)',
259
- 'var(--tw-drop-shadow)',
486
+ 'var(--tw-drop-shadow)'
260
487
  ].join(' ');
261
488
  let cssBackdropFilterValue = [
262
489
  'var(--tw-backdrop-blur)',
@@ -267,24 +494,16 @@ let cssBackdropFilterValue = [
267
494
  'var(--tw-backdrop-invert)',
268
495
  'var(--tw-backdrop-opacity)',
269
496
  'var(--tw-backdrop-saturate)',
270
- 'var(--tw-backdrop-sepia)',
497
+ 'var(--tw-backdrop-sepia)'
271
498
  ].join(' ');
272
499
  let corePlugins = {
273
- preflight: ({ addBase })=>{
274
- let preflightStyles = _postcss.default.parse(_fs.default.readFileSync(path.join(__dirname, './css/preflight.css'), 'utf8'));
275
- addBase([
276
- _postcss.default.comment({
277
- text: `! tailwindcss v${_packageJson.version} | MIT License | https://tailwindcss.com`
278
- }),
279
- ...preflightStyles.nodes,
280
- ]);
500
+ preflight: ({ addBase })=>{
501
+ let preflightStyles = _postcss.default.parse(_fs.default.readFileSync(_path.join(__dirname, './css/preflight.css'), 'utf8'));
502
+ addBase(preflightStyles.nodes);
281
503
  },
282
504
  container: (()=>{
283
505
  function extractMinWidths(breakpoints = []) {
284
- return breakpoints.flatMap((breakpoint1)=>breakpoint1.values.map((breakpoint)=>breakpoint.min
285
- )
286
- ).filter((v)=>v !== undefined
287
- );
506
+ return breakpoints.flatMap((breakpoint)=>breakpoint.values.map((breakpoint)=>breakpoint.min)).filter((v)=>v !== undefined);
288
507
  }
289
508
  function mapMinWidthsToPadding(minWidths, screens, paddings) {
290
509
  if (typeof paddings === 'undefined') {
@@ -296,7 +515,7 @@ let corePlugins = {
296
515
  screen: 'DEFAULT',
297
516
  minWidth: 0,
298
517
  padding: paddings
299
- },
518
+ }
300
519
  ];
301
520
  }
302
521
  let mapping = [];
@@ -309,7 +528,7 @@ let corePlugins = {
309
528
  }
310
529
  for (let minWidth of minWidths){
311
530
  for (let screen of screens){
312
- for (let { min } of screen.values){
531
+ for (let { min } of screen.values){
313
532
  if (min === minWidth) {
314
533
  mapping.push({
315
534
  minWidth,
@@ -321,13 +540,12 @@ let corePlugins = {
321
540
  }
322
541
  return mapping;
323
542
  }
324
- return function({ addComponents , theme }) {
325
- let screens = (0, _normalizeScreens).normalizeScreens(theme('container.screens', theme('screens')));
543
+ return function({ addComponents, theme }) {
544
+ let screens = (0, _normalizeScreens.normalizeScreens)(theme('container.screens', theme('screens')));
326
545
  let minWidths = extractMinWidths(screens);
327
546
  let paddings = mapMinWidthsToPadding(minWidths, screens, theme('container.padding'));
328
547
  let generatePaddingFor = (minWidth)=>{
329
- let paddingConfig = paddings.find((padding)=>padding.minWidth === minWidth
330
- );
548
+ let paddingConfig = paddings.find((padding)=>padding.minWidth === minWidth);
331
549
  if (!paddingConfig) {
332
550
  return {};
333
551
  }
@@ -336,16 +554,14 @@ let corePlugins = {
336
554
  paddingLeft: paddingConfig.padding
337
555
  };
338
556
  };
339
- let atRules = Array.from(new Set(minWidths.slice().sort((a, z)=>parseInt(a) - parseInt(z)
340
- ))).map((minWidth)=>({
557
+ let atRules = Array.from(new Set(minWidths.slice().sort((a, z)=>parseInt(a) - parseInt(z)))).map((minWidth)=>({
341
558
  [`@media (min-width: ${minWidth})`]: {
342
559
  '.container': {
343
560
  'max-width': minWidth,
344
561
  ...generatePaddingFor(minWidth)
345
562
  }
346
563
  }
347
- })
348
- );
564
+ }));
349
565
  addComponents([
350
566
  {
351
567
  '.container': Object.assign({
@@ -355,11 +571,11 @@ let corePlugins = {
355
571
  marginLeft: 'auto'
356
572
  } : {}, generatePaddingFor(0))
357
573
  },
358
- ...atRules,
574
+ ...atRules
359
575
  ]);
360
576
  };
361
577
  })(),
362
- accessibility: ({ addUtilities })=>{
578
+ accessibility: ({ addUtilities })=>{
363
579
  addUtilities({
364
580
  '.sr-only': {
365
581
  position: 'absolute',
@@ -384,7 +600,7 @@ let corePlugins = {
384
600
  }
385
601
  });
386
602
  },
387
- pointerEvents: ({ addUtilities })=>{
603
+ pointerEvents: ({ addUtilities })=>{
388
604
  addUtilities({
389
605
  '.pointer-events-none': {
390
606
  'pointer-events': 'none'
@@ -394,17 +610,20 @@ let corePlugins = {
394
610
  }
395
611
  });
396
612
  },
397
- visibility: ({ addUtilities })=>{
613
+ visibility: ({ addUtilities })=>{
398
614
  addUtilities({
399
615
  '.visible': {
400
616
  visibility: 'visible'
401
617
  },
402
618
  '.invisible': {
403
619
  visibility: 'hidden'
620
+ },
621
+ '.collapse': {
622
+ visibility: 'collapse'
404
623
  }
405
624
  });
406
625
  },
407
- position: ({ addUtilities })=>{
626
+ position: ({ addUtilities })=>{
408
627
  addUtilities({
409
628
  '.static': {
410
629
  position: 'static'
@@ -423,14 +642,11 @@ let corePlugins = {
423
642
  }
424
643
  });
425
644
  },
426
- inset: (0, _createUtilityPlugin).default('inset', [
645
+ inset: (0, _createUtilityPlugin.default)('inset', [
427
646
  [
428
647
  'inset',
429
648
  [
430
- 'top',
431
- 'right',
432
- 'bottom',
433
- 'left'
649
+ 'inset'
434
650
  ]
435
651
  ],
436
652
  [
@@ -447,9 +663,21 @@ let corePlugins = {
447
663
  'top',
448
664
  'bottom'
449
665
  ]
450
- ],
666
+ ]
451
667
  ],
452
668
  [
669
+ [
670
+ 'start',
671
+ [
672
+ 'inset-inline-start'
673
+ ]
674
+ ],
675
+ [
676
+ 'end',
677
+ [
678
+ 'inset-inline-end'
679
+ ]
680
+ ],
453
681
  [
454
682
  'top',
455
683
  [
@@ -473,12 +701,12 @@ let corePlugins = {
473
701
  [
474
702
  'left'
475
703
  ]
476
- ],
477
- ],
704
+ ]
705
+ ]
478
706
  ], {
479
707
  supportsNegativeValues: true
480
708
  }),
481
- isolation: ({ addUtilities })=>{
709
+ isolation: ({ addUtilities })=>{
482
710
  addUtilities({
483
711
  '.isolate': {
484
712
  isolation: 'isolate'
@@ -488,7 +716,7 @@ let corePlugins = {
488
716
  }
489
717
  });
490
718
  },
491
- zIndex: (0, _createUtilityPlugin).default('zIndex', [
719
+ zIndex: (0, _createUtilityPlugin.default)('zIndex', [
492
720
  [
493
721
  'z',
494
722
  [
@@ -498,10 +726,10 @@ let corePlugins = {
498
726
  ], {
499
727
  supportsNegativeValues: true
500
728
  }),
501
- order: (0, _createUtilityPlugin).default('order', undefined, {
729
+ order: (0, _createUtilityPlugin.default)('order', undefined, {
502
730
  supportsNegativeValues: true
503
731
  }),
504
- gridColumn: (0, _createUtilityPlugin).default('gridColumn', [
732
+ gridColumn: (0, _createUtilityPlugin.default)('gridColumn', [
505
733
  [
506
734
  'col',
507
735
  [
@@ -509,7 +737,7 @@ let corePlugins = {
509
737
  ]
510
738
  ]
511
739
  ]),
512
- gridColumnStart: (0, _createUtilityPlugin).default('gridColumnStart', [
740
+ gridColumnStart: (0, _createUtilityPlugin.default)('gridColumnStart', [
513
741
  [
514
742
  'col-start',
515
743
  [
@@ -517,7 +745,7 @@ let corePlugins = {
517
745
  ]
518
746
  ]
519
747
  ]),
520
- gridColumnEnd: (0, _createUtilityPlugin).default('gridColumnEnd', [
748
+ gridColumnEnd: (0, _createUtilityPlugin.default)('gridColumnEnd', [
521
749
  [
522
750
  'col-end',
523
751
  [
@@ -525,7 +753,7 @@ let corePlugins = {
525
753
  ]
526
754
  ]
527
755
  ]),
528
- gridRow: (0, _createUtilityPlugin).default('gridRow', [
756
+ gridRow: (0, _createUtilityPlugin.default)('gridRow', [
529
757
  [
530
758
  'row',
531
759
  [
@@ -533,7 +761,7 @@ let corePlugins = {
533
761
  ]
534
762
  ]
535
763
  ]),
536
- gridRowStart: (0, _createUtilityPlugin).default('gridRowStart', [
764
+ gridRowStart: (0, _createUtilityPlugin.default)('gridRowStart', [
537
765
  [
538
766
  'row-start',
539
767
  [
@@ -541,7 +769,7 @@ let corePlugins = {
541
769
  ]
542
770
  ]
543
771
  ]),
544
- gridRowEnd: (0, _createUtilityPlugin).default('gridRowEnd', [
772
+ gridRowEnd: (0, _createUtilityPlugin.default)('gridRowEnd', [
545
773
  [
546
774
  'row-end',
547
775
  [
@@ -549,7 +777,7 @@ let corePlugins = {
549
777
  ]
550
778
  ]
551
779
  ]),
552
- float: ({ addUtilities })=>{
780
+ float: ({ addUtilities })=>{
553
781
  addUtilities({
554
782
  '.float-right': {
555
783
  float: 'right'
@@ -562,7 +790,7 @@ let corePlugins = {
562
790
  }
563
791
  });
564
792
  },
565
- clear: ({ addUtilities })=>{
793
+ clear: ({ addUtilities })=>{
566
794
  addUtilities({
567
795
  '.clear-left': {
568
796
  clear: 'left'
@@ -578,7 +806,7 @@ let corePlugins = {
578
806
  }
579
807
  });
580
808
  },
581
- margin: (0, _createUtilityPlugin).default('margin', [
809
+ margin: (0, _createUtilityPlugin.default)('margin', [
582
810
  [
583
811
  'm',
584
812
  [
@@ -599,9 +827,21 @@ let corePlugins = {
599
827
  'margin-top',
600
828
  'margin-bottom'
601
829
  ]
602
- ],
830
+ ]
603
831
  ],
604
832
  [
833
+ [
834
+ 'ms',
835
+ [
836
+ 'margin-inline-start'
837
+ ]
838
+ ],
839
+ [
840
+ 'me',
841
+ [
842
+ 'margin-inline-end'
843
+ ]
844
+ ],
605
845
  [
606
846
  'mt',
607
847
  [
@@ -625,12 +865,12 @@ let corePlugins = {
625
865
  [
626
866
  'margin-left'
627
867
  ]
628
- ],
629
- ],
868
+ ]
869
+ ]
630
870
  ], {
631
871
  supportsNegativeValues: true
632
872
  }),
633
- boxSizing: ({ addUtilities })=>{
873
+ boxSizing: ({ addUtilities })=>{
634
874
  addUtilities({
635
875
  '.box-border': {
636
876
  'box-sizing': 'border-box'
@@ -640,7 +880,27 @@ let corePlugins = {
640
880
  }
641
881
  });
642
882
  },
643
- display: ({ addUtilities })=>{
883
+ lineClamp: ({ matchUtilities, addUtilities, theme })=>{
884
+ matchUtilities({
885
+ 'line-clamp': (value)=>({
886
+ overflow: 'hidden',
887
+ display: '-webkit-box',
888
+ '-webkit-box-orient': 'vertical',
889
+ '-webkit-line-clamp': `${value}`
890
+ })
891
+ }, {
892
+ values: theme('lineClamp')
893
+ });
894
+ addUtilities({
895
+ '.line-clamp-none': {
896
+ overflow: 'visible',
897
+ display: 'block',
898
+ '-webkit-box-orient': 'horizontal',
899
+ '-webkit-line-clamp': 'none'
900
+ }
901
+ });
902
+ },
903
+ display: ({ addUtilities })=>{
644
904
  addUtilities({
645
905
  '.block': {
646
906
  display: 'block'
@@ -707,7 +967,7 @@ let corePlugins = {
707
967
  }
708
968
  });
709
969
  },
710
- aspectRatio: (0, _createUtilityPlugin).default('aspectRatio', [
970
+ aspectRatio: (0, _createUtilityPlugin.default)('aspectRatio', [
711
971
  [
712
972
  'aspect',
713
973
  [
@@ -715,7 +975,7 @@ let corePlugins = {
715
975
  ]
716
976
  ]
717
977
  ]),
718
- height: (0, _createUtilityPlugin).default('height', [
978
+ height: (0, _createUtilityPlugin.default)('height', [
719
979
  [
720
980
  'h',
721
981
  [
@@ -723,7 +983,7 @@ let corePlugins = {
723
983
  ]
724
984
  ]
725
985
  ]),
726
- maxHeight: (0, _createUtilityPlugin).default('maxHeight', [
986
+ maxHeight: (0, _createUtilityPlugin.default)('maxHeight', [
727
987
  [
728
988
  'max-h',
729
989
  [
@@ -731,7 +991,7 @@ let corePlugins = {
731
991
  ]
732
992
  ]
733
993
  ]),
734
- minHeight: (0, _createUtilityPlugin).default('minHeight', [
994
+ minHeight: (0, _createUtilityPlugin.default)('minHeight', [
735
995
  [
736
996
  'min-h',
737
997
  [
@@ -739,7 +999,7 @@ let corePlugins = {
739
999
  ]
740
1000
  ]
741
1001
  ]),
742
- width: (0, _createUtilityPlugin).default('width', [
1002
+ width: (0, _createUtilityPlugin.default)('width', [
743
1003
  [
744
1004
  'w',
745
1005
  [
@@ -747,7 +1007,7 @@ let corePlugins = {
747
1007
  ]
748
1008
  ]
749
1009
  ]),
750
- minWidth: (0, _createUtilityPlugin).default('minWidth', [
1010
+ minWidth: (0, _createUtilityPlugin.default)('minWidth', [
751
1011
  [
752
1012
  'min-w',
753
1013
  [
@@ -755,7 +1015,7 @@ let corePlugins = {
755
1015
  ]
756
1016
  ]
757
1017
  ]),
758
- maxWidth: (0, _createUtilityPlugin).default('maxWidth', [
1018
+ maxWidth: (0, _createUtilityPlugin.default)('maxWidth', [
759
1019
  [
760
1020
  'max-w',
761
1021
  [
@@ -763,8 +1023,8 @@ let corePlugins = {
763
1023
  ]
764
1024
  ]
765
1025
  ]),
766
- flex: (0, _createUtilityPlugin).default('flex'),
767
- flexShrink: (0, _createUtilityPlugin).default('flexShrink', [
1026
+ flex: (0, _createUtilityPlugin.default)('flex'),
1027
+ flexShrink: (0, _createUtilityPlugin.default)('flexShrink', [
768
1028
  [
769
1029
  'flex-shrink',
770
1030
  [
@@ -776,9 +1036,9 @@ let corePlugins = {
776
1036
  [
777
1037
  'flex-shrink'
778
1038
  ]
779
- ],
1039
+ ]
780
1040
  ]),
781
- flexGrow: (0, _createUtilityPlugin).default('flexGrow', [
1041
+ flexGrow: (0, _createUtilityPlugin.default)('flexGrow', [
782
1042
  [
783
1043
  'flex-grow',
784
1044
  [
@@ -790,9 +1050,9 @@ let corePlugins = {
790
1050
  [
791
1051
  'flex-grow'
792
1052
  ]
793
- ],
1053
+ ]
794
1054
  ]),
795
- flexBasis: (0, _createUtilityPlugin).default('flexBasis', [
1055
+ flexBasis: (0, _createUtilityPlugin.default)('flexBasis', [
796
1056
  [
797
1057
  'basis',
798
1058
  [
@@ -800,7 +1060,7 @@ let corePlugins = {
800
1060
  ]
801
1061
  ]
802
1062
  ]),
803
- tableLayout: ({ addUtilities })=>{
1063
+ tableLayout: ({ addUtilities })=>{
804
1064
  addUtilities({
805
1065
  '.table-auto': {
806
1066
  'table-layout': 'auto'
@@ -810,7 +1070,17 @@ let corePlugins = {
810
1070
  }
811
1071
  });
812
1072
  },
813
- borderCollapse: ({ addUtilities })=>{
1073
+ captionSide: ({ addUtilities })=>{
1074
+ addUtilities({
1075
+ '.caption-top': {
1076
+ 'caption-side': 'top'
1077
+ },
1078
+ '.caption-bottom': {
1079
+ 'caption-side': 'bottom'
1080
+ }
1081
+ });
1082
+ },
1083
+ borderCollapse: ({ addUtilities })=>{
814
1084
  addUtilities({
815
1085
  '.border-collapse': {
816
1086
  'border-collapse': 'collapse'
@@ -820,7 +1090,39 @@ let corePlugins = {
820
1090
  }
821
1091
  });
822
1092
  },
823
- transformOrigin: (0, _createUtilityPlugin).default('transformOrigin', [
1093
+ borderSpacing: ({ addDefaults, matchUtilities, theme })=>{
1094
+ addDefaults('border-spacing', {
1095
+ '--tw-border-spacing-x': 0,
1096
+ '--tw-border-spacing-y': 0
1097
+ });
1098
+ matchUtilities({
1099
+ 'border-spacing': (value)=>{
1100
+ return {
1101
+ '--tw-border-spacing-x': value,
1102
+ '--tw-border-spacing-y': value,
1103
+ '@defaults border-spacing': {},
1104
+ 'border-spacing': 'var(--tw-border-spacing-x) var(--tw-border-spacing-y)'
1105
+ };
1106
+ },
1107
+ 'border-spacing-x': (value)=>{
1108
+ return {
1109
+ '--tw-border-spacing-x': value,
1110
+ '@defaults border-spacing': {},
1111
+ 'border-spacing': 'var(--tw-border-spacing-x) var(--tw-border-spacing-y)'
1112
+ };
1113
+ },
1114
+ 'border-spacing-y': (value)=>{
1115
+ return {
1116
+ '--tw-border-spacing-y': value,
1117
+ '@defaults border-spacing': {},
1118
+ 'border-spacing': 'var(--tw-border-spacing-x) var(--tw-border-spacing-y)'
1119
+ };
1120
+ }
1121
+ }, {
1122
+ values: theme('borderSpacing')
1123
+ });
1124
+ },
1125
+ transformOrigin: (0, _createUtilityPlugin.default)('transformOrigin', [
824
1126
  [
825
1127
  'origin',
826
1128
  [
@@ -828,7 +1130,7 @@ let corePlugins = {
828
1130
  ]
829
1131
  ]
830
1132
  ]),
831
- translate: (0, _createUtilityPlugin).default('translate', [
1133
+ translate: (0, _createUtilityPlugin.default)('translate', [
832
1134
  [
833
1135
  [
834
1136
  'translate-x',
@@ -842,7 +1144,7 @@ let corePlugins = {
842
1144
  'transform',
843
1145
  cssTransformValue
844
1146
  ]
845
- ],
1147
+ ]
846
1148
  ],
847
1149
  [
848
1150
  'translate-y',
@@ -856,13 +1158,13 @@ let corePlugins = {
856
1158
  'transform',
857
1159
  cssTransformValue
858
1160
  ]
859
- ],
860
- ],
861
- ],
1161
+ ]
1162
+ ]
1163
+ ]
862
1164
  ], {
863
1165
  supportsNegativeValues: true
864
1166
  }),
865
- rotate: (0, _createUtilityPlugin).default('rotate', [
1167
+ rotate: (0, _createUtilityPlugin.default)('rotate', [
866
1168
  [
867
1169
  'rotate',
868
1170
  [
@@ -880,7 +1182,7 @@ let corePlugins = {
880
1182
  ], {
881
1183
  supportsNegativeValues: true
882
1184
  }),
883
- skew: (0, _createUtilityPlugin).default('skew', [
1185
+ skew: (0, _createUtilityPlugin.default)('skew', [
884
1186
  [
885
1187
  [
886
1188
  'skew-x',
@@ -909,12 +1211,12 @@ let corePlugins = {
909
1211
  cssTransformValue
910
1212
  ]
911
1213
  ]
912
- ],
913
- ],
1214
+ ]
1215
+ ]
914
1216
  ], {
915
1217
  supportsNegativeValues: true
916
1218
  }),
917
- scale: (0, _createUtilityPlugin).default('scale', [
1219
+ scale: (0, _createUtilityPlugin.default)('scale', [
918
1220
  [
919
1221
  'scale',
920
1222
  [
@@ -927,8 +1229,8 @@ let corePlugins = {
927
1229
  [
928
1230
  'transform',
929
1231
  cssTransformValue
930
- ],
931
- ],
1232
+ ]
1233
+ ]
932
1234
  ],
933
1235
  [
934
1236
  [
@@ -943,7 +1245,7 @@ let corePlugins = {
943
1245
  'transform',
944
1246
  cssTransformValue
945
1247
  ]
946
- ],
1248
+ ]
947
1249
  ],
948
1250
  [
949
1251
  'scale-y',
@@ -957,13 +1259,13 @@ let corePlugins = {
957
1259
  'transform',
958
1260
  cssTransformValue
959
1261
  ]
960
- ],
961
- ],
962
- ],
1262
+ ]
1263
+ ]
1264
+ ]
963
1265
  ], {
964
1266
  supportsNegativeValues: true
965
1267
  }),
966
- transform: ({ addDefaults , addUtilities })=>{
1268
+ transform: ({ addDefaults, addUtilities })=>{
967
1269
  addDefaults('transform', {
968
1270
  '--tw-translate-x': '0',
969
1271
  '--tw-translate-y': '0',
@@ -989,11 +1291,10 @@ let corePlugins = {
989
1291
  }
990
1292
  });
991
1293
  },
992
- animation: ({ matchUtilities , theme , prefix })=>{
993
- let prefixName = (name)=>prefix(`.${name}`).slice(1)
994
- ;
995
- var ref;
996
- let keyframes = Object.fromEntries(Object.entries((ref = theme('keyframes')) !== null && ref !== void 0 ? ref : {}).map(([key, value])=>{
1294
+ animation: ({ matchUtilities, theme, config })=>{
1295
+ let prefixName = (name)=>(0, _escapeClassName.default)(config('prefix') + name);
1296
+ var _theme;
1297
+ let keyframes = Object.fromEntries(Object.entries((_theme = theme('keyframes')) !== null && _theme !== void 0 ? _theme : {}).map(([key, value])=>{
997
1298
  return [
998
1299
  key,
999
1300
  {
@@ -1002,27 +1303,26 @@ let corePlugins = {
1002
1303
  ];
1003
1304
  }));
1004
1305
  matchUtilities({
1005
- animate: (value1)=>{
1006
- let animations = (0, _parseAnimationValue).default(value1);
1306
+ animate: (value)=>{
1307
+ let animations = (0, _parseAnimationValue.default)(value);
1007
1308
  return [
1008
- ...animations.flatMap((animation)=>keyframes[animation.name]
1009
- ),
1309
+ ...animations.flatMap((animation)=>keyframes[animation.name]),
1010
1310
  {
1011
- animation: animations.map(({ name , value })=>{
1311
+ animation: animations.map(({ name, value })=>{
1012
1312
  if (name === undefined || keyframes[name] === undefined) {
1013
1313
  return value;
1014
1314
  }
1015
1315
  return value.replace(name, prefixName(name));
1016
1316
  }).join(', ')
1017
- },
1317
+ }
1018
1318
  ];
1019
1319
  }
1020
1320
  }, {
1021
1321
  values: theme('animation')
1022
1322
  });
1023
1323
  },
1024
- cursor: (0, _createUtilityPlugin).default('cursor'),
1025
- touchAction: ({ addDefaults , addUtilities })=>{
1324
+ cursor: (0, _createUtilityPlugin.default)('cursor'),
1325
+ touchAction: ({ addDefaults, addUtilities })=>{
1026
1326
  addDefaults('touch-action', {
1027
1327
  '--tw-pan-x': ' ',
1028
1328
  '--tw-pan-y': ' ',
@@ -1076,7 +1376,7 @@ let corePlugins = {
1076
1376
  }
1077
1377
  });
1078
1378
  },
1079
- userSelect: ({ addUtilities })=>{
1379
+ userSelect: ({ addUtilities })=>{
1080
1380
  addUtilities({
1081
1381
  '.select-none': {
1082
1382
  'user-select': 'none'
@@ -1092,7 +1392,7 @@ let corePlugins = {
1092
1392
  }
1093
1393
  });
1094
1394
  },
1095
- resize: ({ addUtilities })=>{
1395
+ resize: ({ addUtilities })=>{
1096
1396
  addUtilities({
1097
1397
  '.resize-none': {
1098
1398
  resize: 'none'
@@ -1108,7 +1408,7 @@ let corePlugins = {
1108
1408
  }
1109
1409
  });
1110
1410
  },
1111
- scrollSnapType: ({ addDefaults , addUtilities })=>{
1411
+ scrollSnapType: ({ addDefaults, addUtilities })=>{
1112
1412
  addDefaults('scroll-snap-type', {
1113
1413
  '--tw-scroll-snap-strictness': 'proximity'
1114
1414
  });
@@ -1136,7 +1436,7 @@ let corePlugins = {
1136
1436
  }
1137
1437
  });
1138
1438
  },
1139
- scrollSnapAlign: ({ addUtilities })=>{
1439
+ scrollSnapAlign: ({ addUtilities })=>{
1140
1440
  addUtilities({
1141
1441
  '.snap-start': {
1142
1442
  'scroll-snap-align': 'start'
@@ -1152,7 +1452,7 @@ let corePlugins = {
1152
1452
  }
1153
1453
  });
1154
1454
  },
1155
- scrollSnapStop: ({ addUtilities })=>{
1455
+ scrollSnapStop: ({ addUtilities })=>{
1156
1456
  addUtilities({
1157
1457
  '.snap-normal': {
1158
1458
  'scroll-snap-stop': 'normal'
@@ -1162,7 +1462,7 @@ let corePlugins = {
1162
1462
  }
1163
1463
  });
1164
1464
  },
1165
- scrollMargin: (0, _createUtilityPlugin).default('scrollMargin', [
1465
+ scrollMargin: (0, _createUtilityPlugin.default)('scrollMargin', [
1166
1466
  [
1167
1467
  'scroll-m',
1168
1468
  [
@@ -1183,9 +1483,21 @@ let corePlugins = {
1183
1483
  'scroll-margin-top',
1184
1484
  'scroll-margin-bottom'
1185
1485
  ]
1186
- ],
1486
+ ]
1187
1487
  ],
1188
1488
  [
1489
+ [
1490
+ 'scroll-ms',
1491
+ [
1492
+ 'scroll-margin-inline-start'
1493
+ ]
1494
+ ],
1495
+ [
1496
+ 'scroll-me',
1497
+ [
1498
+ 'scroll-margin-inline-end'
1499
+ ]
1500
+ ],
1189
1501
  [
1190
1502
  'scroll-mt',
1191
1503
  [
@@ -1209,12 +1521,12 @@ let corePlugins = {
1209
1521
  [
1210
1522
  'scroll-margin-left'
1211
1523
  ]
1212
- ],
1213
- ],
1524
+ ]
1525
+ ]
1214
1526
  ], {
1215
1527
  supportsNegativeValues: true
1216
1528
  }),
1217
- scrollPadding: (0, _createUtilityPlugin).default('scrollPadding', [
1529
+ scrollPadding: (0, _createUtilityPlugin.default)('scrollPadding', [
1218
1530
  [
1219
1531
  'scroll-p',
1220
1532
  [
@@ -1235,9 +1547,21 @@ let corePlugins = {
1235
1547
  'scroll-padding-top',
1236
1548
  'scroll-padding-bottom'
1237
1549
  ]
1238
- ],
1550
+ ]
1239
1551
  ],
1240
1552
  [
1553
+ [
1554
+ 'scroll-ps',
1555
+ [
1556
+ 'scroll-padding-inline-start'
1557
+ ]
1558
+ ],
1559
+ [
1560
+ 'scroll-pe',
1561
+ [
1562
+ 'scroll-padding-inline-end'
1563
+ ]
1564
+ ],
1241
1565
  [
1242
1566
  'scroll-pt',
1243
1567
  [
@@ -1261,10 +1585,10 @@ let corePlugins = {
1261
1585
  [
1262
1586
  'scroll-padding-left'
1263
1587
  ]
1264
- ],
1265
- ],
1588
+ ]
1589
+ ]
1266
1590
  ]),
1267
- listStylePosition: ({ addUtilities })=>{
1591
+ listStylePosition: ({ addUtilities })=>{
1268
1592
  addUtilities({
1269
1593
  '.list-inside': {
1270
1594
  'list-style-position': 'inside'
@@ -1274,7 +1598,7 @@ let corePlugins = {
1274
1598
  }
1275
1599
  });
1276
1600
  },
1277
- listStyleType: (0, _createUtilityPlugin).default('listStyleType', [
1601
+ listStyleType: (0, _createUtilityPlugin.default)('listStyleType', [
1278
1602
  [
1279
1603
  'list',
1280
1604
  [
@@ -1282,14 +1606,22 @@ let corePlugins = {
1282
1606
  ]
1283
1607
  ]
1284
1608
  ]),
1285
- appearance: ({ addUtilities })=>{
1609
+ listStyleImage: (0, _createUtilityPlugin.default)('listStyleImage', [
1610
+ [
1611
+ 'list-image',
1612
+ [
1613
+ 'listStyleImage'
1614
+ ]
1615
+ ]
1616
+ ]),
1617
+ appearance: ({ addUtilities })=>{
1286
1618
  addUtilities({
1287
1619
  '.appearance-none': {
1288
1620
  appearance: 'none'
1289
1621
  }
1290
1622
  });
1291
1623
  },
1292
- columns: (0, _createUtilityPlugin).default('columns', [
1624
+ columns: (0, _createUtilityPlugin.default)('columns', [
1293
1625
  [
1294
1626
  'columns',
1295
1627
  [
@@ -1297,7 +1629,7 @@ let corePlugins = {
1297
1629
  ]
1298
1630
  ]
1299
1631
  ]),
1300
- breakBefore: ({ addUtilities })=>{
1632
+ breakBefore: ({ addUtilities })=>{
1301
1633
  addUtilities({
1302
1634
  '.break-before-auto': {
1303
1635
  'break-before': 'auto'
@@ -1325,7 +1657,7 @@ let corePlugins = {
1325
1657
  }
1326
1658
  });
1327
1659
  },
1328
- breakInside: ({ addUtilities })=>{
1660
+ breakInside: ({ addUtilities })=>{
1329
1661
  addUtilities({
1330
1662
  '.break-inside-auto': {
1331
1663
  'break-inside': 'auto'
@@ -1341,7 +1673,7 @@ let corePlugins = {
1341
1673
  }
1342
1674
  });
1343
1675
  },
1344
- breakAfter: ({ addUtilities })=>{
1676
+ breakAfter: ({ addUtilities })=>{
1345
1677
  addUtilities({
1346
1678
  '.break-after-auto': {
1347
1679
  'break-after': 'auto'
@@ -1369,7 +1701,7 @@ let corePlugins = {
1369
1701
  }
1370
1702
  });
1371
1703
  },
1372
- gridAutoColumns: (0, _createUtilityPlugin).default('gridAutoColumns', [
1704
+ gridAutoColumns: (0, _createUtilityPlugin.default)('gridAutoColumns', [
1373
1705
  [
1374
1706
  'auto-cols',
1375
1707
  [
@@ -1377,7 +1709,7 @@ let corePlugins = {
1377
1709
  ]
1378
1710
  ]
1379
1711
  ]),
1380
- gridAutoFlow: ({ addUtilities })=>{
1712
+ gridAutoFlow: ({ addUtilities })=>{
1381
1713
  addUtilities({
1382
1714
  '.grid-flow-row': {
1383
1715
  gridAutoFlow: 'row'
@@ -1385,6 +1717,9 @@ let corePlugins = {
1385
1717
  '.grid-flow-col': {
1386
1718
  gridAutoFlow: 'column'
1387
1719
  },
1720
+ '.grid-flow-dense': {
1721
+ gridAutoFlow: 'dense'
1722
+ },
1388
1723
  '.grid-flow-row-dense': {
1389
1724
  gridAutoFlow: 'row dense'
1390
1725
  },
@@ -1393,7 +1728,7 @@ let corePlugins = {
1393
1728
  }
1394
1729
  });
1395
1730
  },
1396
- gridAutoRows: (0, _createUtilityPlugin).default('gridAutoRows', [
1731
+ gridAutoRows: (0, _createUtilityPlugin.default)('gridAutoRows', [
1397
1732
  [
1398
1733
  'auto-rows',
1399
1734
  [
@@ -1401,15 +1736,15 @@ let corePlugins = {
1401
1736
  ]
1402
1737
  ]
1403
1738
  ]),
1404
- gridTemplateColumns: (0, _createUtilityPlugin).default('gridTemplateColumns', [
1739
+ gridTemplateColumns: (0, _createUtilityPlugin.default)('gridTemplateColumns', [
1405
1740
  [
1406
1741
  'grid-cols',
1407
1742
  [
1408
1743
  'gridTemplateColumns'
1409
1744
  ]
1410
- ],
1745
+ ]
1411
1746
  ]),
1412
- gridTemplateRows: (0, _createUtilityPlugin).default('gridTemplateRows', [
1747
+ gridTemplateRows: (0, _createUtilityPlugin.default)('gridTemplateRows', [
1413
1748
  [
1414
1749
  'grid-rows',
1415
1750
  [
@@ -1417,7 +1752,7 @@ let corePlugins = {
1417
1752
  ]
1418
1753
  ]
1419
1754
  ]),
1420
- flexDirection: ({ addUtilities })=>{
1755
+ flexDirection: ({ addUtilities })=>{
1421
1756
  addUtilities({
1422
1757
  '.flex-row': {
1423
1758
  'flex-direction': 'row'
@@ -1433,7 +1768,7 @@ let corePlugins = {
1433
1768
  }
1434
1769
  });
1435
1770
  },
1436
- flexWrap: ({ addUtilities })=>{
1771
+ flexWrap: ({ addUtilities })=>{
1437
1772
  addUtilities({
1438
1773
  '.flex-wrap': {
1439
1774
  'flex-wrap': 'wrap'
@@ -1446,7 +1781,7 @@ let corePlugins = {
1446
1781
  }
1447
1782
  });
1448
1783
  },
1449
- placeContent: ({ addUtilities })=>{
1784
+ placeContent: ({ addUtilities })=>{
1450
1785
  addUtilities({
1451
1786
  '.place-content-center': {
1452
1787
  'place-content': 'center'
@@ -1466,12 +1801,15 @@ let corePlugins = {
1466
1801
  '.place-content-evenly': {
1467
1802
  'place-content': 'space-evenly'
1468
1803
  },
1804
+ '.place-content-baseline': {
1805
+ 'place-content': 'baseline'
1806
+ },
1469
1807
  '.place-content-stretch': {
1470
1808
  'place-content': 'stretch'
1471
1809
  }
1472
1810
  });
1473
1811
  },
1474
- placeItems: ({ addUtilities })=>{
1812
+ placeItems: ({ addUtilities })=>{
1475
1813
  addUtilities({
1476
1814
  '.place-items-start': {
1477
1815
  'place-items': 'start'
@@ -1482,13 +1820,19 @@ let corePlugins = {
1482
1820
  '.place-items-center': {
1483
1821
  'place-items': 'center'
1484
1822
  },
1823
+ '.place-items-baseline': {
1824
+ 'place-items': 'baseline'
1825
+ },
1485
1826
  '.place-items-stretch': {
1486
1827
  'place-items': 'stretch'
1487
1828
  }
1488
1829
  });
1489
1830
  },
1490
- alignContent: ({ addUtilities })=>{
1831
+ alignContent: ({ addUtilities })=>{
1491
1832
  addUtilities({
1833
+ '.content-normal': {
1834
+ 'align-content': 'normal'
1835
+ },
1492
1836
  '.content-center': {
1493
1837
  'align-content': 'center'
1494
1838
  },
@@ -1506,10 +1850,16 @@ let corePlugins = {
1506
1850
  },
1507
1851
  '.content-evenly': {
1508
1852
  'align-content': 'space-evenly'
1853
+ },
1854
+ '.content-baseline': {
1855
+ 'align-content': 'baseline'
1856
+ },
1857
+ '.content-stretch': {
1858
+ 'align-content': 'stretch'
1509
1859
  }
1510
1860
  });
1511
1861
  },
1512
- alignItems: ({ addUtilities })=>{
1862
+ alignItems: ({ addUtilities })=>{
1513
1863
  addUtilities({
1514
1864
  '.items-start': {
1515
1865
  'align-items': 'flex-start'
@@ -1528,8 +1878,11 @@ let corePlugins = {
1528
1878
  }
1529
1879
  });
1530
1880
  },
1531
- justifyContent: ({ addUtilities })=>{
1881
+ justifyContent: ({ addUtilities })=>{
1532
1882
  addUtilities({
1883
+ '.justify-normal': {
1884
+ 'justify-content': 'normal'
1885
+ },
1533
1886
  '.justify-start': {
1534
1887
  'justify-content': 'flex-start'
1535
1888
  },
@@ -1547,10 +1900,13 @@ let corePlugins = {
1547
1900
  },
1548
1901
  '.justify-evenly': {
1549
1902
  'justify-content': 'space-evenly'
1903
+ },
1904
+ '.justify-stretch': {
1905
+ 'justify-content': 'stretch'
1550
1906
  }
1551
1907
  });
1552
1908
  },
1553
- justifyItems: ({ addUtilities })=>{
1909
+ justifyItems: ({ addUtilities })=>{
1554
1910
  addUtilities({
1555
1911
  '.justify-items-start': {
1556
1912
  'justify-items': 'start'
@@ -1566,7 +1922,7 @@ let corePlugins = {
1566
1922
  }
1567
1923
  });
1568
1924
  },
1569
- gap: (0, _createUtilityPlugin).default('gap', [
1925
+ gap: (0, _createUtilityPlugin.default)('gap', [
1570
1926
  [
1571
1927
  'gap',
1572
1928
  [
@@ -1585,13 +1941,22 @@ let corePlugins = {
1585
1941
  [
1586
1942
  'rowGap'
1587
1943
  ]
1588
- ],
1589
- ],
1944
+ ]
1945
+ ]
1590
1946
  ]),
1591
- space: ({ matchUtilities , addUtilities , theme })=>{
1947
+ space: ({ matchUtilities, addUtilities, theme, config })=>{
1592
1948
  matchUtilities({
1593
1949
  'space-x': (value)=>{
1594
1950
  value = value === '0' ? '0px' : value;
1951
+ if ((0, _featureFlags.flagEnabled)(config(), 'logicalSiblingUtilities')) {
1952
+ return {
1953
+ '& > :not([hidden]) ~ :not([hidden])': {
1954
+ '--tw-space-x-reverse': '0',
1955
+ 'margin-inline-end': `calc(${value} * var(--tw-space-x-reverse))`,
1956
+ 'margin-inline-start': `calc(${value} * calc(1 - var(--tw-space-x-reverse)))`
1957
+ }
1958
+ };
1959
+ }
1595
1960
  return {
1596
1961
  '& > :not([hidden]) ~ :not([hidden])': {
1597
1962
  '--tw-space-x-reverse': '0',
@@ -1623,10 +1988,20 @@ let corePlugins = {
1623
1988
  }
1624
1989
  });
1625
1990
  },
1626
- divideWidth: ({ matchUtilities , addUtilities , theme })=>{
1991
+ divideWidth: ({ matchUtilities, addUtilities, theme, config })=>{
1627
1992
  matchUtilities({
1628
1993
  'divide-x': (value)=>{
1629
1994
  value = value === '0' ? '0px' : value;
1995
+ if ((0, _featureFlags.flagEnabled)(config(), 'logicalSiblingUtilities')) {
1996
+ return {
1997
+ '& > :not([hidden]) ~ :not([hidden])': {
1998
+ '@defaults border-width': {},
1999
+ '--tw-divide-x-reverse': '0',
2000
+ 'border-inline-end-width': `calc(${value} * var(--tw-divide-x-reverse))`,
2001
+ 'border-inline-start-width': `calc(${value} * calc(1 - var(--tw-divide-x-reverse)))`
2002
+ }
2003
+ };
2004
+ }
1630
2005
  return {
1631
2006
  '& > :not([hidden]) ~ :not([hidden])': {
1632
2007
  '@defaults border-width': {},
@@ -1651,7 +2026,8 @@ let corePlugins = {
1651
2026
  values: theme('divideWidth'),
1652
2027
  type: [
1653
2028
  'line-width',
1654
- 'length'
2029
+ 'length',
2030
+ 'any'
1655
2031
  ]
1656
2032
  });
1657
2033
  addUtilities({
@@ -1665,7 +2041,7 @@ let corePlugins = {
1665
2041
  }
1666
2042
  });
1667
2043
  },
1668
- divideStyle: ({ addUtilities })=>{
2044
+ divideStyle: ({ addUtilities })=>{
1669
2045
  addUtilities({
1670
2046
  '.divide-solid > :not([hidden]) ~ :not([hidden])': {
1671
2047
  'border-style': 'solid'
@@ -1684,18 +2060,18 @@ let corePlugins = {
1684
2060
  }
1685
2061
  });
1686
2062
  },
1687
- divideColor: ({ matchUtilities , theme , corePlugins: corePlugins1 })=>{
2063
+ divideColor: ({ matchUtilities, theme, corePlugins })=>{
1688
2064
  matchUtilities({
1689
2065
  divide: (value)=>{
1690
- if (!corePlugins1('divideOpacity')) {
2066
+ if (!corePlugins('divideOpacity')) {
1691
2067
  return {
1692
2068
  ['& > :not([hidden]) ~ :not([hidden])']: {
1693
- 'border-color': (0, _toColorValue).default(value)
2069
+ 'border-color': (0, _toColorValue.default)(value)
1694
2070
  }
1695
2071
  };
1696
2072
  }
1697
2073
  return {
1698
- ['& > :not([hidden]) ~ :not([hidden])']: (0, _withAlphaVariable).default({
2074
+ ['& > :not([hidden]) ~ :not([hidden])']: (0, _withAlphaVariable.default)({
1699
2075
  color: value,
1700
2076
  property: 'border-color',
1701
2077
  variable: '--tw-divide-opacity'
@@ -1703,12 +2079,14 @@ let corePlugins = {
1703
2079
  };
1704
2080
  }
1705
2081
  }, {
1706
- values: (({ DEFAULT: _ , ...colors })=>colors
1707
- )((0, _flattenColorPalette).default(theme('divideColor'))),
1708
- type: 'color'
2082
+ values: (({ DEFAULT: _, ...colors })=>colors)((0, _flattenColorPalette.default)(theme('divideColor'))),
2083
+ type: [
2084
+ 'color',
2085
+ 'any'
2086
+ ]
1709
2087
  });
1710
2088
  },
1711
- divideOpacity: ({ matchUtilities , theme })=>{
2089
+ divideOpacity: ({ matchUtilities, theme })=>{
1712
2090
  matchUtilities({
1713
2091
  'divide-opacity': (value)=>{
1714
2092
  return {
@@ -1721,7 +2099,7 @@ let corePlugins = {
1721
2099
  values: theme('divideOpacity')
1722
2100
  });
1723
2101
  },
1724
- placeSelf: ({ addUtilities })=>{
2102
+ placeSelf: ({ addUtilities })=>{
1725
2103
  addUtilities({
1726
2104
  '.place-self-auto': {
1727
2105
  'place-self': 'auto'
@@ -1740,7 +2118,7 @@ let corePlugins = {
1740
2118
  }
1741
2119
  });
1742
2120
  },
1743
- alignSelf: ({ addUtilities })=>{
2121
+ alignSelf: ({ addUtilities })=>{
1744
2122
  addUtilities({
1745
2123
  '.self-auto': {
1746
2124
  'align-self': 'auto'
@@ -1762,7 +2140,7 @@ let corePlugins = {
1762
2140
  }
1763
2141
  });
1764
2142
  },
1765
- justifySelf: ({ addUtilities })=>{
2143
+ justifySelf: ({ addUtilities })=>{
1766
2144
  addUtilities({
1767
2145
  '.justify-self-auto': {
1768
2146
  'justify-self': 'auto'
@@ -1781,7 +2159,7 @@ let corePlugins = {
1781
2159
  }
1782
2160
  });
1783
2161
  },
1784
- overflow: ({ addUtilities })=>{
2162
+ overflow: ({ addUtilities })=>{
1785
2163
  addUtilities({
1786
2164
  '.overflow-auto': {
1787
2165
  overflow: 'auto'
@@ -1830,7 +2208,7 @@ let corePlugins = {
1830
2208
  }
1831
2209
  });
1832
2210
  },
1833
- overscrollBehavior: ({ addUtilities })=>{
2211
+ overscrollBehavior: ({ addUtilities })=>{
1834
2212
  addUtilities({
1835
2213
  '.overscroll-auto': {
1836
2214
  'overscroll-behavior': 'auto'
@@ -1861,7 +2239,7 @@ let corePlugins = {
1861
2239
  }
1862
2240
  });
1863
2241
  },
1864
- scrollBehavior: ({ addUtilities })=>{
2242
+ scrollBehavior: ({ addUtilities })=>{
1865
2243
  addUtilities({
1866
2244
  '.scroll-auto': {
1867
2245
  'scroll-behavior': 'auto'
@@ -1871,7 +2249,7 @@ let corePlugins = {
1871
2249
  }
1872
2250
  });
1873
2251
  },
1874
- textOverflow: ({ addUtilities })=>{
2252
+ textOverflow: ({ addUtilities })=>{
1875
2253
  addUtilities({
1876
2254
  '.truncate': {
1877
2255
  overflow: 'hidden',
@@ -1889,7 +2267,20 @@ let corePlugins = {
1889
2267
  }
1890
2268
  });
1891
2269
  },
1892
- whitespace: ({ addUtilities })=>{
2270
+ hyphens: ({ addUtilities })=>{
2271
+ addUtilities({
2272
+ '.hyphens-none': {
2273
+ hyphens: 'none'
2274
+ },
2275
+ '.hyphens-manual': {
2276
+ hyphens: 'manual'
2277
+ },
2278
+ '.hyphens-auto': {
2279
+ hyphens: 'auto'
2280
+ }
2281
+ });
2282
+ },
2283
+ whitespace: ({ addUtilities })=>{
1893
2284
  addUtilities({
1894
2285
  '.whitespace-normal': {
1895
2286
  'white-space': 'normal'
@@ -1905,10 +2296,29 @@ let corePlugins = {
1905
2296
  },
1906
2297
  '.whitespace-pre-wrap': {
1907
2298
  'white-space': 'pre-wrap'
2299
+ },
2300
+ '.whitespace-break-spaces': {
2301
+ 'white-space': 'break-spaces'
1908
2302
  }
1909
2303
  });
1910
2304
  },
1911
- wordBreak: ({ addUtilities })=>{
2305
+ textWrap: ({ addUtilities })=>{
2306
+ addUtilities({
2307
+ '.text-wrap': {
2308
+ 'text-wrap': 'wrap'
2309
+ },
2310
+ '.text-nowrap': {
2311
+ 'text-wrap': 'nowrap'
2312
+ },
2313
+ '.text-balance': {
2314
+ 'text-wrap': 'balance'
2315
+ },
2316
+ '.text-pretty': {
2317
+ 'text-wrap': 'pretty'
2318
+ }
2319
+ });
2320
+ },
2321
+ wordBreak: ({ addUtilities })=>{
1912
2322
  addUtilities({
1913
2323
  '.break-normal': {
1914
2324
  'overflow-wrap': 'normal',
@@ -1919,10 +2329,13 @@ let corePlugins = {
1919
2329
  },
1920
2330
  '.break-all': {
1921
2331
  'word-break': 'break-all'
2332
+ },
2333
+ '.break-keep': {
2334
+ 'word-break': 'keep-all'
1922
2335
  }
1923
2336
  });
1924
2337
  },
1925
- borderRadius: (0, _createUtilityPlugin).default('borderRadius', [
2338
+ borderRadius: (0, _createUtilityPlugin.default)('borderRadius', [
1926
2339
  [
1927
2340
  'rounded',
1928
2341
  [
@@ -1930,6 +2343,20 @@ let corePlugins = {
1930
2343
  ]
1931
2344
  ],
1932
2345
  [
2346
+ [
2347
+ 'rounded-s',
2348
+ [
2349
+ 'border-start-start-radius',
2350
+ 'border-end-start-radius'
2351
+ ]
2352
+ ],
2353
+ [
2354
+ 'rounded-e',
2355
+ [
2356
+ 'border-start-end-radius',
2357
+ 'border-end-end-radius'
2358
+ ]
2359
+ ],
1933
2360
  [
1934
2361
  'rounded-t',
1935
2362
  [
@@ -1957,9 +2384,33 @@ let corePlugins = {
1957
2384
  'border-top-left-radius',
1958
2385
  'border-bottom-left-radius'
1959
2386
  ]
1960
- ],
2387
+ ]
1961
2388
  ],
1962
2389
  [
2390
+ [
2391
+ 'rounded-ss',
2392
+ [
2393
+ 'border-start-start-radius'
2394
+ ]
2395
+ ],
2396
+ [
2397
+ 'rounded-se',
2398
+ [
2399
+ 'border-start-end-radius'
2400
+ ]
2401
+ ],
2402
+ [
2403
+ 'rounded-ee',
2404
+ [
2405
+ 'border-end-end-radius'
2406
+ ]
2407
+ ],
2408
+ [
2409
+ 'rounded-es',
2410
+ [
2411
+ 'border-end-start-radius'
2412
+ ]
2413
+ ],
1963
2414
  [
1964
2415
  'rounded-tl',
1965
2416
  [
@@ -1983,10 +2434,10 @@ let corePlugins = {
1983
2434
  [
1984
2435
  'border-bottom-left-radius'
1985
2436
  ]
1986
- ],
1987
- ],
2437
+ ]
2438
+ ]
1988
2439
  ]),
1989
- borderWidth: (0, _createUtilityPlugin).default('borderWidth', [
2440
+ borderWidth: (0, _createUtilityPlugin.default)('borderWidth', [
1990
2441
  [
1991
2442
  'border',
1992
2443
  [
@@ -2019,9 +2470,29 @@ let corePlugins = {
2019
2470
  'border-top-width',
2020
2471
  'border-bottom-width'
2021
2472
  ]
2022
- ],
2473
+ ]
2023
2474
  ],
2024
2475
  [
2476
+ [
2477
+ 'border-s',
2478
+ [
2479
+ [
2480
+ '@defaults border-width',
2481
+ {}
2482
+ ],
2483
+ 'border-inline-start-width'
2484
+ ]
2485
+ ],
2486
+ [
2487
+ 'border-e',
2488
+ [
2489
+ [
2490
+ '@defaults border-width',
2491
+ {}
2492
+ ],
2493
+ 'border-inline-end-width'
2494
+ ]
2495
+ ],
2025
2496
  [
2026
2497
  'border-t',
2027
2498
  [
@@ -2061,15 +2532,15 @@ let corePlugins = {
2061
2532
  ],
2062
2533
  'border-left-width'
2063
2534
  ]
2064
- ],
2065
- ],
2535
+ ]
2536
+ ]
2066
2537
  ], {
2067
2538
  type: [
2068
2539
  'line-width',
2069
2540
  'length'
2070
2541
  ]
2071
2542
  }),
2072
- borderStyle: ({ addUtilities })=>{
2543
+ borderStyle: ({ addUtilities })=>{
2073
2544
  addUtilities({
2074
2545
  '.border-solid': {
2075
2546
  'border-style': 'solid'
@@ -2091,36 +2562,36 @@ let corePlugins = {
2091
2562
  }
2092
2563
  });
2093
2564
  },
2094
- borderColor: ({ matchUtilities , theme , corePlugins: corePlugins2 })=>{
2565
+ borderColor: ({ matchUtilities, theme, corePlugins })=>{
2095
2566
  matchUtilities({
2096
2567
  border: (value)=>{
2097
- if (!corePlugins2('borderOpacity')) {
2568
+ if (!corePlugins('borderOpacity')) {
2098
2569
  return {
2099
- 'border-color': (0, _toColorValue).default(value)
2570
+ 'border-color': (0, _toColorValue.default)(value)
2100
2571
  };
2101
2572
  }
2102
- return (0, _withAlphaVariable).default({
2573
+ return (0, _withAlphaVariable.default)({
2103
2574
  color: value,
2104
2575
  property: 'border-color',
2105
2576
  variable: '--tw-border-opacity'
2106
2577
  });
2107
2578
  }
2108
2579
  }, {
2109
- values: (({ DEFAULT: _ , ...colors })=>colors
2110
- )((0, _flattenColorPalette).default(theme('borderColor'))),
2580
+ values: (({ DEFAULT: _, ...colors })=>colors)((0, _flattenColorPalette.default)(theme('borderColor'))),
2111
2581
  type: [
2112
- 'color'
2582
+ 'color',
2583
+ 'any'
2113
2584
  ]
2114
2585
  });
2115
2586
  matchUtilities({
2116
2587
  'border-x': (value)=>{
2117
- if (!corePlugins2('borderOpacity')) {
2588
+ if (!corePlugins('borderOpacity')) {
2118
2589
  return {
2119
- 'border-left-color': (0, _toColorValue).default(value),
2120
- 'border-right-color': (0, _toColorValue).default(value)
2590
+ 'border-left-color': (0, _toColorValue.default)(value),
2591
+ 'border-right-color': (0, _toColorValue.default)(value)
2121
2592
  };
2122
2593
  }
2123
- return (0, _withAlphaVariable).default({
2594
+ return (0, _withAlphaVariable.default)({
2124
2595
  color: value,
2125
2596
  property: [
2126
2597
  'border-left-color',
@@ -2130,13 +2601,13 @@ let corePlugins = {
2130
2601
  });
2131
2602
  },
2132
2603
  'border-y': (value)=>{
2133
- if (!corePlugins2('borderOpacity')) {
2604
+ if (!corePlugins('borderOpacity')) {
2134
2605
  return {
2135
- 'border-top-color': (0, _toColorValue).default(value),
2136
- 'border-bottom-color': (0, _toColorValue).default(value)
2606
+ 'border-top-color': (0, _toColorValue.default)(value),
2607
+ 'border-bottom-color': (0, _toColorValue.default)(value)
2137
2608
  };
2138
2609
  }
2139
- return (0, _withAlphaVariable).default({
2610
+ return (0, _withAlphaVariable.default)({
2140
2611
  color: value,
2141
2612
  property: [
2142
2613
  'border-top-color',
@@ -2146,101 +2617,132 @@ let corePlugins = {
2146
2617
  });
2147
2618
  }
2148
2619
  }, {
2149
- values: (({ DEFAULT: _ , ...colors })=>colors
2150
- )((0, _flattenColorPalette).default(theme('borderColor'))),
2151
- type: 'color'
2620
+ values: (({ DEFAULT: _, ...colors })=>colors)((0, _flattenColorPalette.default)(theme('borderColor'))),
2621
+ type: [
2622
+ 'color',
2623
+ 'any'
2624
+ ]
2152
2625
  });
2153
2626
  matchUtilities({
2627
+ 'border-s': (value)=>{
2628
+ if (!corePlugins('borderOpacity')) {
2629
+ return {
2630
+ 'border-inline-start-color': (0, _toColorValue.default)(value)
2631
+ };
2632
+ }
2633
+ return (0, _withAlphaVariable.default)({
2634
+ color: value,
2635
+ property: 'border-inline-start-color',
2636
+ variable: '--tw-border-opacity'
2637
+ });
2638
+ },
2639
+ 'border-e': (value)=>{
2640
+ if (!corePlugins('borderOpacity')) {
2641
+ return {
2642
+ 'border-inline-end-color': (0, _toColorValue.default)(value)
2643
+ };
2644
+ }
2645
+ return (0, _withAlphaVariable.default)({
2646
+ color: value,
2647
+ property: 'border-inline-end-color',
2648
+ variable: '--tw-border-opacity'
2649
+ });
2650
+ },
2154
2651
  'border-t': (value)=>{
2155
- if (!corePlugins2('borderOpacity')) {
2652
+ if (!corePlugins('borderOpacity')) {
2156
2653
  return {
2157
- 'border-top-color': (0, _toColorValue).default(value)
2654
+ 'border-top-color': (0, _toColorValue.default)(value)
2158
2655
  };
2159
2656
  }
2160
- return (0, _withAlphaVariable).default({
2657
+ return (0, _withAlphaVariable.default)({
2161
2658
  color: value,
2162
2659
  property: 'border-top-color',
2163
2660
  variable: '--tw-border-opacity'
2164
2661
  });
2165
2662
  },
2166
2663
  'border-r': (value)=>{
2167
- if (!corePlugins2('borderOpacity')) {
2664
+ if (!corePlugins('borderOpacity')) {
2168
2665
  return {
2169
- 'border-right-color': (0, _toColorValue).default(value)
2666
+ 'border-right-color': (0, _toColorValue.default)(value)
2170
2667
  };
2171
2668
  }
2172
- return (0, _withAlphaVariable).default({
2669
+ return (0, _withAlphaVariable.default)({
2173
2670
  color: value,
2174
2671
  property: 'border-right-color',
2175
2672
  variable: '--tw-border-opacity'
2176
2673
  });
2177
2674
  },
2178
2675
  'border-b': (value)=>{
2179
- if (!corePlugins2('borderOpacity')) {
2676
+ if (!corePlugins('borderOpacity')) {
2180
2677
  return {
2181
- 'border-bottom-color': (0, _toColorValue).default(value)
2678
+ 'border-bottom-color': (0, _toColorValue.default)(value)
2182
2679
  };
2183
2680
  }
2184
- return (0, _withAlphaVariable).default({
2681
+ return (0, _withAlphaVariable.default)({
2185
2682
  color: value,
2186
2683
  property: 'border-bottom-color',
2187
2684
  variable: '--tw-border-opacity'
2188
2685
  });
2189
2686
  },
2190
2687
  'border-l': (value)=>{
2191
- if (!corePlugins2('borderOpacity')) {
2688
+ if (!corePlugins('borderOpacity')) {
2192
2689
  return {
2193
- 'border-left-color': (0, _toColorValue).default(value)
2690
+ 'border-left-color': (0, _toColorValue.default)(value)
2194
2691
  };
2195
2692
  }
2196
- return (0, _withAlphaVariable).default({
2693
+ return (0, _withAlphaVariable.default)({
2197
2694
  color: value,
2198
2695
  property: 'border-left-color',
2199
2696
  variable: '--tw-border-opacity'
2200
2697
  });
2201
2698
  }
2202
2699
  }, {
2203
- values: (({ DEFAULT: _ , ...colors })=>colors
2204
- )((0, _flattenColorPalette).default(theme('borderColor'))),
2205
- type: 'color'
2700
+ values: (({ DEFAULT: _, ...colors })=>colors)((0, _flattenColorPalette.default)(theme('borderColor'))),
2701
+ type: [
2702
+ 'color',
2703
+ 'any'
2704
+ ]
2206
2705
  });
2207
2706
  },
2208
- borderOpacity: (0, _createUtilityPlugin).default('borderOpacity', [
2707
+ borderOpacity: (0, _createUtilityPlugin.default)('borderOpacity', [
2209
2708
  [
2210
2709
  'border-opacity',
2211
2710
  [
2212
2711
  '--tw-border-opacity'
2213
2712
  ]
2214
- ],
2713
+ ]
2215
2714
  ]),
2216
- backgroundColor: ({ matchUtilities , theme , corePlugins: corePlugins3 })=>{
2715
+ backgroundColor: ({ matchUtilities, theme, corePlugins })=>{
2217
2716
  matchUtilities({
2218
2717
  bg: (value)=>{
2219
- if (!corePlugins3('backgroundOpacity')) {
2718
+ if (!corePlugins('backgroundOpacity')) {
2220
2719
  return {
2221
- 'background-color': (0, _toColorValue).default(value)
2720
+ 'background-color': (0, _toColorValue.default)(value)
2222
2721
  };
2223
2722
  }
2224
- return (0, _withAlphaVariable).default({
2723
+ return (0, _withAlphaVariable.default)({
2225
2724
  color: value,
2226
2725
  property: 'background-color',
2227
2726
  variable: '--tw-bg-opacity'
2228
2727
  });
2229
2728
  }
2230
2729
  }, {
2231
- values: (0, _flattenColorPalette).default(theme('backgroundColor')),
2232
- type: 'color'
2730
+ values: (0, _flattenColorPalette.default)(theme('backgroundColor')),
2731
+ type: [
2732
+ 'color',
2733
+ 'any'
2734
+ ]
2233
2735
  });
2234
2736
  },
2235
- backgroundOpacity: (0, _createUtilityPlugin).default('backgroundOpacity', [
2737
+ backgroundOpacity: (0, _createUtilityPlugin.default)('backgroundOpacity', [
2236
2738
  [
2237
2739
  'bg-opacity',
2238
2740
  [
2239
2741
  '--tw-bg-opacity'
2240
2742
  ]
2241
- ],
2743
+ ]
2242
2744
  ]),
2243
- backgroundImage: (0, _createUtilityPlugin).default('backgroundImage', [
2745
+ backgroundImage: (0, _createUtilityPlugin.default)('backgroundImage', [
2244
2746
  [
2245
2747
  'bg',
2246
2748
  [
@@ -2256,41 +2758,79 @@ let corePlugins = {
2256
2758
  }),
2257
2759
  gradientColorStops: (()=>{
2258
2760
  function transparentTo(value) {
2259
- return (0, _withAlphaVariable).withAlphaValue(value, 0, 'rgb(255 255 255 / 0)');
2761
+ return (0, _withAlphaVariable.withAlphaValue)(value, 0, 'rgb(255 255 255 / 0)');
2260
2762
  }
2261
- return function({ matchUtilities , theme }) {
2763
+ return function({ matchUtilities, theme, addDefaults }) {
2764
+ addDefaults('gradient-color-stops', {
2765
+ '--tw-gradient-from-position': ' ',
2766
+ '--tw-gradient-via-position': ' ',
2767
+ '--tw-gradient-to-position': ' '
2768
+ });
2262
2769
  let options = {
2263
- values: (0, _flattenColorPalette).default(theme('gradientColorStops')),
2770
+ values: (0, _flattenColorPalette.default)(theme('gradientColorStops')),
2264
2771
  type: [
2265
2772
  'color',
2266
2773
  'any'
2267
2774
  ]
2268
2775
  };
2776
+ let positionOptions = {
2777
+ values: theme('gradientColorStopPositions'),
2778
+ type: [
2779
+ 'length',
2780
+ 'percentage'
2781
+ ]
2782
+ };
2269
2783
  matchUtilities({
2270
2784
  from: (value)=>{
2271
2785
  let transparentToValue = transparentTo(value);
2272
2786
  return {
2273
- '--tw-gradient-from': (0, _toColorValue).default(value, 'from'),
2274
- '--tw-gradient-stops': `var(--tw-gradient-from), var(--tw-gradient-to, ${transparentToValue})`
2787
+ '@defaults gradient-color-stops': {},
2788
+ '--tw-gradient-from': `${(0, _toColorValue.default)(value)} var(--tw-gradient-from-position)`,
2789
+ '--tw-gradient-to': `${transparentToValue} var(--tw-gradient-to-position)`,
2790
+ '--tw-gradient-stops': `var(--tw-gradient-from), var(--tw-gradient-to)`
2275
2791
  };
2276
2792
  }
2277
2793
  }, options);
2794
+ matchUtilities({
2795
+ from: (value)=>{
2796
+ return {
2797
+ '--tw-gradient-from-position': value
2798
+ };
2799
+ }
2800
+ }, positionOptions);
2278
2801
  matchUtilities({
2279
2802
  via: (value)=>{
2280
2803
  let transparentToValue = transparentTo(value);
2281
2804
  return {
2282
- '--tw-gradient-stops': `var(--tw-gradient-from), ${(0, _toColorValue).default(value, 'via')}, var(--tw-gradient-to, ${transparentToValue})`
2805
+ '@defaults gradient-color-stops': {},
2806
+ '--tw-gradient-to': `${transparentToValue} var(--tw-gradient-to-position)`,
2807
+ '--tw-gradient-stops': `var(--tw-gradient-from), ${(0, _toColorValue.default)(value)} var(--tw-gradient-via-position), var(--tw-gradient-to)`
2283
2808
  };
2284
2809
  }
2285
2810
  }, options);
2811
+ matchUtilities({
2812
+ via: (value)=>{
2813
+ return {
2814
+ '--tw-gradient-via-position': value
2815
+ };
2816
+ }
2817
+ }, positionOptions);
2286
2818
  matchUtilities({
2287
2819
  to: (value)=>({
2288
- '--tw-gradient-to': (0, _toColorValue).default(value, 'to')
2820
+ '@defaults gradient-color-stops': {},
2821
+ '--tw-gradient-to': `${(0, _toColorValue.default)(value)} var(--tw-gradient-to-position)`
2289
2822
  })
2290
2823
  }, options);
2824
+ matchUtilities({
2825
+ to: (value)=>{
2826
+ return {
2827
+ '--tw-gradient-to-position': value
2828
+ };
2829
+ }
2830
+ }, positionOptions);
2291
2831
  };
2292
2832
  })(),
2293
- boxDecorationBreak: ({ addUtilities })=>{
2833
+ boxDecorationBreak: ({ addUtilities })=>{
2294
2834
  addUtilities({
2295
2835
  '.decoration-slice': {
2296
2836
  'box-decoration-break': 'slice'
@@ -2306,7 +2846,7 @@ let corePlugins = {
2306
2846
  }
2307
2847
  });
2308
2848
  },
2309
- backgroundSize: (0, _createUtilityPlugin).default('backgroundSize', [
2849
+ backgroundSize: (0, _createUtilityPlugin.default)('backgroundSize', [
2310
2850
  [
2311
2851
  'bg',
2312
2852
  [
@@ -2317,10 +2857,11 @@ let corePlugins = {
2317
2857
  type: [
2318
2858
  'lookup',
2319
2859
  'length',
2320
- 'percentage'
2860
+ 'percentage',
2861
+ 'size'
2321
2862
  ]
2322
2863
  }),
2323
- backgroundAttachment: ({ addUtilities })=>{
2864
+ backgroundAttachment: ({ addUtilities })=>{
2324
2865
  addUtilities({
2325
2866
  '.bg-fixed': {
2326
2867
  'background-attachment': 'fixed'
@@ -2333,7 +2874,7 @@ let corePlugins = {
2333
2874
  }
2334
2875
  });
2335
2876
  },
2336
- backgroundClip: ({ addUtilities })=>{
2877
+ backgroundClip: ({ addUtilities })=>{
2337
2878
  addUtilities({
2338
2879
  '.bg-clip-border': {
2339
2880
  'background-clip': 'border-box'
@@ -2349,7 +2890,7 @@ let corePlugins = {
2349
2890
  }
2350
2891
  });
2351
2892
  },
2352
- backgroundPosition: (0, _createUtilityPlugin).default('backgroundPosition', [
2893
+ backgroundPosition: (0, _createUtilityPlugin.default)('backgroundPosition', [
2353
2894
  [
2354
2895
  'bg',
2355
2896
  [
@@ -2359,10 +2900,15 @@ let corePlugins = {
2359
2900
  ], {
2360
2901
  type: [
2361
2902
  'lookup',
2362
- 'position'
2903
+ [
2904
+ 'position',
2905
+ {
2906
+ preferOnConflict: true
2907
+ }
2908
+ ]
2363
2909
  ]
2364
2910
  }),
2365
- backgroundRepeat: ({ addUtilities })=>{
2911
+ backgroundRepeat: ({ addUtilities })=>{
2366
2912
  addUtilities({
2367
2913
  '.bg-repeat': {
2368
2914
  'background-repeat': 'repeat'
@@ -2384,7 +2930,7 @@ let corePlugins = {
2384
2930
  }
2385
2931
  });
2386
2932
  },
2387
- backgroundOrigin: ({ addUtilities })=>{
2933
+ backgroundOrigin: ({ addUtilities })=>{
2388
2934
  addUtilities({
2389
2935
  '.bg-origin-border': {
2390
2936
  'background-origin': 'border-box'
@@ -2397,37 +2943,38 @@ let corePlugins = {
2397
2943
  }
2398
2944
  });
2399
2945
  },
2400
- fill: ({ matchUtilities , theme })=>{
2946
+ fill: ({ matchUtilities, theme })=>{
2401
2947
  matchUtilities({
2402
2948
  fill: (value)=>{
2403
2949
  return {
2404
- fill: (0, _toColorValue).default(value)
2950
+ fill: (0, _toColorValue.default)(value)
2405
2951
  };
2406
2952
  }
2407
2953
  }, {
2408
- values: (0, _flattenColorPalette).default(theme('fill')),
2954
+ values: (0, _flattenColorPalette.default)(theme('fill')),
2409
2955
  type: [
2410
2956
  'color',
2411
2957
  'any'
2412
2958
  ]
2413
2959
  });
2414
2960
  },
2415
- stroke: ({ matchUtilities , theme })=>{
2961
+ stroke: ({ matchUtilities, theme })=>{
2416
2962
  matchUtilities({
2417
2963
  stroke: (value)=>{
2418
2964
  return {
2419
- stroke: (0, _toColorValue).default(value)
2965
+ stroke: (0, _toColorValue.default)(value)
2420
2966
  };
2421
2967
  }
2422
2968
  }, {
2423
- values: (0, _flattenColorPalette).default(theme('stroke')),
2969
+ values: (0, _flattenColorPalette.default)(theme('stroke')),
2424
2970
  type: [
2425
2971
  'color',
2426
- 'url'
2972
+ 'url',
2973
+ 'any'
2427
2974
  ]
2428
2975
  });
2429
2976
  },
2430
- strokeWidth: (0, _createUtilityPlugin).default('strokeWidth', [
2977
+ strokeWidth: (0, _createUtilityPlugin.default)('strokeWidth', [
2431
2978
  [
2432
2979
  'stroke',
2433
2980
  [
@@ -2441,7 +2988,7 @@ let corePlugins = {
2441
2988
  'percentage'
2442
2989
  ]
2443
2990
  }),
2444
- objectFit: ({ addUtilities })=>{
2991
+ objectFit: ({ addUtilities })=>{
2445
2992
  addUtilities({
2446
2993
  '.object-contain': {
2447
2994
  'object-fit': 'contain'
@@ -2460,7 +3007,7 @@ let corePlugins = {
2460
3007
  }
2461
3008
  });
2462
3009
  },
2463
- objectPosition: (0, _createUtilityPlugin).default('objectPosition', [
3010
+ objectPosition: (0, _createUtilityPlugin.default)('objectPosition', [
2464
3011
  [
2465
3012
  'object',
2466
3013
  [
@@ -2468,7 +3015,7 @@ let corePlugins = {
2468
3015
  ]
2469
3016
  ]
2470
3017
  ]),
2471
- padding: (0, _createUtilityPlugin).default('padding', [
3018
+ padding: (0, _createUtilityPlugin.default)('padding', [
2472
3019
  [
2473
3020
  'p',
2474
3021
  [
@@ -2489,9 +3036,21 @@ let corePlugins = {
2489
3036
  'padding-top',
2490
3037
  'padding-bottom'
2491
3038
  ]
2492
- ],
3039
+ ]
2493
3040
  ],
2494
3041
  [
3042
+ [
3043
+ 'ps',
3044
+ [
3045
+ 'padding-inline-start'
3046
+ ]
3047
+ ],
3048
+ [
3049
+ 'pe',
3050
+ [
3051
+ 'padding-inline-end'
3052
+ ]
3053
+ ],
2495
3054
  [
2496
3055
  'pt',
2497
3056
  [
@@ -2515,10 +3074,10 @@ let corePlugins = {
2515
3074
  [
2516
3075
  'padding-left'
2517
3076
  ]
2518
- ],
2519
- ],
3077
+ ]
3078
+ ]
2520
3079
  ]),
2521
- textAlign: ({ addUtilities })=>{
3080
+ textAlign: ({ addUtilities })=>{
2522
3081
  addUtilities({
2523
3082
  '.text-left': {
2524
3083
  'text-align': 'left'
@@ -2531,10 +3090,16 @@ let corePlugins = {
2531
3090
  },
2532
3091
  '.text-justify': {
2533
3092
  'text-align': 'justify'
3093
+ },
3094
+ '.text-start': {
3095
+ 'text-align': 'start'
3096
+ },
3097
+ '.text-end': {
3098
+ 'text-align': 'end'
2534
3099
  }
2535
3100
  });
2536
3101
  },
2537
- textIndent: (0, _createUtilityPlugin).default('textIndent', [
3102
+ textIndent: (0, _createUtilityPlugin.default)('textIndent', [
2538
3103
  [
2539
3104
  'indent',
2540
3105
  [
@@ -2544,7 +3109,7 @@ let corePlugins = {
2544
3109
  ], {
2545
3110
  supportsNegativeValues: true
2546
3111
  }),
2547
- verticalAlign: ({ addUtilities , matchUtilities })=>{
3112
+ verticalAlign: ({ addUtilities, matchUtilities })=>{
2548
3113
  addUtilities({
2549
3114
  '.align-baseline': {
2550
3115
  'vertical-align': 'baseline'
@@ -2577,27 +3142,45 @@ let corePlugins = {
2577
3142
  })
2578
3143
  });
2579
3144
  },
2580
- fontFamily: (0, _createUtilityPlugin).default('fontFamily', [
2581
- [
2582
- 'font',
2583
- [
2584
- 'fontFamily'
3145
+ fontFamily: ({ matchUtilities, theme })=>{
3146
+ matchUtilities({
3147
+ font: (value)=>{
3148
+ let [families, options = {}] = Array.isArray(value) && (0, _isPlainObject.default)(value[1]) ? value : [
3149
+ value
3150
+ ];
3151
+ let { fontFeatureSettings, fontVariationSettings } = options;
3152
+ return {
3153
+ 'font-family': Array.isArray(families) ? families.join(', ') : families,
3154
+ ...fontFeatureSettings === undefined ? {} : {
3155
+ 'font-feature-settings': fontFeatureSettings
3156
+ },
3157
+ ...fontVariationSettings === undefined ? {} : {
3158
+ 'font-variation-settings': fontVariationSettings
3159
+ }
3160
+ };
3161
+ }
3162
+ }, {
3163
+ values: theme('fontFamily'),
3164
+ type: [
3165
+ 'lookup',
3166
+ 'generic-name',
3167
+ 'family-name'
2585
3168
  ]
2586
- ]
2587
- ], {
2588
- type: [
2589
- 'lookup',
2590
- 'generic-name',
2591
- 'family-name'
2592
- ]
2593
- }),
2594
- fontSize: ({ matchUtilities , theme })=>{
3169
+ });
3170
+ },
3171
+ fontSize: ({ matchUtilities, theme })=>{
2595
3172
  matchUtilities({
2596
- text: (value)=>{
3173
+ text: (value, { modifier })=>{
2597
3174
  let [fontSize, options] = Array.isArray(value) ? value : [
2598
3175
  value
2599
3176
  ];
2600
- let { lineHeight , letterSpacing } = (0, _isPlainObject).default(options) ? options : {
3177
+ if (modifier) {
3178
+ return {
3179
+ 'font-size': fontSize,
3180
+ 'line-height': modifier
3181
+ };
3182
+ }
3183
+ let { lineHeight, letterSpacing, fontWeight } = (0, _isPlainObject.default)(options) ? options : {
2601
3184
  lineHeight: options
2602
3185
  };
2603
3186
  return {
@@ -2607,11 +3190,15 @@ let corePlugins = {
2607
3190
  },
2608
3191
  ...letterSpacing === undefined ? {} : {
2609
3192
  'letter-spacing': letterSpacing
3193
+ },
3194
+ ...fontWeight === undefined ? {} : {
3195
+ 'font-weight': fontWeight
2610
3196
  }
2611
3197
  };
2612
3198
  }
2613
3199
  }, {
2614
3200
  values: theme('fontSize'),
3201
+ modifiers: theme('lineHeight'),
2615
3202
  type: [
2616
3203
  'absolute-size',
2617
3204
  'relative-size',
@@ -2620,7 +3207,7 @@ let corePlugins = {
2620
3207
  ]
2621
3208
  });
2622
3209
  },
2623
- fontWeight: (0, _createUtilityPlugin).default('fontWeight', [
3210
+ fontWeight: (0, _createUtilityPlugin.default)('fontWeight', [
2624
3211
  [
2625
3212
  'font',
2626
3213
  [
@@ -2630,10 +3217,11 @@ let corePlugins = {
2630
3217
  ], {
2631
3218
  type: [
2632
3219
  'lookup',
2633
- 'number'
3220
+ 'number',
3221
+ 'any'
2634
3222
  ]
2635
3223
  }),
2636
- textTransform: ({ addUtilities })=>{
3224
+ textTransform: ({ addUtilities })=>{
2637
3225
  addUtilities({
2638
3226
  '.uppercase': {
2639
3227
  'text-transform': 'uppercase'
@@ -2649,7 +3237,7 @@ let corePlugins = {
2649
3237
  }
2650
3238
  });
2651
3239
  },
2652
- fontStyle: ({ addUtilities })=>{
3240
+ fontStyle: ({ addUtilities })=>{
2653
3241
  addUtilities({
2654
3242
  '.italic': {
2655
3243
  'font-style': 'italic'
@@ -2659,7 +3247,7 @@ let corePlugins = {
2659
3247
  }
2660
3248
  });
2661
3249
  },
2662
- fontVariantNumeric: ({ addDefaults , addUtilities })=>{
3250
+ fontVariantNumeric: ({ addDefaults, addUtilities })=>{
2663
3251
  let cssFontVariantNumericValue = 'var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)';
2664
3252
  addDefaults('font-variant-numeric', {
2665
3253
  '--tw-ordinal': ' ',
@@ -2714,7 +3302,7 @@ let corePlugins = {
2714
3302
  }
2715
3303
  });
2716
3304
  },
2717
- lineHeight: (0, _createUtilityPlugin).default('lineHeight', [
3305
+ lineHeight: (0, _createUtilityPlugin.default)('lineHeight', [
2718
3306
  [
2719
3307
  'leading',
2720
3308
  [
@@ -2722,7 +3310,7 @@ let corePlugins = {
2722
3310
  ]
2723
3311
  ]
2724
3312
  ]),
2725
- letterSpacing: (0, _createUtilityPlugin).default('letterSpacing', [
3313
+ letterSpacing: (0, _createUtilityPlugin.default)('letterSpacing', [
2726
3314
  [
2727
3315
  'tracking',
2728
3316
  [
@@ -2732,26 +3320,29 @@ let corePlugins = {
2732
3320
  ], {
2733
3321
  supportsNegativeValues: true
2734
3322
  }),
2735
- textColor: ({ matchUtilities , theme , corePlugins: corePlugins4 })=>{
3323
+ textColor: ({ matchUtilities, theme, corePlugins })=>{
2736
3324
  matchUtilities({
2737
3325
  text: (value)=>{
2738
- if (!corePlugins4('textOpacity')) {
3326
+ if (!corePlugins('textOpacity')) {
2739
3327
  return {
2740
- color: (0, _toColorValue).default(value)
3328
+ color: (0, _toColorValue.default)(value)
2741
3329
  };
2742
3330
  }
2743
- return (0, _withAlphaVariable).default({
3331
+ return (0, _withAlphaVariable.default)({
2744
3332
  color: value,
2745
3333
  property: 'color',
2746
3334
  variable: '--tw-text-opacity'
2747
3335
  });
2748
3336
  }
2749
3337
  }, {
2750
- values: (0, _flattenColorPalette).default(theme('textColor')),
2751
- type: 'color'
3338
+ values: (0, _flattenColorPalette.default)(theme('textColor')),
3339
+ type: [
3340
+ 'color',
3341
+ 'any'
3342
+ ]
2752
3343
  });
2753
3344
  },
2754
- textOpacity: (0, _createUtilityPlugin).default('textOpacity', [
3345
+ textOpacity: (0, _createUtilityPlugin.default)('textOpacity', [
2755
3346
  [
2756
3347
  'text-opacity',
2757
3348
  [
@@ -2759,7 +3350,7 @@ let corePlugins = {
2759
3350
  ]
2760
3351
  ]
2761
3352
  ]),
2762
- textDecoration: ({ addUtilities })=>{
3353
+ textDecoration: ({ addUtilities })=>{
2763
3354
  addUtilities({
2764
3355
  '.underline': {
2765
3356
  'text-decoration-line': 'underline'
@@ -2775,21 +3366,22 @@ let corePlugins = {
2775
3366
  }
2776
3367
  });
2777
3368
  },
2778
- textDecorationColor: ({ matchUtilities , theme })=>{
3369
+ textDecorationColor: ({ matchUtilities, theme })=>{
2779
3370
  matchUtilities({
2780
3371
  decoration: (value)=>{
2781
3372
  return {
2782
- 'text-decoration-color': (0, _toColorValue).default(value)
3373
+ 'text-decoration-color': (0, _toColorValue.default)(value)
2783
3374
  };
2784
3375
  }
2785
3376
  }, {
2786
- values: (0, _flattenColorPalette).default(theme('textDecorationColor')),
3377
+ values: (0, _flattenColorPalette.default)(theme('textDecorationColor')),
2787
3378
  type: [
2788
- 'color'
3379
+ 'color',
3380
+ 'any'
2789
3381
  ]
2790
3382
  });
2791
3383
  },
2792
- textDecorationStyle: ({ addUtilities })=>{
3384
+ textDecorationStyle: ({ addUtilities })=>{
2793
3385
  addUtilities({
2794
3386
  '.decoration-solid': {
2795
3387
  'text-decoration-style': 'solid'
@@ -2808,7 +3400,7 @@ let corePlugins = {
2808
3400
  }
2809
3401
  });
2810
3402
  },
2811
- textDecorationThickness: (0, _createUtilityPlugin).default('textDecorationThickness', [
3403
+ textDecorationThickness: (0, _createUtilityPlugin.default)('textDecorationThickness', [
2812
3404
  [
2813
3405
  'decoration',
2814
3406
  [
@@ -2821,7 +3413,7 @@ let corePlugins = {
2821
3413
  'percentage'
2822
3414
  ]
2823
3415
  }),
2824
- textUnderlineOffset: (0, _createUtilityPlugin).default('textUnderlineOffset', [
3416
+ textUnderlineOffset: (0, _createUtilityPlugin.default)('textUnderlineOffset', [
2825
3417
  [
2826
3418
  'underline-offset',
2827
3419
  [
@@ -2831,10 +3423,11 @@ let corePlugins = {
2831
3423
  ], {
2832
3424
  type: [
2833
3425
  'length',
2834
- 'percentage'
3426
+ 'percentage',
3427
+ 'any'
2835
3428
  ]
2836
3429
  }),
2837
- fontSmoothing: ({ addUtilities })=>{
3430
+ fontSmoothing: ({ addUtilities })=>{
2838
3431
  addUtilities({
2839
3432
  '.antialiased': {
2840
3433
  '-webkit-font-smoothing': 'antialiased',
@@ -2846,18 +3439,18 @@ let corePlugins = {
2846
3439
  }
2847
3440
  });
2848
3441
  },
2849
- placeholderColor: ({ matchUtilities , theme , corePlugins: corePlugins5 })=>{
3442
+ placeholderColor: ({ matchUtilities, theme, corePlugins })=>{
2850
3443
  matchUtilities({
2851
3444
  placeholder: (value)=>{
2852
- if (!corePlugins5('placeholderOpacity')) {
3445
+ if (!corePlugins('placeholderOpacity')) {
2853
3446
  return {
2854
3447
  '&::placeholder': {
2855
- color: (0, _toColorValue).default(value)
3448
+ color: (0, _toColorValue.default)(value)
2856
3449
  }
2857
3450
  };
2858
3451
  }
2859
3452
  return {
2860
- '&::placeholder': (0, _withAlphaVariable).default({
3453
+ '&::placeholder': (0, _withAlphaVariable.default)({
2861
3454
  color: value,
2862
3455
  property: 'color',
2863
3456
  variable: '--tw-placeholder-opacity'
@@ -2865,14 +3458,14 @@ let corePlugins = {
2865
3458
  };
2866
3459
  }
2867
3460
  }, {
2868
- values: (0, _flattenColorPalette).default(theme('placeholderColor')),
3461
+ values: (0, _flattenColorPalette.default)(theme('placeholderColor')),
2869
3462
  type: [
2870
3463
  'color',
2871
3464
  'any'
2872
3465
  ]
2873
3466
  });
2874
3467
  },
2875
- placeholderOpacity: ({ matchUtilities , theme })=>{
3468
+ placeholderOpacity: ({ matchUtilities, theme })=>{
2876
3469
  matchUtilities({
2877
3470
  'placeholder-opacity': (value)=>{
2878
3471
  return {
@@ -2885,37 +3478,37 @@ let corePlugins = {
2885
3478
  values: theme('placeholderOpacity')
2886
3479
  });
2887
3480
  },
2888
- caretColor: ({ matchUtilities , theme })=>{
3481
+ caretColor: ({ matchUtilities, theme })=>{
2889
3482
  matchUtilities({
2890
3483
  caret: (value)=>{
2891
3484
  return {
2892
- 'caret-color': (0, _toColorValue).default(value)
3485
+ 'caret-color': (0, _toColorValue.default)(value)
2893
3486
  };
2894
3487
  }
2895
3488
  }, {
2896
- values: (0, _flattenColorPalette).default(theme('caretColor')),
3489
+ values: (0, _flattenColorPalette.default)(theme('caretColor')),
2897
3490
  type: [
2898
3491
  'color',
2899
3492
  'any'
2900
3493
  ]
2901
3494
  });
2902
3495
  },
2903
- accentColor: ({ matchUtilities , theme })=>{
3496
+ accentColor: ({ matchUtilities, theme })=>{
2904
3497
  matchUtilities({
2905
3498
  accent: (value)=>{
2906
3499
  return {
2907
- 'accent-color': (0, _toColorValue).default(value)
3500
+ 'accent-color': (0, _toColorValue.default)(value)
2908
3501
  };
2909
3502
  }
2910
3503
  }, {
2911
- values: (0, _flattenColorPalette).default(theme('accentColor')),
3504
+ values: (0, _flattenColorPalette.default)(theme('accentColor')),
2912
3505
  type: [
2913
3506
  'color',
2914
3507
  'any'
2915
3508
  ]
2916
3509
  });
2917
3510
  },
2918
- opacity: (0, _createUtilityPlugin).default('opacity', [
3511
+ opacity: (0, _createUtilityPlugin.default)('opacity', [
2919
3512
  [
2920
3513
  'opacity',
2921
3514
  [
@@ -2923,7 +3516,7 @@ let corePlugins = {
2923
3516
  ]
2924
3517
  ]
2925
3518
  ]),
2926
- backgroundBlendMode: ({ addUtilities })=>{
3519
+ backgroundBlendMode: ({ addUtilities })=>{
2927
3520
  addUtilities({
2928
3521
  '.bg-blend-normal': {
2929
3522
  'background-blend-mode': 'normal'
@@ -2975,7 +3568,7 @@ let corePlugins = {
2975
3568
  }
2976
3569
  });
2977
3570
  },
2978
- mixBlendMode: ({ addUtilities })=>{
3571
+ mixBlendMode: ({ addUtilities })=>{
2979
3572
  addUtilities({
2980
3573
  '.mix-blend-normal': {
2981
3574
  'mix-blend-mode': 'normal'
@@ -3024,17 +3617,20 @@ let corePlugins = {
3024
3617
  },
3025
3618
  '.mix-blend-luminosity': {
3026
3619
  'mix-blend-mode': 'luminosity'
3620
+ },
3621
+ '.mix-blend-plus-lighter': {
3622
+ 'mix-blend-mode': 'plus-lighter'
3027
3623
  }
3028
3624
  });
3029
3625
  },
3030
3626
  boxShadow: (()=>{
3031
- let transformValue = (0, _transformThemeValue).default('boxShadow');
3627
+ let transformValue = (0, _transformThemeValue.default)('boxShadow');
3032
3628
  let defaultBoxShadow = [
3033
3629
  `var(--tw-ring-offset-shadow, 0 0 #0000)`,
3034
3630
  `var(--tw-ring-shadow, 0 0 #0000)`,
3035
- `var(--tw-shadow)`,
3631
+ `var(--tw-shadow)`
3036
3632
  ].join(', ');
3037
- return function({ matchUtilities , addDefaults , theme }) {
3633
+ return function({ matchUtilities, addDefaults, theme }) {
3038
3634
  addDefaults(' box-shadow', {
3039
3635
  '--tw-ring-offset-shadow': '0 0 #0000',
3040
3636
  '--tw-ring-shadow': '0 0 #0000',
@@ -3044,7 +3640,7 @@ let corePlugins = {
3044
3640
  matchUtilities({
3045
3641
  shadow: (value)=>{
3046
3642
  value = transformValue(value);
3047
- let ast = (0, _parseBoxShadowValue).parseBoxShadowValue(value);
3643
+ let ast = (0, _parseBoxShadowValue.parseBoxShadowValue)(value);
3048
3644
  for (let shadow of ast){
3049
3645
  // Don't override color if the whole shadow is a variable
3050
3646
  if (!shadow.valid) {
@@ -3055,7 +3651,7 @@ let corePlugins = {
3055
3651
  return {
3056
3652
  '@defaults box-shadow': {},
3057
3653
  '--tw-shadow': value === 'none' ? '0 0 #0000' : value,
3058
- '--tw-shadow-colored': value === 'none' ? '0 0 #0000' : (0, _parseBoxShadowValue).formatBoxShadowValue(ast),
3654
+ '--tw-shadow-colored': value === 'none' ? '0 0 #0000' : (0, _parseBoxShadowValue.formatBoxShadowValue)(ast),
3059
3655
  'box-shadow': defaultBoxShadow
3060
3656
  };
3061
3657
  }
@@ -3067,22 +3663,23 @@ let corePlugins = {
3067
3663
  });
3068
3664
  };
3069
3665
  })(),
3070
- boxShadowColor: ({ matchUtilities , theme })=>{
3666
+ boxShadowColor: ({ matchUtilities, theme })=>{
3071
3667
  matchUtilities({
3072
3668
  shadow: (value)=>{
3073
3669
  return {
3074
- '--tw-shadow-color': (0, _toColorValue).default(value),
3670
+ '--tw-shadow-color': (0, _toColorValue.default)(value),
3075
3671
  '--tw-shadow': 'var(--tw-shadow-colored)'
3076
3672
  };
3077
3673
  }
3078
3674
  }, {
3079
- values: (0, _flattenColorPalette).default(theme('boxShadowColor')),
3675
+ values: (0, _flattenColorPalette.default)(theme('boxShadowColor')),
3080
3676
  type: [
3081
- 'color'
3677
+ 'color',
3678
+ 'any'
3082
3679
  ]
3083
3680
  });
3084
3681
  },
3085
- outlineStyle: ({ addUtilities })=>{
3682
+ outlineStyle: ({ addUtilities })=>{
3086
3683
  addUtilities({
3087
3684
  '.outline-none': {
3088
3685
  outline: '2px solid transparent',
@@ -3099,13 +3696,10 @@ let corePlugins = {
3099
3696
  },
3100
3697
  '.outline-double': {
3101
3698
  'outline-style': 'double'
3102
- },
3103
- '.outline-hidden': {
3104
- 'outline-style': 'hidden'
3105
3699
  }
3106
3700
  });
3107
3701
  },
3108
- outlineWidth: (0, _createUtilityPlugin).default('outlineWidth', [
3702
+ outlineWidth: (0, _createUtilityPlugin.default)('outlineWidth', [
3109
3703
  [
3110
3704
  'outline',
3111
3705
  [
@@ -3119,7 +3713,7 @@ let corePlugins = {
3119
3713
  'percentage'
3120
3714
  ]
3121
3715
  }),
3122
- outlineOffset: (0, _createUtilityPlugin).default('outlineOffset', [
3716
+ outlineOffset: (0, _createUtilityPlugin.default)('outlineOffset', [
3123
3717
  [
3124
3718
  'outline-offset',
3125
3719
  [
@@ -3130,27 +3724,38 @@ let corePlugins = {
3130
3724
  type: [
3131
3725
  'length',
3132
3726
  'number',
3133
- 'percentage'
3134
- ]
3727
+ 'percentage',
3728
+ 'any'
3729
+ ],
3730
+ supportsNegativeValues: true
3135
3731
  }),
3136
- outlineColor: ({ matchUtilities , theme })=>{
3732
+ outlineColor: ({ matchUtilities, theme })=>{
3137
3733
  matchUtilities({
3138
3734
  outline: (value)=>{
3139
3735
  return {
3140
- 'outline-color': (0, _toColorValue).default(value)
3736
+ 'outline-color': (0, _toColorValue.default)(value)
3141
3737
  };
3142
3738
  }
3143
3739
  }, {
3144
- values: (0, _flattenColorPalette).default(theme('outlineColor')),
3740
+ values: (0, _flattenColorPalette.default)(theme('outlineColor')),
3145
3741
  type: [
3146
- 'color'
3742
+ 'color',
3743
+ 'any'
3147
3744
  ]
3148
3745
  });
3149
3746
  },
3150
- ringWidth: ({ matchUtilities , addDefaults , addUtilities , theme })=>{
3151
- var ref;
3152
- let ringOpacityDefault = theme('ringOpacity.DEFAULT', '0.5');
3153
- let ringColorDefault = (0, _withAlphaVariable).withAlphaValue((ref = theme('ringColor')) === null || ref === void 0 ? void 0 : ref.DEFAULT, ringOpacityDefault, `rgb(147 197 253 / ${ringOpacityDefault})`);
3747
+ ringWidth: ({ matchUtilities, addDefaults, addUtilities, theme, config })=>{
3748
+ let ringColorDefault = (()=>{
3749
+ var _theme, _theme1;
3750
+ if ((0, _featureFlags.flagEnabled)(config(), 'respectDefaultRingColorOpacity')) {
3751
+ return theme('ringColor.DEFAULT');
3752
+ }
3753
+ let ringOpacityDefault = theme('ringOpacity.DEFAULT', '0.5');
3754
+ if (!((_theme = theme('ringColor')) === null || _theme === void 0 ? void 0 : _theme.DEFAULT)) {
3755
+ return `rgb(147 197 253 / ${ringOpacityDefault})`;
3756
+ }
3757
+ return (0, _withAlphaVariable.withAlphaValue)((_theme1 = theme('ringColor')) === null || _theme1 === void 0 ? void 0 : _theme1.DEFAULT, ringOpacityDefault, `rgb(147 197 253 / ${ringOpacityDefault})`);
3758
+ })();
3154
3759
  addDefaults('ring-width', {
3155
3760
  '--tw-ring-inset': ' ',
3156
3761
  '--tw-ring-offset-width': theme('ringOffsetWidth.DEFAULT', '0px'),
@@ -3170,7 +3775,7 @@ let corePlugins = {
3170
3775
  'box-shadow': [
3171
3776
  `var(--tw-ring-offset-shadow)`,
3172
3777
  `var(--tw-ring-shadow)`,
3173
- `var(--tw-shadow, 0 0 #0000)`,
3778
+ `var(--tw-shadow, 0 0 #0000)`
3174
3779
  ].join(', ')
3175
3780
  };
3176
3781
  }
@@ -3185,32 +3790,42 @@ let corePlugins = {
3185
3790
  }
3186
3791
  });
3187
3792
  },
3188
- ringColor: ({ matchUtilities , theme })=>{
3793
+ ringColor: ({ matchUtilities, theme, corePlugins })=>{
3189
3794
  matchUtilities({
3190
3795
  ring: (value)=>{
3191
- return (0, _withAlphaVariable).default({
3796
+ if (!corePlugins('ringOpacity')) {
3797
+ return {
3798
+ '--tw-ring-color': (0, _toColorValue.default)(value)
3799
+ };
3800
+ }
3801
+ return (0, _withAlphaVariable.default)({
3192
3802
  color: value,
3193
3803
  property: '--tw-ring-color',
3194
3804
  variable: '--tw-ring-opacity'
3195
3805
  });
3196
3806
  }
3197
3807
  }, {
3198
- values: Object.fromEntries(Object.entries((0, _flattenColorPalette).default(theme('ringColor'))).filter(([modifier])=>modifier !== 'DEFAULT'
3199
- )),
3200
- type: 'color'
3808
+ values: Object.fromEntries(Object.entries((0, _flattenColorPalette.default)(theme('ringColor'))).filter(([modifier])=>modifier !== 'DEFAULT')),
3809
+ type: [
3810
+ 'color',
3811
+ 'any'
3812
+ ]
3201
3813
  });
3202
3814
  },
3203
- ringOpacity: (0, _createUtilityPlugin).default('ringOpacity', [
3204
- [
3205
- 'ring-opacity',
3815
+ ringOpacity: (helpers)=>{
3816
+ let { config } = helpers;
3817
+ return (0, _createUtilityPlugin.default)('ringOpacity', [
3206
3818
  [
3207
- '--tw-ring-opacity'
3819
+ 'ring-opacity',
3820
+ [
3821
+ '--tw-ring-opacity'
3822
+ ]
3208
3823
  ]
3209
- ]
3210
- ], {
3211
- filterDefault: true
3212
- }),
3213
- ringOffsetWidth: (0, _createUtilityPlugin).default('ringOffsetWidth', [
3824
+ ], {
3825
+ filterDefault: !(0, _featureFlags.flagEnabled)(config(), 'respectDefaultRingColorOpacity')
3826
+ })(helpers);
3827
+ },
3828
+ ringOffsetWidth: (0, _createUtilityPlugin.default)('ringOffsetWidth', [
3214
3829
  [
3215
3830
  'ring-offset',
3216
3831
  [
@@ -3220,19 +3835,22 @@ let corePlugins = {
3220
3835
  ], {
3221
3836
  type: 'length'
3222
3837
  }),
3223
- ringOffsetColor: ({ matchUtilities , theme })=>{
3838
+ ringOffsetColor: ({ matchUtilities, theme })=>{
3224
3839
  matchUtilities({
3225
3840
  'ring-offset': (value)=>{
3226
3841
  return {
3227
- '--tw-ring-offset-color': (0, _toColorValue).default(value)
3842
+ '--tw-ring-offset-color': (0, _toColorValue.default)(value)
3228
3843
  };
3229
3844
  }
3230
3845
  }, {
3231
- values: (0, _flattenColorPalette).default(theme('ringOffsetColor')),
3232
- type: 'color'
3846
+ values: (0, _flattenColorPalette.default)(theme('ringOffsetColor')),
3847
+ type: [
3848
+ 'color',
3849
+ 'any'
3850
+ ]
3233
3851
  });
3234
3852
  },
3235
- blur: ({ matchUtilities , theme })=>{
3853
+ blur: ({ matchUtilities, theme })=>{
3236
3854
  matchUtilities({
3237
3855
  blur: (value)=>{
3238
3856
  return {
@@ -3245,7 +3863,7 @@ let corePlugins = {
3245
3863
  values: theme('blur')
3246
3864
  });
3247
3865
  },
3248
- brightness: ({ matchUtilities , theme })=>{
3866
+ brightness: ({ matchUtilities, theme })=>{
3249
3867
  matchUtilities({
3250
3868
  brightness: (value)=>{
3251
3869
  return {
@@ -3258,7 +3876,7 @@ let corePlugins = {
3258
3876
  values: theme('brightness')
3259
3877
  });
3260
3878
  },
3261
- contrast: ({ matchUtilities , theme })=>{
3879
+ contrast: ({ matchUtilities, theme })=>{
3262
3880
  matchUtilities({
3263
3881
  contrast: (value)=>{
3264
3882
  return {
@@ -3271,12 +3889,11 @@ let corePlugins = {
3271
3889
  values: theme('contrast')
3272
3890
  });
3273
3891
  },
3274
- dropShadow: ({ matchUtilities , theme })=>{
3892
+ dropShadow: ({ matchUtilities, theme })=>{
3275
3893
  matchUtilities({
3276
3894
  'drop-shadow': (value)=>{
3277
3895
  return {
3278
- '--tw-drop-shadow': Array.isArray(value) ? value.map((v)=>`drop-shadow(${v})`
3279
- ).join(' ') : `drop-shadow(${value})`,
3896
+ '--tw-drop-shadow': Array.isArray(value) ? value.map((v)=>`drop-shadow(${v})`).join(' ') : `drop-shadow(${value})`,
3280
3897
  '@defaults filter': {},
3281
3898
  filter: cssFilterValue
3282
3899
  };
@@ -3285,7 +3902,7 @@ let corePlugins = {
3285
3902
  values: theme('dropShadow')
3286
3903
  });
3287
3904
  },
3288
- grayscale: ({ matchUtilities , theme })=>{
3905
+ grayscale: ({ matchUtilities, theme })=>{
3289
3906
  matchUtilities({
3290
3907
  grayscale: (value)=>{
3291
3908
  return {
@@ -3298,7 +3915,7 @@ let corePlugins = {
3298
3915
  values: theme('grayscale')
3299
3916
  });
3300
3917
  },
3301
- hueRotate: ({ matchUtilities , theme })=>{
3918
+ hueRotate: ({ matchUtilities, theme })=>{
3302
3919
  matchUtilities({
3303
3920
  'hue-rotate': (value)=>{
3304
3921
  return {
@@ -3312,7 +3929,7 @@ let corePlugins = {
3312
3929
  supportsNegativeValues: true
3313
3930
  });
3314
3931
  },
3315
- invert: ({ matchUtilities , theme })=>{
3932
+ invert: ({ matchUtilities, theme })=>{
3316
3933
  matchUtilities({
3317
3934
  invert: (value)=>{
3318
3935
  return {
@@ -3325,7 +3942,7 @@ let corePlugins = {
3325
3942
  values: theme('invert')
3326
3943
  });
3327
3944
  },
3328
- saturate: ({ matchUtilities , theme })=>{
3945
+ saturate: ({ matchUtilities, theme })=>{
3329
3946
  matchUtilities({
3330
3947
  saturate: (value)=>{
3331
3948
  return {
@@ -3338,7 +3955,7 @@ let corePlugins = {
3338
3955
  values: theme('saturate')
3339
3956
  });
3340
3957
  },
3341
- sepia: ({ matchUtilities , theme })=>{
3958
+ sepia: ({ matchUtilities, theme })=>{
3342
3959
  matchUtilities({
3343
3960
  sepia: (value)=>{
3344
3961
  return {
@@ -3351,7 +3968,7 @@ let corePlugins = {
3351
3968
  values: theme('sepia')
3352
3969
  });
3353
3970
  },
3354
- filter: ({ addDefaults , addUtilities })=>{
3971
+ filter: ({ addDefaults, addUtilities })=>{
3355
3972
  addDefaults('filter', {
3356
3973
  '--tw-blur': ' ',
3357
3974
  '--tw-brightness': ' ',
@@ -3373,7 +3990,7 @@ let corePlugins = {
3373
3990
  }
3374
3991
  });
3375
3992
  },
3376
- backdropBlur: ({ matchUtilities , theme })=>{
3993
+ backdropBlur: ({ matchUtilities, theme })=>{
3377
3994
  matchUtilities({
3378
3995
  'backdrop-blur': (value)=>{
3379
3996
  return {
@@ -3386,7 +4003,7 @@ let corePlugins = {
3386
4003
  values: theme('backdropBlur')
3387
4004
  });
3388
4005
  },
3389
- backdropBrightness: ({ matchUtilities , theme })=>{
4006
+ backdropBrightness: ({ matchUtilities, theme })=>{
3390
4007
  matchUtilities({
3391
4008
  'backdrop-brightness': (value)=>{
3392
4009
  return {
@@ -3399,7 +4016,7 @@ let corePlugins = {
3399
4016
  values: theme('backdropBrightness')
3400
4017
  });
3401
4018
  },
3402
- backdropContrast: ({ matchUtilities , theme })=>{
4019
+ backdropContrast: ({ matchUtilities, theme })=>{
3403
4020
  matchUtilities({
3404
4021
  'backdrop-contrast': (value)=>{
3405
4022
  return {
@@ -3412,7 +4029,7 @@ let corePlugins = {
3412
4029
  values: theme('backdropContrast')
3413
4030
  });
3414
4031
  },
3415
- backdropGrayscale: ({ matchUtilities , theme })=>{
4032
+ backdropGrayscale: ({ matchUtilities, theme })=>{
3416
4033
  matchUtilities({
3417
4034
  'backdrop-grayscale': (value)=>{
3418
4035
  return {
@@ -3425,7 +4042,7 @@ let corePlugins = {
3425
4042
  values: theme('backdropGrayscale')
3426
4043
  });
3427
4044
  },
3428
- backdropHueRotate: ({ matchUtilities , theme })=>{
4045
+ backdropHueRotate: ({ matchUtilities, theme })=>{
3429
4046
  matchUtilities({
3430
4047
  'backdrop-hue-rotate': (value)=>{
3431
4048
  return {
@@ -3439,7 +4056,7 @@ let corePlugins = {
3439
4056
  supportsNegativeValues: true
3440
4057
  });
3441
4058
  },
3442
- backdropInvert: ({ matchUtilities , theme })=>{
4059
+ backdropInvert: ({ matchUtilities, theme })=>{
3443
4060
  matchUtilities({
3444
4061
  'backdrop-invert': (value)=>{
3445
4062
  return {
@@ -3452,7 +4069,7 @@ let corePlugins = {
3452
4069
  values: theme('backdropInvert')
3453
4070
  });
3454
4071
  },
3455
- backdropOpacity: ({ matchUtilities , theme })=>{
4072
+ backdropOpacity: ({ matchUtilities, theme })=>{
3456
4073
  matchUtilities({
3457
4074
  'backdrop-opacity': (value)=>{
3458
4075
  return {
@@ -3465,7 +4082,7 @@ let corePlugins = {
3465
4082
  values: theme('backdropOpacity')
3466
4083
  });
3467
4084
  },
3468
- backdropSaturate: ({ matchUtilities , theme })=>{
4085
+ backdropSaturate: ({ matchUtilities, theme })=>{
3469
4086
  matchUtilities({
3470
4087
  'backdrop-saturate': (value)=>{
3471
4088
  return {
@@ -3478,7 +4095,7 @@ let corePlugins = {
3478
4095
  values: theme('backdropSaturate')
3479
4096
  });
3480
4097
  },
3481
- backdropSepia: ({ matchUtilities , theme })=>{
4098
+ backdropSepia: ({ matchUtilities, theme })=>{
3482
4099
  matchUtilities({
3483
4100
  'backdrop-sepia': (value)=>{
3484
4101
  return {
@@ -3491,7 +4108,7 @@ let corePlugins = {
3491
4108
  values: theme('backdropSepia')
3492
4109
  });
3493
4110
  },
3494
- backdropFilter: ({ addDefaults , addUtilities })=>{
4111
+ backdropFilter: ({ addDefaults, addUtilities })=>{
3495
4112
  addDefaults('backdrop-filter', {
3496
4113
  '--tw-backdrop-blur': ' ',
3497
4114
  '--tw-backdrop-brightness': ' ',
@@ -3513,7 +4130,7 @@ let corePlugins = {
3513
4130
  }
3514
4131
  });
3515
4132
  },
3516
- transitionProperty: ({ matchUtilities , theme })=>{
4133
+ transitionProperty: ({ matchUtilities, theme })=>{
3517
4134
  let defaultTimingFunction = theme('transitionTimingFunction.DEFAULT');
3518
4135
  let defaultDuration = theme('transitionDuration.DEFAULT');
3519
4136
  matchUtilities({
@@ -3530,7 +4147,7 @@ let corePlugins = {
3530
4147
  values: theme('transitionProperty')
3531
4148
  });
3532
4149
  },
3533
- transitionDelay: (0, _createUtilityPlugin).default('transitionDelay', [
4150
+ transitionDelay: (0, _createUtilityPlugin.default)('transitionDelay', [
3534
4151
  [
3535
4152
  'delay',
3536
4153
  [
@@ -3538,7 +4155,7 @@ let corePlugins = {
3538
4155
  ]
3539
4156
  ]
3540
4157
  ]),
3541
- transitionDuration: (0, _createUtilityPlugin).default('transitionDuration', [
4158
+ transitionDuration: (0, _createUtilityPlugin.default)('transitionDuration', [
3542
4159
  [
3543
4160
  'duration',
3544
4161
  [
@@ -3548,7 +4165,7 @@ let corePlugins = {
3548
4165
  ], {
3549
4166
  filterDefault: true
3550
4167
  }),
3551
- transitionTimingFunction: (0, _createUtilityPlugin).default('transitionTimingFunction', [
4168
+ transitionTimingFunction: (0, _createUtilityPlugin.default)('transitionTimingFunction', [
3552
4169
  [
3553
4170
  'ease',
3554
4171
  [
@@ -3558,7 +4175,7 @@ let corePlugins = {
3558
4175
  ], {
3559
4176
  filterDefault: true
3560
4177
  }),
3561
- willChange: (0, _createUtilityPlugin).default('willChange', [
4178
+ willChange: (0, _createUtilityPlugin.default)('willChange', [
3562
4179
  [
3563
4180
  'will-change',
3564
4181
  [
@@ -3566,7 +4183,7 @@ let corePlugins = {
3566
4183
  ]
3567
4184
  ]
3568
4185
  ]),
3569
- content: (0, _createUtilityPlugin).default('content', [
4186
+ content: (0, _createUtilityPlugin.default)('content', [
3570
4187
  [
3571
4188
  'content',
3572
4189
  [
@@ -3576,7 +4193,6 @@ let corePlugins = {
3576
4193
  'var(--tw-content)'
3577
4194
  ]
3578
4195
  ]
3579
- ],
4196
+ ]
3580
4197
  ])
3581
4198
  };
3582
- exports.corePlugins = corePlugins;