@wonderflow/config 1.5.4 → 1.5.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wonderflow/config",
3
3
  "description": "Wanda design system shared configurations ",
4
- "version": "1.5.4",
4
+ "version": "1.5.5",
5
5
  "author": "Wonderflow",
6
6
  "license": "MIT",
7
7
  "main": "index.js",
@@ -1,6 +1,5 @@
1
1
  export declare const postcssConfig: {
2
2
  plugins: {
3
- 'postcss-mixins': {};
4
3
  'postcss-easy-import': {
5
4
  extensions: string;
6
5
  };
@@ -14,7 +13,11 @@ export declare const postcssConfig: {
14
13
  'prefers-color-scheme-query': boolean;
15
14
  'gap-properties': boolean;
16
15
  };
16
+ insertAfter: {
17
+ 'custom-media-queries': any;
18
+ };
17
19
  };
20
+ 'postcss-mixins': {};
18
21
  'postcss-inset': {};
19
22
  cssnano: {
20
23
  preset: (string | {
package/postcss/config.js CHANGED
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.postcssConfig = void 0;
7
7
  const tokens_json_1 = __importDefault(require("@wonderflow/tokens/platforms/web/tokens.json"));
8
+ const postcss_mixins_1 = __importDefault(require("postcss-mixins"));
8
9
  const flat_1 = __importDefault(require("flat"));
9
10
  const flatTokens = (0, flat_1.default)(tokens_json_1.default, {
10
11
  delimiter: '-'
@@ -16,7 +17,6 @@ const environmentVariables = Object.keys(flatTokens).reduce((acc, key) => {
16
17
  }, {});
17
18
  exports.postcssConfig = {
18
19
  plugins: {
19
- 'postcss-mixins': {},
20
20
  'postcss-easy-import': {
21
21
  extensions: '.css'
22
22
  },
@@ -29,8 +29,12 @@ exports.postcssConfig = {
29
29
  'logical-properties-and-values': false,
30
30
  'prefers-color-scheme-query': false,
31
31
  'gap-properties': false
32
+ },
33
+ insertAfter: {
34
+ 'custom-media-queries': postcss_mixins_1.default
32
35
  }
33
36
  },
37
+ 'postcss-mixins': {},
34
38
  'postcss-inset': {},
35
39
  cssnano: {
36
40
  preset: [