@depup/postcss-preset-env 11.2.0-depup.0

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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ # Changes to PostCSS Preset Env
2
+
3
+ ### 11.2.0
4
+
5
+ _February 21, 2026_
6
+
7
+ - Added `@csstools/postcss-font-width-property` [Check the plugin README](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-font-width-property#readme) for usage details.
8
+ - Updated [`cssdb`](https://github.com/csstools/cssdb) to [`8.8.0`](https://github.com/csstools/cssdb/blob/main/CHANGELOG.md#880-february-21-2026)
9
+
10
+ [Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugin-packs/postcss-preset-env/CHANGELOG.md)
package/LICENSE.md ADDED
@@ -0,0 +1,18 @@
1
+ MIT No Attribution (MIT-0)
2
+
3
+ Copyright © CSSTools Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the “Software”), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
9
+ of the Software, and to permit persons to whom the Software is furnished to do
10
+ so.
11
+
12
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # @depup/postcss-preset-env
2
+
3
+ > Dependency-bumped version of [postcss-preset-env](https://www.npmjs.com/package/postcss-preset-env)
4
+
5
+ Generated by [DepUp](https://github.com/depup/npm) -- all production
6
+ dependencies bumped to latest versions.
7
+
8
+ ## Installation
9
+
10
+ ```bash
11
+ npm install @depup/postcss-preset-env
12
+ ```
13
+
14
+ | Field | Value |
15
+ |-------|-------|
16
+ | Original | [postcss-preset-env](https://www.npmjs.com/package/postcss-preset-env) @ 11.2.0 |
17
+ | Processed | 2026-03-17 |
18
+ | Smoke test | passed |
19
+ | Deps updated | 1 |
20
+
21
+ ## Dependency Changes
22
+
23
+ | Dependency | From | To |
24
+ |------------|------|-----|
25
+ | autoprefixer | ^10.4.24 | ^10.4.27 |
26
+
27
+ ---
28
+
29
+ Source: https://github.com/depup/npm | Original: https://www.npmjs.com/package/postcss-preset-env
30
+
31
+ License inherited from the original package.
package/changes.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "bumped": {
3
+ "autoprefixer": {
4
+ "from": "^10.4.24",
5
+ "to": "^10.4.27"
6
+ }
7
+ },
8
+ "timestamp": "2026-03-17T22:55:43.669Z",
9
+ "totalUpdated": 1
10
+ }
@@ -0,0 +1,339 @@
1
+ import type autoprefixer from 'autoprefixer';
2
+ import type { PluginCreator } from 'postcss';
3
+ import type { pluginOptions as pluginOptions_10 } from 'postcss-color-functional-notation';
4
+ import type { pluginOptions as pluginOptions_11 } from '@csstools/postcss-color-mix-function';
5
+ import type { pluginOptions as pluginOptions_12 } from '@csstools/postcss-color-mix-variadic-function-arguments';
6
+ import type { pluginOptions as pluginOptions_13 } from '@csstools/postcss-content-alt-text';
7
+ import type { pluginOptions as pluginOptions_14 } from '@csstools/postcss-contrast-color-function';
8
+ import type { pluginOptions as pluginOptions_15 } from 'postcss-custom-media';
9
+ import type { pluginOptions as pluginOptions_16 } from 'postcss-custom-properties';
10
+ import type { pluginOptions as pluginOptions_17 } from 'postcss-custom-selectors';
11
+ import type { pluginOptions as pluginOptions_18 } from 'postcss-dir-pseudo-class';
12
+ import type { pluginOptions as pluginOptions_19 } from '@csstools/postcss-normalize-display-values';
13
+ import type { pluginOptions as pluginOptions_2 } from '@csstools/postcss-initial';
14
+ import type { pluginOptions as pluginOptions_20 } from 'postcss-double-position-gradients';
15
+ import type { pluginOptions as pluginOptions_21 } from '@csstools/postcss-exponential-functions';
16
+ import type { pluginOptions as pluginOptions_22 } from '@csstools/postcss-logical-float-and-clear';
17
+ import type { pluginOptions as pluginOptions_23 } from 'postcss-focus-visible';
18
+ import type { pluginOptions as pluginOptions_24 } from 'postcss-focus-within';
19
+ import type { pluginOptions as pluginOptions_25 } from '@csstools/postcss-font-format-keywords';
20
+ import type { pluginOptions as pluginOptions_26 } from '@csstools/postcss-font-width-property';
21
+ import type { pluginOptions as pluginOptions_27 } from '@csstools/postcss-gamut-mapping';
22
+ import type { pluginOptions as pluginOptions_28 } from 'postcss-gap-properties';
23
+ import type { pluginOptions as pluginOptions_29 } from '@csstools/postcss-gradients-interpolation-method';
24
+ import type { pluginOptions as pluginOptions_3 } from '@csstools/postcss-alpha-function';
25
+ import type { pluginOptions as pluginOptions_30 } from 'css-has-pseudo';
26
+ import type { pluginOptions as pluginOptions_31 } from 'postcss-color-hex-alpha';
27
+ import type { pluginOptions as pluginOptions_32 } from '@csstools/postcss-hwb-function';
28
+ import type { pluginOptions as pluginOptions_33 } from '@csstools/postcss-ic-unit';
29
+ import type { pluginOptions as pluginOptions_34 } from 'postcss-image-set-function';
30
+ import type { pluginOptions as pluginOptions_35 } from '@csstools/postcss-is-pseudo-class';
31
+ import type { pluginOptions as pluginOptions_36 } from 'postcss-lab-function';
32
+ import type { pluginOptions as pluginOptions_37 } from '@csstools/postcss-light-dark-function';
33
+ import type { pluginOptions as pluginOptions_38 } from '@csstools/postcss-logical-overflow';
34
+ import type { pluginOptions as pluginOptions_39 } from '@csstools/postcss-logical-overscroll-behavior';
35
+ import type { pluginOptions as pluginOptions_4 } from 'postcss-pseudo-class-any-link';
36
+ import type { pluginOptions as pluginOptions_40 } from 'postcss-logical';
37
+ import type { pluginOptions as pluginOptions_41 } from '@csstools/postcss-logical-resize';
38
+ import type { pluginOptions as pluginOptions_42 } from '@csstools/postcss-logical-viewport-units';
39
+ import type { pluginOptions as pluginOptions_43 } from '@csstools/postcss-media-queries-aspect-ratio-number-values';
40
+ import type { pluginOptions as pluginOptions_44 } from '@csstools/postcss-media-minmax';
41
+ import type { pluginOptions as pluginOptions_45 } from '@csstools/postcss-mixins';
42
+ import type { pluginOptions as pluginOptions_46 } from '@csstools/postcss-nested-calc';
43
+ import type { pluginOptions as pluginOptions_47 } from 'postcss-nesting';
44
+ import type { pluginOptions as pluginOptions_48 } from 'postcss-selector-not';
45
+ import type { pluginOptions as pluginOptions_49 } from '@csstools/postcss-oklab-function';
46
+ import type { pluginOptions as pluginOptions_5 } from 'css-blank-pseudo';
47
+ import type { pluginOptions as pluginOptions_50 } from 'postcss-overflow-shorthand';
48
+ import type { pluginOptions as pluginOptions_51 } from 'postcss-place';
49
+ import type { pluginOptions as pluginOptions_52 } from '@csstools/postcss-position-area-property';
50
+ import type { pluginOptions as pluginOptions_53 } from 'css-prefers-color-scheme';
51
+ import type { pluginOptions as pluginOptions_54 } from '@csstools/postcss-property-rule-prelude-list';
52
+ import type { pluginOptions as pluginOptions_55 } from '@csstools/postcss-random-function';
53
+ import type { pluginOptions as pluginOptions_56 } from 'postcss-color-rebeccapurple';
54
+ import type { pluginOptions as pluginOptions_57 } from '@csstools/postcss-relative-color-syntax';
55
+ import type { pluginOptions as pluginOptions_58 } from '@csstools/postcss-scope-pseudo-class';
56
+ import type { pluginOptions as pluginOptions_59 } from '@csstools/postcss-sign-functions';
57
+ import type { pluginOptions as pluginOptions_6 } from '@csstools/postcss-cascade-layers';
58
+ import type { pluginOptions as pluginOptions_60 } from '@csstools/postcss-stepped-value-functions';
59
+ import type { pluginOptions as pluginOptions_61 } from '@csstools/postcss-syntax-descriptor-syntax-production';
60
+ import type { pluginOptions as pluginOptions_62 } from '@csstools/postcss-system-ui-font-family';
61
+ import type { pluginOptions as pluginOptions_63 } from '@csstools/postcss-text-decoration-shorthand';
62
+ import type { pluginOptions as pluginOptions_64 } from '@csstools/postcss-trigonometric-functions';
63
+ import type { pluginOptions as pluginOptions_65 } from '@csstools/postcss-unset-value';
64
+ import type { pluginOptions as pluginOptions_7 } from 'postcss-attribute-case-insensitive';
65
+ import type { pluginOptions as pluginOptions_8 } from '@csstools/postcss-color-function';
66
+ import type { pluginOptions as pluginOptions_9 } from '@csstools/postcss-color-function-display-p3-linear';
67
+
68
+ declare const creator: PluginCreator<pluginOptions>;
69
+ export default creator;
70
+ export { creator as 'module.exports' }
71
+
72
+ export declare enum DirectionFlow {
73
+ TopToBottom = "top-to-bottom",
74
+ BottomToTop = "bottom-to-top",
75
+ RightToLeft = "right-to-left",
76
+ LeftToRight = "left-to-right"
77
+ }
78
+
79
+ export declare type pluginOptions = {
80
+ /**
81
+ * Determine which CSS features to polyfill,
82
+ * based upon their process in becoming web standards.
83
+ * default: 2
84
+ */
85
+ stage?: number | false;
86
+ /**
87
+ * Determine which CSS features to polyfill,
88
+ * based their implementation status.
89
+ * default: 0
90
+ */
91
+ minimumVendorImplementations?: number;
92
+ /**
93
+ * Enable any feature that would need an extra browser library to be loaded into the page for it to work.
94
+ * default: false
95
+ */
96
+ enableClientSidePolyfills?: boolean;
97
+ /**
98
+ * PostCSS Preset Env supports any standard browserslist configuration,
99
+ * which can be a `.browserslistrc` file,
100
+ * a `browserslist` key in `package.json`,
101
+ * or `browserslist` environment variables.
102
+ *
103
+ * The `env` option is used to select a specific browserslist environment in the event that you have more than one.
104
+ */
105
+ env?: string;
106
+ /**
107
+ * PostCSS Preset Env supports any standard browserslist configuration,
108
+ * which can be a `.browserslistrc` file,
109
+ * a `browserslist` key in `package.json`,
110
+ * or `browserslist` environment variables.
111
+ *
112
+ * The `browsers` option should only be used when a standard browserslist configuration is not available.
113
+ * When the `browsers` option is used the `env` option is ignored.
114
+ */
115
+ browsers?: string | Array<string> | null;
116
+ /**
117
+ * Determine whether all plugins should receive a `preserve` option,
118
+ * which may preserve or remove the original and now polyfilled CSS.
119
+ * Each plugin has it's own default, some true, others false.
120
+ * default: _not set_
121
+ */
122
+ preserve?: boolean;
123
+ /**
124
+ * [Configure autoprefixer](https://github.com/postcss/autoprefixer#options)
125
+ */
126
+ autoprefixer?: autoprefixer.Options;
127
+ /**
128
+ * Enable or disable specific polyfills by ID.
129
+ * Passing `true` to a specific [feature ID](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/FEATURES.md) will enable its polyfill,
130
+ * while passing `false` will disable it.
131
+ *
132
+ * Passing an object to a specific feature ID will both enable and configure it.
133
+ */
134
+ features?: pluginsOptions;
135
+ /**
136
+ * The `insertBefore` key allows you to insert other PostCSS plugins into the chain.
137
+ * This is only useful if you are also using sugary PostCSS plugins that must execute before certain polyfills.
138
+ * `insertBefore` supports chaining one or multiple plugins.
139
+ */
140
+ insertBefore?: Record<string, unknown>;
141
+ /**
142
+ * The `insertAfter` key allows you to insert other PostCSS plugins into the chain.
143
+ * This is only useful if you are also using sugary PostCSS plugins that must execute after certain polyfills.
144
+ * `insertAfter` supports chaining one or multiple plugins.
145
+ */
146
+ insertAfter?: Record<string, unknown>;
147
+ /**
148
+ * Enable debugging messages to stdout giving insights into which features have been enabled/disabled and why.
149
+ * default: false
150
+ */
151
+ debug?: boolean;
152
+ /**
153
+ * The `logical` object allows to configure all plugins related to logical document flow at once.
154
+ * It accepts the same options as each plugin: `inlineDirection` and `blockDirection`.
155
+ */
156
+ logical?: {
157
+ /** Set the inline flow direction. default: left-to-right */
158
+ inlineDirection?: DirectionFlow;
159
+ /** Set the block flow direction. default: top-to-bottom */
160
+ blockDirection?: DirectionFlow;
161
+ };
162
+ };
163
+
164
+ export declare type pluginsOptions = {
165
+ /** plugin options for "@csstools/postcss-initial" */
166
+ 'all-property'?: subPluginOptions<pluginOptions_2>;
167
+ /** plugin options for "@csstools/postcss-alpha-function" */
168
+ 'alpha-function'?: subPluginOptions<pluginOptions_3>;
169
+ /** plugin options for "postcss-pseudo-class-any-link" */
170
+ 'any-link-pseudo-class'?: subPluginOptions<pluginOptions_4>;
171
+ /** plugin options for "css-blank-pseudo" */
172
+ 'blank-pseudo-class'?: subPluginOptions<pluginOptions_5>;
173
+ /** plugin options for "postcss-page-break" */
174
+ 'break-properties'?: subPluginOptions<postcssPageBreakOptions>;
175
+ /** plugin options for "@csstools/postcss-cascade-layers" */
176
+ 'cascade-layers'?: subPluginOptions<pluginOptions_6>;
177
+ /** plugin options for "postcss-attribute-case-insensitive" */
178
+ 'case-insensitive-attributes'?: subPluginOptions<pluginOptions_7>;
179
+ /** plugin options for "postcss-clamp" */
180
+ 'clamp'?: subPluginOptions<postcssClampOptions>;
181
+ /** plugin options for "@csstools/postcss-color-function" */
182
+ 'color-function'?: subPluginOptions<pluginOptions_8>;
183
+ /** plugin options for "@csstools/postcss-color-function-display-p3-linear" */
184
+ 'color-function-display-p3-linear'?: subPluginOptions<pluginOptions_9>;
185
+ /** plugin options for "postcss-color-functional-notation" */
186
+ 'color-functional-notation'?: subPluginOptions<pluginOptions_10>;
187
+ /** plugin options for "@csstools/postcss-color-mix-function" */
188
+ 'color-mix'?: subPluginOptions<pluginOptions_11>;
189
+ /** plugin options for "@csstools/postcss-color-mix-variadic-function-arguments" */
190
+ 'color-mix-variadic-function-arguments'?: subPluginOptions<pluginOptions_12>;
191
+ /** plugin options for "@csstools/postcss-content-alt-text" */
192
+ 'content-alt-text'?: subPluginOptions<pluginOptions_13>;
193
+ /** plugin options for "@csstools/postcss-contrast-color-function" */
194
+ 'contrast-color-function'?: subPluginOptions<pluginOptions_14>;
195
+ /** plugin options for "postcss-custom-media" */
196
+ 'custom-media-queries'?: subPluginOptions<pluginOptions_15>;
197
+ /** plugin options for "postcss-custom-properties" */
198
+ 'custom-properties'?: subPluginOptions<pluginOptions_16>;
199
+ /** plugin options for "postcss-custom-selectors" */
200
+ 'custom-selectors'?: subPluginOptions<pluginOptions_17>;
201
+ /** plugin options for "postcss-dir-pseudo-class" */
202
+ 'dir-pseudo-class'?: subPluginOptions<pluginOptions_18>;
203
+ /** plugin options for "@csstools/postcss-normalize-display-values" */
204
+ 'display-two-values'?: subPluginOptions<pluginOptions_19>;
205
+ /** plugin options for "postcss-double-position-gradients" */
206
+ 'double-position-gradients'?: subPluginOptions<pluginOptions_20>;
207
+ /** plugin options for "@csstools/postcss-exponential-functions" */
208
+ 'exponential-functions'?: subPluginOptions<pluginOptions_21>;
209
+ /** plugin options for "@csstools/postcss-logical-float-and-clear" */
210
+ 'float-clear-logical-values'?: subPluginOptions<pluginOptions_22>;
211
+ /** plugin options for "postcss-focus-visible" */
212
+ 'focus-visible-pseudo-class'?: subPluginOptions<pluginOptions_23>;
213
+ /** plugin options for "postcss-focus-within" */
214
+ 'focus-within-pseudo-class'?: subPluginOptions<pluginOptions_24>;
215
+ /** plugin options for "@csstools/postcss-font-format-keywords" */
216
+ 'font-format-keywords'?: subPluginOptions<pluginOptions_25>;
217
+ /** plugin options for "postcss-font-variant" */
218
+ 'font-variant-property'?: subPluginOptions<postcssFontVariantOptions>;
219
+ /** plugin options for "@csstools/postcss-font-width-property" */
220
+ 'font-width-property'?: subPluginOptions<pluginOptions_26>;
221
+ /** plugin options for "@csstools/postcss-gamut-mapping" */
222
+ 'gamut-mapping'?: subPluginOptions<pluginOptions_27>;
223
+ /** plugin options for "postcss-gap-properties" */
224
+ 'gap-properties'?: subPluginOptions<pluginOptions_28>;
225
+ /** plugin options for "@csstools/postcss-gradients-interpolation-method" */
226
+ 'gradients-interpolation-method'?: subPluginOptions<pluginOptions_29>;
227
+ /** plugin options for "css-has-pseudo" */
228
+ 'has-pseudo-class'?: subPluginOptions<pluginOptions_30>;
229
+ /** plugin options for "postcss-color-hex-alpha" */
230
+ 'hexadecimal-alpha-notation'?: subPluginOptions<pluginOptions_31>;
231
+ /** plugin options for "@csstools/postcss-hwb-function" */
232
+ 'hwb-function'?: subPluginOptions<pluginOptions_32>;
233
+ /** plugin options for "@csstools/postcss-ic-unit" */
234
+ 'ic-unit'?: subPluginOptions<pluginOptions_33>;
235
+ /** plugin options for "postcss-image-set-function" */
236
+ 'image-set-function'?: subPluginOptions<pluginOptions_34>;
237
+ /** plugin options for "@csstools/postcss-is-pseudo-class" */
238
+ 'is-pseudo-class'?: subPluginOptions<pluginOptions_35>;
239
+ /** plugin options for "postcss-lab-function" */
240
+ 'lab-function'?: subPluginOptions<pluginOptions_36>;
241
+ /** plugin options for "@csstools/postcss-light-dark-function" */
242
+ 'light-dark-function'?: subPluginOptions<pluginOptions_37>;
243
+ /** plugin options for "@csstools/postcss-logical-overflow" */
244
+ 'logical-overflow'?: subPluginOptions<pluginOptions_38>;
245
+ /** plugin options for "@csstools/postcss-logical-overscroll-behavior" */
246
+ 'logical-overscroll-behavior'?: subPluginOptions<pluginOptions_39>;
247
+ /** plugin options for "postcss-logical" */
248
+ 'logical-properties-and-values'?: subPluginOptions<pluginOptions_40>;
249
+ /** plugin options for "@csstools/postcss-logical-resize" */
250
+ 'logical-resize'?: subPluginOptions<pluginOptions_41>;
251
+ /** plugin options for "@csstools/postcss-logical-viewport-units" */
252
+ 'logical-viewport-units'?: subPluginOptions<pluginOptions_42>;
253
+ /** plugin options for "@csstools/postcss-media-queries-aspect-ratio-number-values" */
254
+ 'media-queries-aspect-ratio-number-values'?: subPluginOptions<pluginOptions_43>;
255
+ /** plugin options for "@csstools/postcss-media-minmax" */
256
+ 'media-query-ranges'?: subPluginOptions<pluginOptions_44>;
257
+ /** plugin options for "@csstools/postcss-mixins" */
258
+ 'mixins'?: subPluginOptions<pluginOptions_45>;
259
+ /** plugin options for "@csstools/postcss-nested-calc" */
260
+ 'nested-calc'?: subPluginOptions<pluginOptions_46>;
261
+ /** plugin options for "postcss-nesting" */
262
+ 'nesting-rules'?: subPluginOptions<pluginOptions_47>;
263
+ /** plugin options for "postcss-selector-not" */
264
+ 'not-pseudo-class'?: subPluginOptions<pluginOptions_48>;
265
+ /** plugin options for "@csstools/postcss-oklab-function" */
266
+ 'oklab-function'?: subPluginOptions<pluginOptions_49>;
267
+ /** plugin options for "postcss-opacity-percentage" */
268
+ 'opacity-percentage'?: subPluginOptions<postcssOpacityPercentageOptions>;
269
+ /** plugin options for "postcss-overflow-shorthand" */
270
+ 'overflow-property'?: subPluginOptions<pluginOptions_50>;
271
+ /** plugin options for "postcss-replace-overflow-wrap" */
272
+ 'overflow-wrap-property'?: subPluginOptions<postcssReplaceOverflowWrapOptions>;
273
+ /** plugin options for "postcss-place" */
274
+ 'place-properties'?: subPluginOptions<pluginOptions_51>;
275
+ /** plugin options for "@csstools/postcss-position-area-property" */
276
+ 'position-area-property'?: subPluginOptions<pluginOptions_52>;
277
+ /** plugin options for "css-prefers-color-scheme" */
278
+ 'prefers-color-scheme-query'?: subPluginOptions<pluginOptions_53>;
279
+ /** plugin options for "@csstools/postcss-property-rule-prelude-list" */
280
+ 'property-rule-prelude-list'?: subPluginOptions<pluginOptions_54>;
281
+ /** plugin options for "@csstools/postcss-random-function" */
282
+ 'random-function'?: subPluginOptions<pluginOptions_55>;
283
+ /** plugin options for "postcss-color-rebeccapurple" */
284
+ 'rebeccapurple-color'?: subPluginOptions<pluginOptions_56>;
285
+ /** plugin options for "@csstools/postcss-relative-color-syntax" */
286
+ 'relative-color-syntax'?: subPluginOptions<pluginOptions_57>;
287
+ /** plugin options for "@csstools/postcss-scope-pseudo-class" */
288
+ 'scope-pseudo-class'?: subPluginOptions<pluginOptions_58>;
289
+ /** plugin options for "@csstools/postcss-sign-functions" */
290
+ 'sign-functions'?: subPluginOptions<pluginOptions_59>;
291
+ /** plugin options for "@csstools/postcss-stepped-value-functions" */
292
+ 'stepped-value-functions'?: subPluginOptions<pluginOptions_60>;
293
+ /** plugin options for "@csstools/postcss-syntax-descriptor-syntax-production" */
294
+ 'syntax-descriptor-syntax-production'?: subPluginOptions<pluginOptions_61>;
295
+ /** plugin options for "@csstools/postcss-system-ui-font-family" */
296
+ 'system-ui-font-family'?: subPluginOptions<pluginOptions_62>;
297
+ /** plugin options for "@csstools/postcss-text-decoration-shorthand" */
298
+ 'text-decoration-shorthand'?: subPluginOptions<pluginOptions_63>;
299
+ /** plugin options for "@csstools/postcss-trigonometric-functions" */
300
+ 'trigonometric-functions'?: subPluginOptions<pluginOptions_64>;
301
+ /** plugin options for "@csstools/postcss-unset-value" */
302
+ 'unset-value'?: subPluginOptions<pluginOptions_65>;
303
+ };
304
+
305
+ /** postcss-clamp plugin options */
306
+ export declare type postcssClampOptions = {
307
+ /** Preserve the original notation. default: false */
308
+ preserve?: boolean;
309
+ /**
310
+ * The precalculate option determines whether values with the same unit should be precalculated.
311
+ * default: false
312
+ */
313
+ precalculate?: boolean;
314
+ };
315
+
316
+ /** postcss-system-ui-font-family plugin options */
317
+ export declare type postcssFontFamilySystemUIOptions = Record<string, never>;
318
+
319
+ /** postcss-font-variant plugin options */
320
+ export declare type postcssFontVariantOptions = Record<string, never>;
321
+
322
+ /** postcss-opacity-percentage plugin options */
323
+ export declare type postcssOpacityPercentageOptions = {
324
+ /** Preserve the original notation. default: false */
325
+ preserve?: boolean;
326
+ };
327
+
328
+ /** postcss-page-break plugin options */
329
+ export declare type postcssPageBreakOptions = Record<string, never>;
330
+
331
+ /** postcss-replace-overflow-wrap plugin options */
332
+ export declare type postcssReplaceOverflowWrapOptions = {
333
+ /** Preserve the original notation. default: false */
334
+ preserve?: boolean;
335
+ };
336
+
337
+ export declare type subPluginOptions<T> = ['auto' | boolean, T] | T | boolean;
338
+
339
+ export { }
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ import s from"autoprefixer";import o from"cssdb";import e from"browserslist";import t from"@csstools/postcss-initial";import r from"@csstools/postcss-alpha-function";import i from"postcss-pseudo-class-any-link";import a from"css-blank-pseudo";import c from"postcss-page-break";import p from"@csstools/postcss-cascade-layers";import n from"postcss-attribute-case-insensitive";import l from"postcss-clamp";import m from"@csstools/postcss-color-function";import u from"@csstools/postcss-color-function-display-p3-linear";import d from"postcss-color-functional-notation";import f from"@csstools/postcss-color-mix-function";import g from"@csstools/postcss-color-mix-variadic-function-arguments";import h from"@csstools/postcss-content-alt-text";import b from"@csstools/postcss-contrast-color-function";import N from"postcss-custom-media";import v from"postcss-custom-properties";import y from"postcss-custom-selectors";import k from"postcss-dir-pseudo-class";import w from"@csstools/postcss-normalize-display-values";import x from"postcss-double-position-gradients";import F from"@csstools/postcss-exponential-functions";import O from"@csstools/postcss-logical-float-and-clear";import P from"postcss-focus-visible";import C from"postcss-focus-within";import $ from"@csstools/postcss-font-format-keywords";import S from"postcss-font-variant";import A from"@csstools/postcss-font-width-property";import _ from"@csstools/postcss-gamut-mapping";import L from"postcss-gap-properties";import E from"@csstools/postcss-gradients-interpolation-method";import I from"css-has-pseudo";import B from"postcss-color-hex-alpha";import q from"@csstools/postcss-hwb-function";import M from"@csstools/postcss-ic-unit";import D from"postcss-image-set-function";import j from"@csstools/postcss-is-pseudo-class";import z from"postcss-lab-function";import U from"@csstools/postcss-light-dark-function";import R from"@csstools/postcss-logical-overflow";import T from"@csstools/postcss-logical-overscroll-behavior";import V from"postcss-logical";import H from"@csstools/postcss-logical-resize";import W from"@csstools/postcss-logical-viewport-units";import G from"@csstools/postcss-media-queries-aspect-ratio-number-values";import K from"@csstools/postcss-media-minmax";import Z from"@csstools/postcss-mixins";import Q from"@csstools/postcss-nested-calc";import J from"postcss-nesting";import X from"postcss-selector-not";import Y from"@csstools/postcss-oklab-function";import ss from"postcss-opacity-percentage";import os from"postcss-overflow-shorthand";import es from"postcss-replace-overflow-wrap";import ts from"postcss-place";import rs from"@csstools/postcss-position-area-property";import is from"css-prefers-color-scheme";import as from"@csstools/postcss-progressive-custom-properties";import cs from"@csstools/postcss-property-rule-prelude-list";import ps from"@csstools/postcss-random-function";import ns from"postcss-color-rebeccapurple";import ls from"@csstools/postcss-relative-color-syntax";import ms from"@csstools/postcss-scope-pseudo-class";import us from"@csstools/postcss-sign-functions";import ds from"@csstools/postcss-stepped-value-functions";import fs from"@csstools/postcss-syntax-descriptor-syntax-production";import gs from"@csstools/postcss-system-ui-font-family";import hs from"@csstools/postcss-text-decoration-shorthand";import bs from"@csstools/postcss-trigonometric-functions";import Ns from"@csstools/postcss-unset-value";const vs={"blank-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-blank-pseudo/README.md#browser","focus-visible-pseudo-class":"https://github.com/WICG/focus-visible","focus-within-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-focus-within/README.md#browser","has-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-has-pseudo/README.md#browser","prefers-color-scheme-query":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-prefers-color-scheme/README.md#browser"},ys=["blank-pseudo-class","focus-visible-pseudo-class","focus-within-pseudo-class","has-pseudo-class","prefers-color-scheme-query"];function logFeaturesList(s,o,e){if(o.debug){e.log("Enabling the following feature(s):");const t=[],r=[];!1!==o.autoprefixer&&r.push(" autoprefixer"),s.forEach(s=>{s.id.startsWith("before")||s.id.startsWith("after")?r.push(` ${s.id} (injected via options)`):r.push(` ${s.id}`),void 0!==vs[s.id]&&t.push(s.id)}),r.sort((s,o)=>s.localeCompare(o)),t.sort((s,o)=>s.localeCompare(o)),r.forEach(s=>e.log(s)),t.length&&(e.log("These feature(s) need a browser library to work:"),t.forEach(s=>e.log(` ${s}: ${vs[s]}`)))}}function initializeSharedOptions(s){if("preserve"in s){const o={};return o.preserve=s.preserve,o}return!1}function clamp(s,o,e){return Math.max(s,Math.min(o,e))}function stageFromOptions(s,o){let e=2;if(void 0===s.stage)return o.log("Using features from Stage 2 (default)."),e;if(!1===s.stage)e=5;else{let o=parseInt(s.stage,10);Number.isNaN(o)&&(o=0),e=clamp(0,o,5)}return 5===e?o.log('Stage has been disabled, features will be handled via the "features" option.'):o.log(`Using features from Stage ${e}.`),e}const ks=Symbol("insertBefore"),ws=Symbol("insertAfter"),xs=Symbol("insertOrder"),Fs=Symbol("plugin");function getTransformedInsertions(s,o,e){if("insertBefore"!==e&&"insertAfter"!==e)return[];const t="insertBefore"===e?ks:ws,r=[];for(const e in o){if(!Object.hasOwnProperty.call(o,e))continue;if(!s.find(s=>s.id===e))continue;let i=o[e];Array.isArray(i)||(i=[i]);for(let s=0;s<i.length;s++)r.push({id:e,[Fs]:i[s],[xs]:s,[t]:!0})}return r}var Os=["mixins","custom-media-queries","environment-variables","image-set-function","media-query-ranges","media-queries-aspect-ratio-number-values","prefers-color-scheme-query","nesting-rules","custom-selectors","any-link-pseudo-class","case-insensitive-attributes","focus-visible-pseudo-class","focus-within-pseudo-class","not-pseudo-class","logical-properties-and-values","float-clear-logical-values","logical-overflow","logical-overscroll-behavior","logical-resize","logical-viewport-units","dir-pseudo-class","all-property","gradients-interpolation-method","color-mix-variadic-function-arguments","color-mix","contrast-color-function","alpha-function","relative-color-syntax","lab-function","oklab-function","color-function-display-p3-linear","color-function","hwb-function","color-functional-notation","rebeccapurple-color","hexadecimal-alpha-notation","light-dark-function","double-position-gradients","blank-pseudo-class","break-properties","font-variant-property","is-pseudo-class","scope-pseudo-class","has-pseudo-class","gap-properties","overflow-property","overflow-wrap-property","place-properties","position-area-property","system-ui-font-family","font-format-keywords","font-width-property","display-two-values","content-alt-text","ic-unit","opacity-percentage","text-decoration-shorthand","unset-value","property-rule-prelude-list","syntax-descriptor-syntax-production","random-function","sign-functions","stepped-value-functions","trigonometric-functions","exponential-functions","clamp","nested-calc","custom-properties","cascade-layers","progressive-custom-properties","gamut-mapping"];function featureIsLess(s,o){return s.id===o.id?s[ks]&&o[ks]||s[ws]&&o[ws]?clamp(-1,s[xs]-o[xs],1):s[ks]||o[ws]?-1:s[ws]||o[ks]?1:0:clamp(-1,Os.indexOf(s.id)-Os.indexOf(o.id),1)}const Ps=new Map([["all-property",t],["alpha-function",r],["any-link-pseudo-class",i],["blank-pseudo-class",a],["break-properties",c],["cascade-layers",p],["case-insensitive-attributes",n],["clamp",l],["color-function",m],["color-function-display-p3-linear",u],["color-functional-notation",d],["color-mix",f],["color-mix-variadic-function-arguments",g],["content-alt-text",h],["contrast-color-function",b],["custom-media-queries",N],["custom-properties",v],["custom-selectors",y],["dir-pseudo-class",k],["display-two-values",w],["double-position-gradients",x],["exponential-functions",F],["float-clear-logical-values",O],["focus-visible-pseudo-class",P],["focus-within-pseudo-class",C],["font-format-keywords",$],["font-variant-property",S],["font-width-property",A],["gamut-mapping",_],["gap-properties",L],["gradients-interpolation-method",E],["has-pseudo-class",I],["hexadecimal-alpha-notation",B],["hwb-function",q],["ic-unit",M],["image-set-function",D],["is-pseudo-class",j],["lab-function",z],["light-dark-function",U],["logical-overflow",R],["logical-overscroll-behavior",T],["logical-properties-and-values",V],["logical-resize",H],["logical-viewport-units",W],["media-queries-aspect-ratio-number-values",G],["media-query-ranges",K],["mixins",Z],["nested-calc",Q],["nesting-rules",J],["not-pseudo-class",X],["oklab-function",Y],["opacity-percentage",ss],["overflow-property",os],["overflow-wrap-property",es],["place-properties",ts],["position-area-property",rs],["prefers-color-scheme-query",is],["progressive-custom-properties",as],["property-rule-prelude-list",cs],["random-function",ps],["rebeccapurple-color",ns],["relative-color-syntax",ls],["scope-pseudo-class",ms],["sign-functions",us],["stepped-value-functions",ds],["syntax-descriptor-syntax-production",fs],["system-ui-font-family",gs],["text-decoration-shorthand",hs],["trigonometric-functions",bs],["unset-value",Ns]]);function featureIsInsertedOrHasAPlugin(s){return!!s[ks]||(!!s[ws]||!!Ps.has(s.id))}function prepareFeaturesList(s,o,e){return s.concat(getTransformedInsertions(s,o,"insertBefore"),getTransformedInsertions(s,e,"insertAfter")).filter(s=>featureIsInsertedOrHasAPlugin(s)).sort((s,o)=>featureIsLess(s,o))}function getOptionsForBrowsersByFeature(s,o,e,t){switch(o.id){case"is-pseudo-class":return{onComplexSelector:"warning"};case"any-link-pseudo-class":if(s.find(s=>s.startsWith("ie ")||"edge 12"===s||"edge 13"===s||"edge 14"===s||"edge 15"===s||"edge 16"===s||"edge 17"===s||"edge 18"===s))return t.log("- 'any-link-pseudo-class' setting 'subFeatures: { areaHrefNeedsFixing: true }' due to lack of browser support for area[href] in Edge and IE."),{subFeatures:{areaHrefNeedsFixing:!0}};return{};case"logical-properties-and-values":case"float-clear-logical-values":case"logical-resize":case"logical-viewport-units":case"logical-overflow":case"logical-overscroll-behavior":return"logical"in e?e.logical:{};default:return{}}}const Cs=["and_chr","and_ff","android","chrome","edge","firefox","ie","ios_saf","op_mini","op_mob","opera","safari","samsung"];function getUnsupportedBrowsersByFeature(s){if(!s)return[];if("position-area-property"===s.id)return["chrome 125","chrome 126","chrome 127","chrome 128","edge 125","edge 126","edge 127","edge 128","and_chr 125","and_chr 126","and_chr 127","and_chr 128","android 125","android 126","android 127","android 128","samsung 27","opera 111","opera 112","opera 113","opera 114","op_mob 83","op_mob 84","op_mob 85"];if(!("browser_support"in s))return["> 0%"];const o=[];return Cs.forEach(e=>{if("op_mini"===e&&void 0===s.browser_support[e])return void o.push("op_mini all");const t=s.browser_support[e];"string"==typeof t&&$s.test(t)?o.push(`${e} < ${s.browser_support[e]}`):o.push(`${e} >= 1`)}),o}const $s=/^[0-9|.]+$/;function formatPolyfillableFeature(s){const o=getUnsupportedBrowsersByFeature(s);if(s[ks]||s[ws]){let e=s.id;return e=s.insertBefore?`before-${e}`:`after-${e}`,{browsers:o,vendors_implementations:s.vendors_implementations,plugin:s[Fs],id:e,stage:6}}return{browsers:o,vendors_implementations:s.vendors_implementations,plugin:Ps.get(s.id),id:s.id,stage:s.stage}}function formatStagedFeature(s,o,e,t,r,i){let a,c;return a=getOptionsForBrowsersByFeature(s,e,r,i),a=t?Object.assign({},a,t,featureOptions(o,e.id)):Object.assign({},a,featureOptions(o,e.id)),"progressive-custom-properties"!==e.id&&(a.enableProgressiveCustomProperties=!1),"overflow-wrap-property"===e.id&&"preserve"in a&&(a.method=a.preserve?"copy":"replace"),c=e.plugin.postcss&&"function"==typeof e.plugin?e.plugin(a):e.plugin&&e.plugin.default&&"function"==typeof e.plugin.default&&e.plugin.default.postcss?e.plugin.default(a):e.plugin,{browsers:e.browsers,vendors_implementations:e.vendors_implementations,plugin:c,pluginOptions:a,id:e.id}}function featureOptions(s,o){if(!(o in s))return;const e=s[o];return Array.isArray(e)?e[1]:e}function intOrZero(s){const o=parseInt(s,10);return Number.isNaN(o)?0:o}const Ss=new Set(["progressive-custom-properties"]);function listFeatures(s,o,t,r){const i=Object(o.features),a="enableClientSidePolyfills"in o&&o.enableClientSidePolyfills,c=Object(o.insertBefore),p=Object(o.insertAfter),n=o.browsers?void 0:o.env,l=o.browsers,m=clamp(0,intOrZero(o.minimumVendorImplementations),3);m>0&&r.log(`Using features with ${m} or more vendor implementations.`);const u=stageFromOptions(o,r),d=prepareFeaturesList([...s,{id:"progressive-custom-properties"}],c,p).map(s=>formatPolyfillableFeature(s)).filter(s=>!!Ss.has(s.id)||(0===m||(!(!s[ks]&&!s[ws])||(m<=s.vendors_implementations||(!0===featureEnabledByOptions(i,s.id)?(r.log(`- '${s.id}' enabled manually even when it lacks the required interop (${s.vendors_implementations} out of ${m}).`),!0):(r.log(`- '${s.id}' disabled because it lacks the required interop (${s.vendors_implementations} out of ${m}).`),!1)))))),f=e(l,{env:n,ignoreUnknownVersions:!0}).filter(s=>Cs.includes(s.split(" ")[0]));return d.filter(s=>{if(Ss.has(s.id))return!0;const o=s.stage>=u,e=a||!ys.includes(s.id),t=featureEnabledByOptions(i,s.id),c=!1===t,p=!0===t||o&&e;return c?r.log(`- '${s.id}' disabled manually`):o?e||r.log(`- '${s.id}' disabled because 'enableClientSidePolyfills' is 'false'.`):p?r.log(`- '${s.id}' enabled manually even when it lacks the required stage (${s.stage} out of ${u}).`):r.log(`- '${s.id}' disabled because it lacks the required stage (${s.stage} out of ${u}).`),!c&&p}).map(s=>formatStagedFeature(f,i,s,t,o,r)).filter(s=>{if(Ss.has(s.id))return!0;const o=featureEnabledByOptions(i,s.id);if(!0===o||!1===o)return o;const t=e(s.browsers,{ignoreUnknownVersions:!0}),a=f.filter(s=>t.some(o=>o===s));return a.length>0?r.log(`- '${s.id}' enabled for:\n ${a.join("\n ")}`):r.log(`- '${s.id}' disabled because all targeted browsers support it.`),a.length>0})}function featureEnabledByOptions(s,o){if(!(o in s))return"auto";const e=s[o];return Array.isArray(e)?!0===e[0]||!1!==e[0]&&"auto":Boolean(e)}class Logger{constructor(){this.logs=[]}log(s){this.logs.push(s)}resetLogger(){this.logs.length=0}emitLogs(s){s&&s.warn(this.logs.join("\n")),this.resetLogger()}}var As=[{packageName:"css-blank-pseudo",id:"blank-pseudo-class",importName:"postcssBlankPseudo"},{packageName:"css-has-pseudo",id:"has-pseudo-class",importName:"postcssHasPseudo"},{packageName:"css-prefers-color-scheme",id:"prefers-color-scheme-query",importName:"postcssPrefersColorScheme"},{packageName:"postcss-attribute-case-insensitive",id:"case-insensitive-attributes",importName:"postcssAttributeCaseInsensitive"},{packageName:"postcss-clamp",id:"clamp",importName:"postcssClamp"},{packageName:"@csstools/postcss-alpha-function",id:"alpha-function",importName:"postcssAlphaFunction"},{packageName:"@csstools/postcss-color-mix-variadic-function-arguments",id:"color-mix-variadic-function-arguments",importName:"postcssColorMixVariadicFunctionArguments"},{packageName:"@csstools/postcss-color-mix-function",id:"color-mix",importName:"postcssColorMixFunction"},{packageName:"@csstools/postcss-color-function",id:"color-function",importName:"postcssColorFunction"},{packageName:"@csstools/postcss-color-function-display-p3-linear",id:"color-function-display-p3-linear",importName:"postcssColorFunctionDisplayP3Linear"},{packageName:"postcss-color-functional-notation",id:"color-functional-notation",importName:"postcssColorFunctionalNotation"},{packageName:"postcss-color-hex-alpha",id:"hexadecimal-alpha-notation",importName:"postcssColorHexAlpha"},{packageName:"@csstools/postcss-content-alt-text",id:"content-alt-text",importName:"postcssContentAltText"},{packageName:"postcss-color-rebeccapurple",id:"rebeccapurple-color",importName:"postcssColorRebeccapurple"},{packageName:"@csstools/postcss-contrast-color-function",id:"contrast-color-function",importName:"postcssContrastColorFunction"},{packageName:"postcss-custom-media",id:"custom-media-queries",importName:"postcssCustomMedia"},{packageName:"postcss-custom-properties",id:"custom-properties",importName:"postcssCustomProperties"},{packageName:"postcss-custom-selectors",id:"custom-selectors",importName:"postcssCustomSelectors"},{packageName:"postcss-dir-pseudo-class",id:"dir-pseudo-class",importName:"postcssDirPseudoClass"},{packageName:"postcss-double-position-gradients",id:"double-position-gradients",importName:"postcssDoublePositionGradients"},{packageName:"@csstools/postcss-exponential-functions",id:"exponential-functions",importName:"postcssExponentialFunctions"},{packageName:"postcss-focus-visible",id:"focus-visible-pseudo-class",importName:"postcssFocusVisible"},{packageName:"postcss-focus-within",id:"focus-within-pseudo-class",importName:"postcssFocusWithin"},{packageName:"@csstools/postcss-font-format-keywords",id:"font-format-keywords",importName:"postcssFontFormatKeywords"},{packageName:"postcss-font-variant",id:"font-variant-property",importName:"postcssFontVariant"},{packageName:"@csstools/postcss-font-width-property",id:"font-width-property",importName:"postcssFontWidthProperty"},{packageName:"@csstools/postcss-gamut-mapping",id:"gamut-mapping",importName:"postcssGamutMapping"},{packageName:"postcss-gap-properties",id:"gap-properties",importName:"postcssGapProperties"},{packageName:"@csstools/postcss-gradients-interpolation-method",id:"gradients-interpolation-method",importName:"postcssGradientsInterpolationMethod"},{packageName:"@csstools/postcss-hwb-function",id:"hwb-function",importName:"postcssHWBFunction"},{packageName:"@csstools/postcss-ic-unit",id:"ic-unit",importName:"postcssICUnit"},{packageName:"postcss-image-set-function",id:"image-set-function",importName:"postcssImageSetFunction"},{packageName:"@csstools/postcss-initial",id:"all-property",importName:"postcssInitial"},{packageName:"@csstools/postcss-is-pseudo-class",id:"is-pseudo-class",importName:"postcssIsPseudoClass"},{packageName:"@csstools/postcss-scope-pseudo-class",id:"scope-pseudo-class",importName:"postcssScopePseudoClass"},{packageName:"postcss-lab-function",id:"lab-function",importName:"postcssLabFunction"},{packageName:"@csstools/postcss-light-dark-function",id:"light-dark-function",importName:"postcssLightDarkFunction"},{packageName:"postcss-logical",id:"logical-properties-and-values",importName:"postcssLogical"},{packageName:"@csstools/postcss-logical-float-and-clear",id:"float-clear-logical-values",importName:"postcssLogicalFloatAndClear"},{packageName:"@csstools/postcss-logical-overflow",id:"logical-overflow",importName:"postcssLogicalOverflow"},{packageName:"@csstools/postcss-logical-overscroll-behavior",id:"logical-overscroll-behavior",importName:"postcssLogicalOverscrollBehavor"},{packageName:"@csstools/postcss-logical-resize",id:"logical-resize",importName:"postcssLogicalResize"},{packageName:"@csstools/postcss-logical-viewport-units",id:"logical-viewport-units",importName:"postcssLogicalViewportUnits"},{packageName:"@csstools/postcss-media-minmax",id:"media-query-ranges",importName:"postcssMediaMinmax"},{packageName:"@csstools/postcss-media-queries-aspect-ratio-number-values",id:"media-queries-aspect-ratio-number-values",importName:"postcssMediaQueriesAspectRatioNumberValues"},{packageName:"@csstools/postcss-mixins",id:"mixins",importName:"postcssMixins"},{packageName:"postcss-nesting",id:"nesting-rules",importName:"postcssNesting"},{packageName:"@csstools/postcss-normalize-display-values",id:"display-two-values",importName:"postcssNormalizeDisplayValues"},{packageName:"@csstools/postcss-oklab-function",id:"oklab-function",importName:"postcssOKLabFunction"},{packageName:"@csstools/postcss-relative-color-syntax",id:"relative-color-syntax",importName:"postcssRelativeColorSyntax"},{packageName:"postcss-opacity-percentage",id:"opacity-percentage",importName:"postcssOpacityPercentage"},{packageName:"postcss-overflow-shorthand",id:"overflow-property",importName:"postcssOverflowShorthand"},{packageName:"postcss-page-break",id:"break-properties",importName:"postcssPageBreak"},{packageName:"@csstools/postcss-position-area-property",id:"position-area-property",importName:"postcssPositionAreaProperty"},{packageName:"postcss-place",id:"place-properties",importName:"postcssPlace"},{packageName:"postcss-pseudo-class-any-link",id:"any-link-pseudo-class",importName:"postcssPseudoClassAnyLink"},{packageName:"postcss-replace-overflow-wrap",id:"overflow-wrap-property",importName:"postcssReplaceOverflowWrap"},{packageName:"postcss-selector-not",id:"not-pseudo-class",importName:"postcssSelectorNot"},{packageName:"@csstools/postcss-stepped-value-functions",id:"stepped-value-functions",importName:"postcssSteppedValueFunctions"},{packageName:"@csstools/postcss-system-ui-font-family",id:"system-ui-font-family",importName:"postcssSystemUIFontFamily"},{packageName:"@csstools/postcss-unset-value",id:"unset-value",importName:"postcssUnsetValue"},{packageName:"@csstools/postcss-cascade-layers",id:"cascade-layers",importName:"postcssCascadeLayers"},{packageName:"@csstools/postcss-trigonometric-functions",id:"trigonometric-functions",importName:"postcssTrigonometricFunctions"},{packageName:"@csstools/postcss-nested-calc",id:"nested-calc",importName:"postcssNestedCalc"},{packageName:"@csstools/postcss-text-decoration-shorthand",id:"text-decoration-shorthand",importName:"postcssTextDecorationShorthand"},{packageName:"@csstools/postcss-sign-functions",id:"sign-functions",importName:"postcssSignFunctions"},{packageName:"@csstools/postcss-random-function",id:"random-function",importName:"postcssRandomFunction"},{packageName:"@csstools/postcss-property-rule-prelude-list",id:"property-rule-prelude-list",importName:"postcssPropertyRulePreludeList"},{packageName:"@csstools/postcss-syntax-descriptor-syntax-production",id:"syntax-descriptor-syntax-production",importName:"postcssSyntaxDescriptorSyntaxProduction"},{packageName:"@csstools/postcss-progressive-custom-properties",id:"progressive-custom-properties",importName:"postcssProgressiveCustomProperties",omitTypedOptions:!0,omitDocs:!0}];function getPackageNamesToIds(){const s={};return As.forEach(o=>{s[o.packageName]=o.id}),s}function pluginIdHelp(s,o,e){const t=As.map(s=>s.id),r=As.map(s=>s.packageName),i=getPackageNamesToIds();s.forEach(s=>{if(t.includes(s))return;const a=[...t.map(o=>[o,levenshteinDistance(s,o)]),...r.map(o=>[i[o],levenshteinDistance(s,o)])].sort((s,o)=>s[1]-o[1]).filter(s=>s[1]<10),c=new Set;for(let s=0;s<a.length&&(c.add(a[s][0]),!(c.size>=3));s++);if(!c.size)return void o.warn(e,`Unknown feature: "${s}", see the list of features https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/FEATURES.md`);let p='"';p+=Array.from(c).join('", "'),p+='"',o.warn(e,`Unknown feature: "${s}", did you mean one of: ${p}`)})}function levenshteinDistance(s,o){if(!s.length)return o.length;if(!o.length)return s.length;const e=[];for(let t=0;t<=o.length;t++){e[t]=[t];for(let r=1;r<=s.length;r++)e[t][r]=0===t?r:Math.min(e[t-1][r]+1,e[t][r-1]+1,e[t-1][r-1]+(s[r-1]===o[t-1]?0:1))}return e[o.length][s.length]}const creator=e=>{const t=new Logger,r=Object(e),i=Object.keys(Object(r.features)),a=r.browsers?void 0:r.env,c=r.browsers,p=initializeSharedOptions(r),n=listFeatures(o,r,p,t),l=n.map(s=>s.plugin);!1!==r.autoprefixer&&l.push(s(Object.assign({env:a,overrideBrowserslist:c},r.autoprefixer))),logFeaturesList(n,r,t);const internalPlugin=()=>({postcssPlugin:"postcss-preset-env",OnceExit(s,{result:o}){pluginIdHelp(i,s,o),r.debug&&t.emitLogs(o),t.resetLogger()}});return internalPlugin.postcss=!0,{postcssPlugin:"postcss-preset-env",plugins:[...l,internalPlugin()]}};creator.postcss=!0;export{creator as default,creator as"module.exports"};
package/package.json ADDED
@@ -0,0 +1,165 @@
1
+ {
2
+ "name": "@depup/postcss-preset-env",
3
+ "description": "[DepUp] Convert modern CSS into something browsers understand",
4
+ "version": "11.2.0-depup.0",
5
+ "contributors": [
6
+ {
7
+ "name": "Antonio Laguna",
8
+ "email": "antonio@laguna.es",
9
+ "url": "https://antonio.laguna.es"
10
+ },
11
+ {
12
+ "name": "Romain Menke",
13
+ "email": "romainmenke@gmail.com"
14
+ },
15
+ {
16
+ "name": "Jonathan Neal",
17
+ "email": "jonathantneal@hotmail.com"
18
+ }
19
+ ],
20
+ "license": "MIT-0",
21
+ "funding": [
22
+ {
23
+ "type": "github",
24
+ "url": "https://github.com/sponsors/csstools"
25
+ },
26
+ {
27
+ "type": "opencollective",
28
+ "url": "https://opencollective.com/csstools"
29
+ }
30
+ ],
31
+ "engines": {
32
+ "node": ">=20.19.0"
33
+ },
34
+ "type": "module",
35
+ "exports": {
36
+ ".": {
37
+ "types": "./dist/index.d.ts",
38
+ "default": "./dist/index.mjs"
39
+ }
40
+ },
41
+ "files": [
42
+ "CHANGELOG.md",
43
+ "LICENSE.md",
44
+ "README.md",
45
+ "dist",
46
+ "changes.json"
47
+ ],
48
+ "dependencies": {
49
+ "@csstools/postcss-alpha-function": "^2.0.3",
50
+ "@csstools/postcss-cascade-layers": "^6.0.0",
51
+ "@csstools/postcss-color-function": "^5.0.2",
52
+ "@csstools/postcss-color-function-display-p3-linear": "^2.0.2",
53
+ "@csstools/postcss-color-mix-function": "^4.0.2",
54
+ "@csstools/postcss-color-mix-variadic-function-arguments": "^2.0.2",
55
+ "@csstools/postcss-content-alt-text": "^3.0.0",
56
+ "@csstools/postcss-contrast-color-function": "^3.0.2",
57
+ "@csstools/postcss-exponential-functions": "^3.0.1",
58
+ "@csstools/postcss-font-format-keywords": "^5.0.0",
59
+ "@csstools/postcss-font-width-property": "^1.0.0",
60
+ "@csstools/postcss-gamut-mapping": "^3.0.2",
61
+ "@csstools/postcss-gradients-interpolation-method": "^6.0.2",
62
+ "@csstools/postcss-hwb-function": "^5.0.2",
63
+ "@csstools/postcss-ic-unit": "^5.0.0",
64
+ "@csstools/postcss-initial": "^3.0.0",
65
+ "@csstools/postcss-is-pseudo-class": "^6.0.0",
66
+ "@csstools/postcss-light-dark-function": "^3.0.0",
67
+ "@csstools/postcss-logical-float-and-clear": "^4.0.0",
68
+ "@csstools/postcss-logical-overflow": "^3.0.0",
69
+ "@csstools/postcss-logical-overscroll-behavior": "^3.0.0",
70
+ "@csstools/postcss-logical-resize": "^4.0.0",
71
+ "@csstools/postcss-logical-viewport-units": "^4.0.0",
72
+ "@csstools/postcss-media-minmax": "^3.0.1",
73
+ "@csstools/postcss-media-queries-aspect-ratio-number-values": "^4.0.0",
74
+ "@csstools/postcss-mixins": "^1.0.0",
75
+ "@csstools/postcss-nested-calc": "^5.0.0",
76
+ "@csstools/postcss-normalize-display-values": "^5.0.1",
77
+ "@csstools/postcss-oklab-function": "^5.0.2",
78
+ "@csstools/postcss-position-area-property": "^2.0.0",
79
+ "@csstools/postcss-progressive-custom-properties": "^5.0.0",
80
+ "@csstools/postcss-property-rule-prelude-list": "^2.0.0",
81
+ "@csstools/postcss-random-function": "^3.0.1",
82
+ "@csstools/postcss-relative-color-syntax": "^4.0.2",
83
+ "@csstools/postcss-scope-pseudo-class": "^5.0.0",
84
+ "@csstools/postcss-sign-functions": "^2.0.1",
85
+ "@csstools/postcss-stepped-value-functions": "^5.0.1",
86
+ "@csstools/postcss-syntax-descriptor-syntax-production": "^2.0.0",
87
+ "@csstools/postcss-system-ui-font-family": "^2.0.0",
88
+ "@csstools/postcss-text-decoration-shorthand": "^5.0.3",
89
+ "@csstools/postcss-trigonometric-functions": "^5.0.1",
90
+ "@csstools/postcss-unset-value": "^5.0.0",
91
+ "autoprefixer": "^10.4.27",
92
+ "browserslist": "^4.28.1",
93
+ "css-blank-pseudo": "^8.0.1",
94
+ "css-has-pseudo": "^8.0.0",
95
+ "css-prefers-color-scheme": "^11.0.0",
96
+ "cssdb": "^8.8.0",
97
+ "postcss-attribute-case-insensitive": "^8.0.0",
98
+ "postcss-clamp": "^4.1.0",
99
+ "postcss-color-functional-notation": "^8.0.2",
100
+ "postcss-color-hex-alpha": "^11.0.0",
101
+ "postcss-color-rebeccapurple": "^11.0.0",
102
+ "postcss-custom-media": "^12.0.1",
103
+ "postcss-custom-properties": "^15.0.1",
104
+ "postcss-custom-selectors": "^9.0.1",
105
+ "postcss-dir-pseudo-class": "^10.0.0",
106
+ "postcss-double-position-gradients": "^7.0.0",
107
+ "postcss-focus-visible": "^11.0.0",
108
+ "postcss-focus-within": "^10.0.0",
109
+ "postcss-font-variant": "^5.0.0",
110
+ "postcss-gap-properties": "^7.0.0",
111
+ "postcss-image-set-function": "^8.0.0",
112
+ "postcss-lab-function": "^8.0.2",
113
+ "postcss-logical": "^9.0.0",
114
+ "postcss-nesting": "^14.0.0",
115
+ "postcss-opacity-percentage": "^3.0.0",
116
+ "postcss-overflow-shorthand": "^7.0.0",
117
+ "postcss-page-break": "^3.0.4",
118
+ "postcss-place": "^11.0.0",
119
+ "postcss-pseudo-class-any-link": "^11.0.0",
120
+ "postcss-replace-overflow-wrap": "^4.0.0",
121
+ "postcss-selector-not": "^9.0.0"
122
+ },
123
+ "peerDependencies": {
124
+ "postcss": "^8.4"
125
+ },
126
+ "scripts": {},
127
+ "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugin-packs/postcss-preset-env#readme",
128
+ "repository": {
129
+ "type": "git",
130
+ "url": "git+https://github.com/csstools/postcss-plugins.git",
131
+ "directory": "plugin-packs/postcss-preset-env"
132
+ },
133
+ "bugs": "https://github.com/csstools/postcss-plugins/issues",
134
+ "keywords": [
135
+ "depup",
136
+ "dependency-bumped",
137
+ "updated-deps",
138
+ "postcss-preset-env",
139
+ "css",
140
+ "csswg",
141
+ "features",
142
+ "future",
143
+ "lists",
144
+ "next",
145
+ "postcss",
146
+ "postcss-plugin",
147
+ "specifications",
148
+ "specs",
149
+ "stages",
150
+ "w3c"
151
+ ],
152
+ "depup": {
153
+ "changes": {
154
+ "autoprefixer": {
155
+ "from": "^10.4.24",
156
+ "to": "^10.4.27"
157
+ }
158
+ },
159
+ "depsUpdated": 1,
160
+ "originalPackage": "postcss-preset-env",
161
+ "originalVersion": "11.2.0",
162
+ "processedAt": "2026-03-17T22:55:55.610Z",
163
+ "smokeTest": "passed"
164
+ }
165
+ }