@wordpress/style-engine 2.36.1-next.738bb1424.0 → 2.37.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.
Files changed (69) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/{index.cjs → index.js} +3 -3
  3. package/build/styles/background/{index.cjs → index.js} +2 -2
  4. package/build/styles/border/{index.cjs → index.js} +2 -2
  5. package/build/styles/color/{background.cjs → background.js} +2 -2
  6. package/build/styles/color/{gradient.cjs → gradient.js} +2 -2
  7. package/build/styles/color/{index.cjs → index.js} +4 -4
  8. package/build/styles/color/{text.cjs → text.js} +2 -2
  9. package/build/styles/{constants.cjs → constants.js} +1 -1
  10. package/build/styles/dimensions/{index.cjs → index.js} +3 -14
  11. package/build/styles/dimensions/index.js.map +7 -0
  12. package/build/styles/{index.cjs → index.js} +9 -9
  13. package/build/styles/outline/{index.cjs → index.js} +2 -2
  14. package/build/styles/shadow/{index.cjs → index.js} +2 -2
  15. package/build/styles/spacing/{index.cjs → index.js} +3 -3
  16. package/build/styles/spacing/{margin.cjs → margin.js} +2 -2
  17. package/build/styles/spacing/{padding.cjs → padding.js} +2 -2
  18. package/build/styles/typography/{index.cjs → index.js} +2 -14
  19. package/build/styles/typography/{index.cjs.map → index.js.map} +2 -2
  20. package/build/styles/{utils.cjs → utils.js} +2 -2
  21. package/build/{types.cjs → types.js} +1 -1
  22. package/build/{types.cjs.map → types.js.map} +1 -1
  23. package/build-module/index.js +2 -2
  24. package/build-module/styles/background/index.js +1 -1
  25. package/build-module/styles/border/index.js +1 -1
  26. package/build-module/styles/color/background.js +1 -1
  27. package/build-module/styles/color/gradient.js +1 -1
  28. package/build-module/styles/color/index.js +3 -3
  29. package/build-module/styles/color/text.js +1 -1
  30. package/build-module/styles/dimensions/index.js +2 -13
  31. package/build-module/styles/dimensions/index.js.map +2 -2
  32. package/build-module/styles/index.js +8 -8
  33. package/build-module/styles/outline/index.js +1 -1
  34. package/build-module/styles/shadow/index.js +1 -1
  35. package/build-module/styles/spacing/index.js +2 -2
  36. package/build-module/styles/spacing/margin.js +1 -1
  37. package/build-module/styles/spacing/padding.js +1 -1
  38. package/build-module/styles/typography/index.js +1 -13
  39. package/build-module/styles/typography/index.js.map +2 -2
  40. package/build-module/styles/utils.js +1 -1
  41. package/build-types/styles/dimensions/index.d.ts.map +1 -1
  42. package/build-types/styles/typography/index.d.ts.map +1 -1
  43. package/build-types/types.d.ts +0 -2
  44. package/build-types/types.d.ts.map +1 -1
  45. package/docs/toc.json +8 -0
  46. package/docs/using-the-style-engine-with-block-supports.md +234 -0
  47. package/package.json +5 -13
  48. package/src/class-wp-style-engine.php +1 -16
  49. package/src/styles/dimensions/index.ts +1 -13
  50. package/src/styles/typography/index.ts +0 -13
  51. package/src/types.ts +0 -2
  52. package/tsconfig.json +4 -0
  53. package/tsconfig.tsbuildinfo +1 -0
  54. package/build/styles/dimensions/index.cjs.map +0 -7
  55. /package/build/{index.cjs.map → index.js.map} +0 -0
  56. /package/build/styles/background/{index.cjs.map → index.js.map} +0 -0
  57. /package/build/styles/border/{index.cjs.map → index.js.map} +0 -0
  58. /package/build/styles/color/{background.cjs.map → background.js.map} +0 -0
  59. /package/build/styles/color/{gradient.cjs.map → gradient.js.map} +0 -0
  60. /package/build/styles/color/{index.cjs.map → index.js.map} +0 -0
  61. /package/build/styles/color/{text.cjs.map → text.js.map} +0 -0
  62. /package/build/styles/{constants.cjs.map → constants.js.map} +0 -0
  63. /package/build/styles/{index.cjs.map → index.js.map} +0 -0
  64. /package/build/styles/outline/{index.cjs.map → index.js.map} +0 -0
  65. /package/build/styles/shadow/{index.cjs.map → index.js.map} +0 -0
  66. /package/build/styles/spacing/{index.cjs.map → index.js.map} +0 -0
  67. /package/build/styles/spacing/{margin.cjs.map → margin.js.map} +0 -0
  68. /package/build/styles/spacing/{padding.cjs.map → padding.js.map} +0 -0
  69. /package/build/styles/{utils.cjs.map → utils.js.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 2.37.0 (2025-12-23)
6
+
5
7
  ## 2.36.0 (2025-11-26)
6
8
 
7
9
  ## 2.35.0 (2025-11-12)
@@ -26,8 +26,8 @@ __export(index_exports, {
26
26
  });
27
27
  module.exports = __toCommonJS(index_exports);
28
28
  var import_change_case = require("change-case");
29
- var import_styles = require("./styles/index.cjs");
30
- var import_utils = require("./styles/utils.cjs");
29
+ var import_styles = require("./styles");
30
+ var import_utils = require("./styles/utils");
31
31
  function compileCSS(style, options = {}) {
32
32
  const rules = getCSSRules(style, options);
33
33
  if (!options?.selector) {
@@ -79,4 +79,4 @@ function getCSSRules(style, options = {}) {
79
79
  getCSSRules,
80
80
  getCSSValueFromRawStyle
81
81
  });
82
- //# sourceMappingURL=index.cjs.map
82
+ //# sourceMappingURL=index.js.map
@@ -23,7 +23,7 @@ __export(background_exports, {
23
23
  default: () => background_default
24
24
  });
25
25
  module.exports = __toCommonJS(background_exports);
26
- var import_utils = require("../utils.cjs");
26
+ var import_utils = require("../utils");
27
27
  var backgroundImage = {
28
28
  name: "backgroundImage",
29
29
  generate: (style, options) => {
@@ -99,4 +99,4 @@ var background_default = [
99
99
  backgroundSize,
100
100
  backgroundAttachment
101
101
  ];
102
- //# sourceMappingURL=index.cjs.map
102
+ //# sourceMappingURL=index.js.map
@@ -23,7 +23,7 @@ __export(border_exports, {
23
23
  default: () => border_default
24
24
  });
25
25
  module.exports = __toCommonJS(border_exports);
26
- var import_utils = require("../utils.cjs");
26
+ var import_utils = require("../utils");
27
27
  function createBorderGenerateFunction(path) {
28
28
  return (style, options) => (0, import_utils.generateRule)(style, options, path, (0, import_utils.camelCaseJoin)(path));
29
29
  }
@@ -88,4 +88,4 @@ var border_default = [
88
88
  borderBottom,
89
89
  borderLeft
90
90
  ];
91
- //# sourceMappingURL=index.cjs.map
91
+ //# sourceMappingURL=index.js.map
@@ -23,7 +23,7 @@ __export(background_exports, {
23
23
  default: () => background_default
24
24
  });
25
25
  module.exports = __toCommonJS(background_exports);
26
- var import_utils = require("../utils.cjs");
26
+ var import_utils = require("../utils");
27
27
  var background = {
28
28
  name: "background",
29
29
  generate: (style, options) => {
@@ -36,4 +36,4 @@ var background = {
36
36
  }
37
37
  };
38
38
  var background_default = background;
39
- //# sourceMappingURL=background.cjs.map
39
+ //# sourceMappingURL=background.js.map
@@ -23,7 +23,7 @@ __export(gradient_exports, {
23
23
  default: () => gradient_default
24
24
  });
25
25
  module.exports = __toCommonJS(gradient_exports);
26
- var import_utils = require("../utils.cjs");
26
+ var import_utils = require("../utils");
27
27
  var gradient = {
28
28
  name: "gradient",
29
29
  generate: (style, options) => {
@@ -36,4 +36,4 @@ var gradient = {
36
36
  }
37
37
  };
38
38
  var gradient_default = gradient;
39
- //# sourceMappingURL=gradient.cjs.map
39
+ //# sourceMappingURL=gradient.js.map
@@ -33,8 +33,8 @@ __export(color_exports, {
33
33
  default: () => color_default
34
34
  });
35
35
  module.exports = __toCommonJS(color_exports);
36
- var import_background = __toESM(require("./background.cjs"), 1);
37
- var import_gradient = __toESM(require("./gradient.cjs"), 1);
38
- var import_text = __toESM(require("./text.cjs"), 1);
36
+ var import_background = __toESM(require("./background"));
37
+ var import_gradient = __toESM(require("./gradient"));
38
+ var import_text = __toESM(require("./text"));
39
39
  var color_default = [import_text.default, import_gradient.default, import_background.default];
40
- //# sourceMappingURL=index.cjs.map
40
+ //# sourceMappingURL=index.js.map
@@ -23,7 +23,7 @@ __export(text_exports, {
23
23
  default: () => text_default
24
24
  });
25
25
  module.exports = __toCommonJS(text_exports);
26
- var import_utils = require("../utils.cjs");
26
+ var import_utils = require("../utils");
27
27
  var text = {
28
28
  name: "text",
29
29
  generate: (style, options) => {
@@ -31,4 +31,4 @@ var text = {
31
31
  }
32
32
  };
33
33
  var text_default = text;
34
- //# sourceMappingURL=text.cjs.map
34
+ //# sourceMappingURL=text.js.map
@@ -34,4 +34,4 @@ var VARIABLE_PATH_SEPARATOR_TOKEN_STYLE = "--";
34
34
  VARIABLE_PATH_SEPARATOR_TOKEN_STYLE,
35
35
  VARIABLE_REFERENCE_PREFIX
36
36
  });
37
- //# sourceMappingURL=constants.cjs.map
37
+ //# sourceMappingURL=constants.js.map
@@ -23,18 +23,7 @@ __export(dimensions_exports, {
23
23
  default: () => dimensions_default
24
24
  });
25
25
  module.exports = __toCommonJS(dimensions_exports);
26
- var import_utils = require("../utils.cjs");
27
- var height = {
28
- name: "height",
29
- generate: (style, options) => {
30
- return (0, import_utils.generateRule)(
31
- style,
32
- options,
33
- ["dimensions", "height"],
34
- "height"
35
- );
36
- }
37
- };
26
+ var import_utils = require("../utils");
38
27
  var minHeight = {
39
28
  name: "minHeight",
40
29
  generate: (style, options) => {
@@ -68,5 +57,5 @@ var width = {
68
57
  );
69
58
  }
70
59
  };
71
- var dimensions_default = [height, minHeight, aspectRatio, width];
72
- //# sourceMappingURL=index.cjs.map
60
+ var dimensions_default = [minHeight, aspectRatio, width];
61
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/styles/dimensions/index.ts"],
4
+ "sourcesContent": ["/**\n * Internal dependencies\n */\nimport type { Style, StyleOptions } from '../../types';\nimport { generateRule } from '../utils';\n\nconst minHeight = {\n\tname: 'minHeight',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'dimensions', 'minHeight' ],\n\t\t\t'minHeight'\n\t\t);\n\t},\n};\n\nconst aspectRatio = {\n\tname: 'aspectRatio',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'dimensions', 'aspectRatio' ],\n\t\t\t'aspectRatio'\n\t\t);\n\t},\n};\n\nconst width = {\n\tname: 'width',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'dimensions', 'width' ],\n\t\t\t'width'\n\t\t);\n\t},\n};\n\nexport default [ minHeight, aspectRatio, width ];\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,mBAA6B;AAE7B,IAAM,YAAY;AAAA,EACjB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,WAAY;AAAA,MAC5B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,cAAc;AAAA,EACnB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,aAAc;AAAA,MAC9B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,QAAQ;AAAA,EACb,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,OAAQ;AAAA,MACxB;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAO,qBAAQ,CAAE,WAAW,aAAa,KAAM;",
6
+ "names": []
7
+ }
@@ -33,14 +33,14 @@ __export(styles_exports, {
33
33
  styleDefinitions: () => styleDefinitions
34
34
  });
35
35
  module.exports = __toCommonJS(styles_exports);
36
- var import_border = __toESM(require("./border/index.cjs"), 1);
37
- var import_color = __toESM(require("./color/index.cjs"), 1);
38
- var import_dimensions = __toESM(require("./dimensions/index.cjs"), 1);
39
- var import_background = __toESM(require("./background/index.cjs"), 1);
40
- var import_shadow = __toESM(require("./shadow/index.cjs"), 1);
41
- var import_outline = __toESM(require("./outline/index.cjs"), 1);
42
- var import_spacing = __toESM(require("./spacing/index.cjs"), 1);
43
- var import_typography = __toESM(require("./typography/index.cjs"), 1);
36
+ var import_border = __toESM(require("./border"));
37
+ var import_color = __toESM(require("./color"));
38
+ var import_dimensions = __toESM(require("./dimensions"));
39
+ var import_background = __toESM(require("./background"));
40
+ var import_shadow = __toESM(require("./shadow"));
41
+ var import_outline = __toESM(require("./outline"));
42
+ var import_spacing = __toESM(require("./spacing"));
43
+ var import_typography = __toESM(require("./typography"));
44
44
  var styleDefinitions = [
45
45
  ...import_border.default,
46
46
  ...import_color.default,
@@ -55,4 +55,4 @@ var styleDefinitions = [
55
55
  0 && (module.exports = {
56
56
  styleDefinitions
57
57
  });
58
- //# sourceMappingURL=index.cjs.map
58
+ //# sourceMappingURL=index.js.map
@@ -23,7 +23,7 @@ __export(outline_exports, {
23
23
  default: () => outline_default
24
24
  });
25
25
  module.exports = __toCommonJS(outline_exports);
26
- var import_utils = require("../utils.cjs");
26
+ var import_utils = require("../utils");
27
27
  var color = {
28
28
  name: "color",
29
29
  generate: (style, options, path = ["outline", "color"], ruleKey = "outlineColor") => {
@@ -49,4 +49,4 @@ var width = {
49
49
  }
50
50
  };
51
51
  var outline_default = [color, outlineStyle, offset, width];
52
- //# sourceMappingURL=index.cjs.map
52
+ //# sourceMappingURL=index.js.map
@@ -23,7 +23,7 @@ __export(shadow_exports, {
23
23
  default: () => shadow_default
24
24
  });
25
25
  module.exports = __toCommonJS(shadow_exports);
26
- var import_utils = require("../utils.cjs");
26
+ var import_utils = require("../utils");
27
27
  var shadow = {
28
28
  name: "shadow",
29
29
  generate: (style, options) => {
@@ -31,4 +31,4 @@ var shadow = {
31
31
  }
32
32
  };
33
33
  var shadow_default = [shadow];
34
- //# sourceMappingURL=index.cjs.map
34
+ //# sourceMappingURL=index.js.map
@@ -33,7 +33,7 @@ __export(spacing_exports, {
33
33
  default: () => spacing_default
34
34
  });
35
35
  module.exports = __toCommonJS(spacing_exports);
36
- var import_padding = __toESM(require("./padding.cjs"), 1);
37
- var import_margin = __toESM(require("./margin.cjs"), 1);
36
+ var import_padding = __toESM(require("./padding"));
37
+ var import_margin = __toESM(require("./margin"));
38
38
  var spacing_default = [import_margin.default, import_padding.default];
39
- //# sourceMappingURL=index.cjs.map
39
+ //# sourceMappingURL=index.js.map
@@ -23,7 +23,7 @@ __export(margin_exports, {
23
23
  default: () => margin_default
24
24
  });
25
25
  module.exports = __toCommonJS(margin_exports);
26
- var import_utils = require("../utils.cjs");
26
+ var import_utils = require("../utils");
27
27
  var margin = {
28
28
  name: "margin",
29
29
  generate: (style, options) => {
@@ -34,4 +34,4 @@ var margin = {
34
34
  }
35
35
  };
36
36
  var margin_default = margin;
37
- //# sourceMappingURL=margin.cjs.map
37
+ //# sourceMappingURL=margin.js.map
@@ -23,7 +23,7 @@ __export(padding_exports, {
23
23
  default: () => padding_default
24
24
  });
25
25
  module.exports = __toCommonJS(padding_exports);
26
- var import_utils = require("../utils.cjs");
26
+ var import_utils = require("../utils");
27
27
  var padding = {
28
28
  name: "padding",
29
29
  generate: (style, options) => {
@@ -34,4 +34,4 @@ var padding = {
34
34
  }
35
35
  };
36
36
  var padding_default = padding;
37
- //# sourceMappingURL=padding.cjs.map
37
+ //# sourceMappingURL=padding.js.map
@@ -23,7 +23,7 @@ __export(typography_exports, {
23
23
  default: () => typography_default
24
24
  });
25
25
  module.exports = __toCommonJS(typography_exports);
26
- var import_utils = require("../utils.cjs");
26
+ var import_utils = require("../utils");
27
27
  var fontSize = {
28
28
  name: "fontSize",
29
29
  generate: (style, options) => {
@@ -112,17 +112,6 @@ var textDecoration = {
112
112
  );
113
113
  }
114
114
  };
115
- var textIndent = {
116
- name: "textIndent",
117
- generate: (style, options) => {
118
- return (0, import_utils.generateRule)(
119
- style,
120
- options,
121
- ["typography", "textIndent"],
122
- "textIndent"
123
- );
124
- }
125
- };
126
115
  var textTransform = {
127
116
  name: "textTransform",
128
117
  generate: (style, options) => {
@@ -154,8 +143,7 @@ var typography_default = [
154
143
  lineHeight,
155
144
  textColumns,
156
145
  textDecoration,
157
- textIndent,
158
146
  textTransform,
159
147
  writingMode
160
148
  ];
161
- //# sourceMappingURL=index.cjs.map
149
+ //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/styles/typography/index.ts"],
4
- "sourcesContent": ["/**\n * Internal dependencies\n */\nimport type { Style, StyleOptions } from '../../types';\nimport { generateRule } from '../utils';\n\nconst fontSize = {\n\tname: 'fontSize',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontSize' ],\n\t\t\t'fontSize'\n\t\t);\n\t},\n};\n\nconst fontStyle = {\n\tname: 'fontStyle',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontStyle' ],\n\t\t\t'fontStyle'\n\t\t);\n\t},\n};\n\nconst fontWeight = {\n\tname: 'fontWeight',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontWeight' ],\n\t\t\t'fontWeight'\n\t\t);\n\t},\n};\n\nconst fontFamily = {\n\tname: 'fontFamily',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontFamily' ],\n\t\t\t'fontFamily'\n\t\t);\n\t},\n};\n\nconst letterSpacing = {\n\tname: 'letterSpacing',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'letterSpacing' ],\n\t\t\t'letterSpacing'\n\t\t);\n\t},\n};\n\nconst lineHeight = {\n\tname: 'lineHeight',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'lineHeight' ],\n\t\t\t'lineHeight'\n\t\t);\n\t},\n};\n\nconst textColumns = {\n\tname: 'textColumns',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'textColumns' ],\n\t\t\t'columnCount'\n\t\t);\n\t},\n};\n\nconst textDecoration = {\n\tname: 'textDecoration',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'textDecoration' ],\n\t\t\t'textDecoration'\n\t\t);\n\t},\n};\n\nconst textIndent = {\n\tname: 'textIndent',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'textIndent' ],\n\t\t\t'textIndent'\n\t\t);\n\t},\n};\n\nconst textTransform = {\n\tname: 'textTransform',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'textTransform' ],\n\t\t\t'textTransform'\n\t\t);\n\t},\n};\n\nconst writingMode = {\n\tname: 'writingMode',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'writingMode' ],\n\t\t\t'writingMode'\n\t\t);\n\t},\n};\n\nexport default [\n\tfontFamily,\n\tfontSize,\n\tfontStyle,\n\tfontWeight,\n\tletterSpacing,\n\tlineHeight,\n\ttextColumns,\n\ttextDecoration,\n\ttextIndent,\n\ttextTransform,\n\twritingMode,\n];\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,mBAA6B;AAE7B,IAAM,WAAW;AAAA,EAChB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,UAAW;AAAA,MAC3B;AAAA,I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AAA,EACD;AACD;AAEA,IAAM,aAAa;AAAA,EAClB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,YAAa;AAAA,MAC7B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,gBAAgB;AAAA,EACrB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,eAAgB;AAAA,MAChC;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,cAAc;AAAA,EACnB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,aAAc;AAAA,MAC9B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAO,qBAAQ;AAAA,EACd;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;",
4
+ "sourcesContent": ["/**\n * Internal dependencies\n */\nimport type { Style, StyleOptions } from '../../types';\nimport { generateRule } from '../utils';\n\nconst fontSize = {\n\tname: 'fontSize',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontSize' ],\n\t\t\t'fontSize'\n\t\t);\n\t},\n};\n\nconst fontStyle = {\n\tname: 'fontStyle',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontStyle' ],\n\t\t\t'fontStyle'\n\t\t);\n\t},\n};\n\nconst fontWeight = {\n\tname: 'fontWeight',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontWeight' ],\n\t\t\t'fontWeight'\n\t\t);\n\t},\n};\n\nconst fontFamily = {\n\tname: 'fontFamily',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontFamily' ],\n\t\t\t'fontFamily'\n\t\t);\n\t},\n};\n\nconst letterSpacing = {\n\tname: 'letterSpacing',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'letterSpacing' ],\n\t\t\t'letterSpacing'\n\t\t);\n\t},\n};\n\nconst lineHeight = {\n\tname: 'lineHeight',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'lineHeight' ],\n\t\t\t'lineHeight'\n\t\t);\n\t},\n};\n\nconst textColumns = {\n\tname: 'textColumns',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'textColumns' ],\n\t\t\t'columnCount'\n\t\t);\n\t},\n};\n\nconst textDecoration = {\n\tname: 'textDecoration',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'textDecoration' ],\n\t\t\t'textDecoration'\n\t\t);\n\t},\n};\n\nconst textTransform = {\n\tname: 'textTransform',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'textTransform' ],\n\t\t\t'textTransform'\n\t\t);\n\t},\n};\n\nconst writingMode = {\n\tname: 'writingMode',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'writingMode' ],\n\t\t\t'writingMode'\n\t\t);\n\t},\n};\n\nexport default [\n\tfontFamily,\n\tfontSize,\n\tfontStyle,\n\tfontWeight,\n\tletterSpacing,\n\tlineHeight,\n\ttextColumns,\n\ttextDecoration,\n\ttextTransform,\n\twritingMode,\n];\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,mBAA6B;AAE7B,IAAM,WAAW;AAAA,EAChB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,UAAW;AAAA,MAC3B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,YAAY;AAAA,EACjB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,WAAY;AAAA,MAC5B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,aAAa;AAAA,EAClB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,YAAa;AAAA,MAC7B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,aAAa;AAAA,EAClB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,YAAa;AAAA,MAC7B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,gBAAgB;AAAA,EACrB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,eAAgB;AAAA,MAChC;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,aAAa;AAAA,EAClB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,YAAa;AAAA,MAC7B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,cAAc;AAAA,EACnB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,aAAc;AAAA,MAC9B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,iBAAiB;AAAA,EACtB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,gBAAiB;AAAA,MACjC;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,gBAAgB;AAAA,EACrB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,eAAgB;AAAA,MAChC;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,cAAc;AAAA,EACnB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,eAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,aAAc;AAAA,MAC9B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAO,qBAAQ;AAAA,EACd;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;",
6
6
  "names": []
7
7
  }
@@ -30,7 +30,7 @@ __export(utils_exports, {
30
30
  });
31
31
  module.exports = __toCommonJS(utils_exports);
32
32
  var import_change_case = require("change-case");
33
- var import_constants = require("./constants.cjs");
33
+ var import_constants = require("./constants");
34
34
  var getStyleValueByPath = (object, path) => {
35
35
  let value = object;
36
36
  path.forEach((fieldName) => {
@@ -132,4 +132,4 @@ function safeDecodeURI(uri) {
132
132
  safeDecodeURI,
133
133
  upperFirst
134
134
  });
135
- //# sourceMappingURL=utils.cjs.map
135
+ //# sourceMappingURL=utils.js.map
@@ -16,4 +16,4 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
16
16
  // packages/style-engine/src/types.ts
17
17
  var types_exports = {};
18
18
  module.exports = __toCommonJS(types_exports);
19
- //# sourceMappingURL=types.cjs.map
19
+ //# sourceMappingURL=types.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/types.ts"],
4
- "sourcesContent": ["/**\n * External dependencies\n */\nimport type { CSSProperties } from 'react';\n\ntype BoxVariant = 'margin' | 'padding';\nexport interface Box< T extends BoxVariant | undefined = undefined > {\n\ttop?: CSSProperties[ T extends undefined ? 'top' : `${ T }Top` ];\n\tright?: CSSProperties[ T extends undefined ? 'right' : `${ T }Right` ];\n\tbottom?: CSSProperties[ T extends undefined ? 'bottom' : `${ T }Bottom` ];\n\tleft?: CSSProperties[ T extends undefined ? 'left' : `${ T }Left` ];\n}\n\nexport type BoxEdge = 'top' | 'right' | 'bottom' | 'left';\n\n// `T` is one of the values in `BorderIndividualProperty`. The expected CSSProperties key is something like `borderTopColor`.\nexport interface BorderIndividualStyles< T extends BoxEdge > {\n\tcolor?: CSSProperties[ `border${ Capitalize< T > }Color` ];\n\tstyle?: CSSProperties[ `border${ Capitalize< T > }Style` ];\n\twidth?: CSSProperties[ `border${ Capitalize< T > }Width` ];\n}\n\nexport interface Style {\n\tbackground?: {\n\t\tbackgroundImage?:\n\t\t\t| { url?: CSSProperties[ 'backgroundImage' ]; source?: string }\n\t\t\t| CSSProperties[ 'backgroundImage' ];\n\t\tbackgroundPosition?: CSSProperties[ 'backgroundPosition' ];\n\t\tbackgroundRepeat?: CSSProperties[ 'backgroundRepeat' ];\n\t\tbackgroundSize?: CSSProperties[ 'backgroundSize' ];\n\t};\n\tborder?: {\n\t\tcolor?: CSSProperties[ 'borderColor' ];\n\t\tradius?:\n\t\t\t| CSSProperties[ 'borderRadius' ]\n\t\t\t| {\n\t\t\t\t\ttopLeft?: CSSProperties[ 'borderTopLeftRadius' ];\n\t\t\t\t\ttopRight?: CSSProperties[ 'borderTopRightRadius' ];\n\t\t\t\t\tbottomLeft?: CSSProperties[ 'borderBottomLeftRadius' ];\n\t\t\t\t\tbottomRight?: CSSProperties[ 'borderBottomLeftRadius' ];\n\t\t\t };\n\t\tstyle?: CSSProperties[ 'borderStyle' ];\n\t\twidth?: CSSProperties[ 'borderWidth' ];\n\t\ttop?: BorderIndividualStyles< 'top' >;\n\t\tright?: BorderIndividualStyles< 'right' >;\n\t\tbottom?: BorderIndividualStyles< 'bottom' >;\n\t\tleft?: BorderIndividualStyles< 'left' >;\n\t};\n\tdimensions?: {\n\t\taspectRatio?: CSSProperties[ 'aspectRatio' ];\n\t\theight?: CSSProperties[ 'height' ];\n\t\tminHeight?: CSSProperties[ 'minHeight' ];\n\t\twidth?: CSSProperties[ 'width' ];\n\t};\n\tspacing?: {\n\t\tmargin?: CSSProperties[ 'margin' ] | Box< 'margin' >;\n\t\tpadding?: CSSProperties[ 'padding' ] | Box< 'padding' >;\n\t};\n\ttypography?: {\n\t\tfontSize?: CSSProperties[ 'fontSize' ];\n\t\tfontFamily?: CSSProperties[ 'fontFamily' ];\n\t\tfontWeight?: CSSProperties[ 'fontWeight' ];\n\t\tfontStyle?: CSSProperties[ 'fontStyle' ];\n\t\tletterSpacing?: CSSProperties[ 'letterSpacing' ];\n\t\tlineHeight?: CSSProperties[ 'lineHeight' ];\n\t\ttextColumns?: CSSProperties[ 'columnCount' ];\n\t\ttextDecoration?: CSSProperties[ 'textDecoration' ];\n\t\ttextTransform?: CSSProperties[ 'textTransform' ];\n\t\twritingMode?: CSSProperties[ 'writingMode' ];\n\t};\n\tcolor?: {\n\t\ttext?: CSSProperties[ 'color' ];\n\t\tbackground?: CSSProperties[ 'backgroundColor' ];\n\t\tgradient?: CSSProperties[ 'background' ];\n\t};\n\telements?: {\n\t\tlink?: {\n\t\t\tcolor?: {\n\t\t\t\ttext?: CSSProperties[ 'color' ];\n\t\t\t};\n\t\t};\n\t};\n}\n\nexport interface CssRulesKeys {\n\tdefault: string;\n\tindividual: string;\n}\n\nexport interface StyleOptions {\n\t/**\n\t * CSS selector for the generated style.\n\t */\n\tselector?: string;\n}\n\nexport interface GeneratedCSSRule {\n\tselector?: string;\n\tvalue: string | unknown;\n\t/**\n\t * The CSS key in JS style attribute format, compatible with React.\n\t * E.g. `paddingTop` instead of `padding-top`.\n\t */\n\tkey: string;\n}\n\nexport interface GenerateFunction {\n\t( style: Style, options: StyleOptions ): GeneratedCSSRule[];\n}\n\nexport interface StyleDefinition {\n\tname: string;\n\tgenerate?: GenerateFunction;\n}\n"],
4
+ "sourcesContent": ["/**\n * External dependencies\n */\nimport type { CSSProperties } from 'react';\n\ntype BoxVariant = 'margin' | 'padding';\nexport interface Box< T extends BoxVariant | undefined = undefined > {\n\ttop?: CSSProperties[ T extends undefined ? 'top' : `${ T }Top` ];\n\tright?: CSSProperties[ T extends undefined ? 'right' : `${ T }Right` ];\n\tbottom?: CSSProperties[ T extends undefined ? 'bottom' : `${ T }Bottom` ];\n\tleft?: CSSProperties[ T extends undefined ? 'left' : `${ T }Left` ];\n}\n\nexport type BoxEdge = 'top' | 'right' | 'bottom' | 'left';\n\n// `T` is one of the values in `BorderIndividualProperty`. The expected CSSProperties key is something like `borderTopColor`.\nexport interface BorderIndividualStyles< T extends BoxEdge > {\n\tcolor?: CSSProperties[ `border${ Capitalize< T > }Color` ];\n\tstyle?: CSSProperties[ `border${ Capitalize< T > }Style` ];\n\twidth?: CSSProperties[ `border${ Capitalize< T > }Width` ];\n}\n\nexport interface Style {\n\tbackground?: {\n\t\tbackgroundImage?:\n\t\t\t| { url?: CSSProperties[ 'backgroundImage' ]; source?: string }\n\t\t\t| CSSProperties[ 'backgroundImage' ];\n\t\tbackgroundPosition?: CSSProperties[ 'backgroundPosition' ];\n\t\tbackgroundRepeat?: CSSProperties[ 'backgroundRepeat' ];\n\t\tbackgroundSize?: CSSProperties[ 'backgroundSize' ];\n\t};\n\tborder?: {\n\t\tcolor?: CSSProperties[ 'borderColor' ];\n\t\tradius?:\n\t\t\t| CSSProperties[ 'borderRadius' ]\n\t\t\t| {\n\t\t\t\t\ttopLeft?: CSSProperties[ 'borderTopLeftRadius' ];\n\t\t\t\t\ttopRight?: CSSProperties[ 'borderTopRightRadius' ];\n\t\t\t\t\tbottomLeft?: CSSProperties[ 'borderBottomLeftRadius' ];\n\t\t\t\t\tbottomRight?: CSSProperties[ 'borderBottomLeftRadius' ];\n\t\t\t };\n\t\tstyle?: CSSProperties[ 'borderStyle' ];\n\t\twidth?: CSSProperties[ 'borderWidth' ];\n\t\ttop?: BorderIndividualStyles< 'top' >;\n\t\tright?: BorderIndividualStyles< 'right' >;\n\t\tbottom?: BorderIndividualStyles< 'bottom' >;\n\t\tleft?: BorderIndividualStyles< 'left' >;\n\t};\n\tdimensions?: {\n\t\taspectRatio?: CSSProperties[ 'aspectRatio' ];\n\t\tminHeight?: CSSProperties[ 'minHeight' ];\n\t};\n\tspacing?: {\n\t\tmargin?: CSSProperties[ 'margin' ] | Box< 'margin' >;\n\t\tpadding?: CSSProperties[ 'padding' ] | Box< 'padding' >;\n\t};\n\ttypography?: {\n\t\tfontSize?: CSSProperties[ 'fontSize' ];\n\t\tfontFamily?: CSSProperties[ 'fontFamily' ];\n\t\tfontWeight?: CSSProperties[ 'fontWeight' ];\n\t\tfontStyle?: CSSProperties[ 'fontStyle' ];\n\t\tletterSpacing?: CSSProperties[ 'letterSpacing' ];\n\t\tlineHeight?: CSSProperties[ 'lineHeight' ];\n\t\ttextColumns?: CSSProperties[ 'columnCount' ];\n\t\ttextDecoration?: CSSProperties[ 'textDecoration' ];\n\t\ttextTransform?: CSSProperties[ 'textTransform' ];\n\t\twritingMode?: CSSProperties[ 'writingMode' ];\n\t};\n\tcolor?: {\n\t\ttext?: CSSProperties[ 'color' ];\n\t\tbackground?: CSSProperties[ 'backgroundColor' ];\n\t\tgradient?: CSSProperties[ 'background' ];\n\t};\n\telements?: {\n\t\tlink?: {\n\t\t\tcolor?: {\n\t\t\t\ttext?: CSSProperties[ 'color' ];\n\t\t\t};\n\t\t};\n\t};\n}\n\nexport interface CssRulesKeys {\n\tdefault: string;\n\tindividual: string;\n}\n\nexport interface StyleOptions {\n\t/**\n\t * CSS selector for the generated style.\n\t */\n\tselector?: string;\n}\n\nexport interface GeneratedCSSRule {\n\tselector?: string;\n\tvalue: string | unknown;\n\t/**\n\t * The CSS key in JS style attribute format, compatible with React.\n\t * E.g. `paddingTop` instead of `padding-top`.\n\t */\n\tkey: string;\n}\n\nexport interface GenerateFunction {\n\t( style: Style, options: StyleOptions ): GeneratedCSSRule[];\n}\n\nexport interface StyleDefinition {\n\tname: string;\n\tgenerate?: GenerateFunction;\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  // packages/style-engine/src/index.ts
2
2
  import { paramCase as kebabCase } from "change-case";
3
- import { styleDefinitions } from "./styles/index.js";
4
- import { getCSSValueFromRawStyle } from "./styles/utils.js";
3
+ import { styleDefinitions } from "./styles";
4
+ import { getCSSValueFromRawStyle } from "./styles/utils";
5
5
  function compileCSS(style, options = {}) {
6
6
  const rules = getCSSRules(style, options);
7
7
  if (!options?.selector) {
@@ -1,5 +1,5 @@
1
1
  // packages/style-engine/src/styles/background/index.ts
2
- import { generateRule, safeDecodeURI } from "../utils.js";
2
+ import { generateRule, safeDecodeURI } from "../utils";
3
3
  var backgroundImage = {
4
4
  name: "backgroundImage",
5
5
  generate: (style, options) => {
@@ -1,5 +1,5 @@
1
1
  // packages/style-engine/src/styles/border/index.ts
2
- import { generateRule, generateBoxRules, camelCaseJoin } from "../utils.js";
2
+ import { generateRule, generateBoxRules, camelCaseJoin } from "../utils";
3
3
  function createBorderGenerateFunction(path) {
4
4
  return (style, options) => generateRule(style, options, path, camelCaseJoin(path));
5
5
  }
@@ -1,5 +1,5 @@
1
1
  // packages/style-engine/src/styles/color/background.ts
2
- import { generateRule } from "../utils.js";
2
+ import { generateRule } from "../utils";
3
3
  var background = {
4
4
  name: "background",
5
5
  generate: (style, options) => {
@@ -1,5 +1,5 @@
1
1
  // packages/style-engine/src/styles/color/gradient.ts
2
- import { generateRule } from "../utils.js";
2
+ import { generateRule } from "../utils";
3
3
  var gradient = {
4
4
  name: "gradient",
5
5
  generate: (style, options) => {
@@ -1,7 +1,7 @@
1
1
  // packages/style-engine/src/styles/color/index.ts
2
- import background from "./background.js";
3
- import gradient from "./gradient.js";
4
- import text from "./text.js";
2
+ import background from "./background";
3
+ import gradient from "./gradient";
4
+ import text from "./text";
5
5
  var color_default = [text, gradient, background];
6
6
  export {
7
7
  color_default as default
@@ -1,5 +1,5 @@
1
1
  // packages/style-engine/src/styles/color/text.ts
2
- import { generateRule } from "../utils.js";
2
+ import { generateRule } from "../utils";
3
3
  var text = {
4
4
  name: "text",
5
5
  generate: (style, options) => {
@@ -1,16 +1,5 @@
1
1
  // packages/style-engine/src/styles/dimensions/index.ts
2
- import { generateRule } from "../utils.js";
3
- var height = {
4
- name: "height",
5
- generate: (style, options) => {
6
- return generateRule(
7
- style,
8
- options,
9
- ["dimensions", "height"],
10
- "height"
11
- );
12
- }
13
- };
2
+ import { generateRule } from "../utils";
14
3
  var minHeight = {
15
4
  name: "minHeight",
16
5
  generate: (style, options) => {
@@ -44,7 +33,7 @@ var width = {
44
33
  );
45
34
  }
46
35
  };
47
- var dimensions_default = [height, minHeight, aspectRatio, width];
36
+ var dimensions_default = [minHeight, aspectRatio, width];
48
37
  export {
49
38
  dimensions_default as default
50
39
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/styles/dimensions/index.ts"],
4
- "sourcesContent": ["/**\n * Internal dependencies\n */\nimport type { Style, StyleOptions } from '../../types';\nimport { generateRule } from '../utils';\n\nconst height = {\n\tname: 'height',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'dimensions', 'height' ],\n\t\t\t'height'\n\t\t);\n\t},\n};\n\nconst minHeight = {\n\tname: 'minHeight',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'dimensions', 'minHeight' ],\n\t\t\t'minHeight'\n\t\t);\n\t},\n};\n\nconst aspectRatio = {\n\tname: 'aspectRatio',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'dimensions', 'aspectRatio' ],\n\t\t\t'aspectRatio'\n\t\t);\n\t},\n};\n\nconst width = {\n\tname: 'width',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'dimensions', 'width' ],\n\t\t\t'width'\n\t\t);\n\t},\n};\n\nexport default [ height, minHeight, aspectRatio, width ];\n"],
5
- "mappings": ";AAIA,SAAS,oBAAoB;AAE7B,IAAM,SAAS;AAAA,EACd,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,WAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,QAAS;AAAA,MACzB;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,YAAY;AAAA,EACjB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,WAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,WAAY;AAAA,MAC5B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,cAAc;AAAA,EACnB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,WAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,aAAc;AAAA,MAC9B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,QAAQ;AAAA,EACb,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,WAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,OAAQ;AAAA,MACxB;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAO,qBAAQ,CAAE,QAAQ,WAAW,aAAa,KAAM;",
4
+ "sourcesContent": ["/**\n * Internal dependencies\n */\nimport type { Style, StyleOptions } from '../../types';\nimport { generateRule } from '../utils';\n\nconst minHeight = {\n\tname: 'minHeight',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'dimensions', 'minHeight' ],\n\t\t\t'minHeight'\n\t\t);\n\t},\n};\n\nconst aspectRatio = {\n\tname: 'aspectRatio',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'dimensions', 'aspectRatio' ],\n\t\t\t'aspectRatio'\n\t\t);\n\t},\n};\n\nconst width = {\n\tname: 'width',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'dimensions', 'width' ],\n\t\t\t'width'\n\t\t);\n\t},\n};\n\nexport default [ minHeight, aspectRatio, width ];\n"],
5
+ "mappings": ";AAIA,SAAS,oBAAoB;AAE7B,IAAM,YAAY;AAAA,EACjB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,WAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,WAAY;AAAA,MAC5B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,cAAc;AAAA,EACnB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,WAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,aAAc;AAAA,MAC9B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,QAAQ;AAAA,EACb,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,WAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,OAAQ;AAAA,MACxB;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAO,qBAAQ,CAAE,WAAW,aAAa,KAAM;",
6
6
  "names": []
7
7
  }
@@ -1,12 +1,12 @@
1
1
  // packages/style-engine/src/styles/index.ts
2
- import border from "./border/index.js";
3
- import color from "./color/index.js";
4
- import dimensions from "./dimensions/index.js";
5
- import background from "./background/index.js";
6
- import shadow from "./shadow/index.js";
7
- import outline from "./outline/index.js";
8
- import spacing from "./spacing/index.js";
9
- import typography from "./typography/index.js";
2
+ import border from "./border";
3
+ import color from "./color";
4
+ import dimensions from "./dimensions";
5
+ import background from "./background";
6
+ import shadow from "./shadow";
7
+ import outline from "./outline";
8
+ import spacing from "./spacing";
9
+ import typography from "./typography";
10
10
  var styleDefinitions = [
11
11
  ...border,
12
12
  ...color,
@@ -1,5 +1,5 @@
1
1
  // packages/style-engine/src/styles/outline/index.ts
2
- import { generateRule } from "../utils.js";
2
+ import { generateRule } from "../utils";
3
3
  var color = {
4
4
  name: "color",
5
5
  generate: (style, options, path = ["outline", "color"], ruleKey = "outlineColor") => {
@@ -1,5 +1,5 @@
1
1
  // packages/style-engine/src/styles/shadow/index.ts
2
- import { generateRule } from "../utils.js";
2
+ import { generateRule } from "../utils";
3
3
  var shadow = {
4
4
  name: "shadow",
5
5
  generate: (style, options) => {
@@ -1,6 +1,6 @@
1
1
  // packages/style-engine/src/styles/spacing/index.ts
2
- import padding from "./padding.js";
3
- import margin from "./margin.js";
2
+ import padding from "./padding";
3
+ import margin from "./margin";
4
4
  var spacing_default = [margin, padding];
5
5
  export {
6
6
  spacing_default as default
@@ -1,5 +1,5 @@
1
1
  // packages/style-engine/src/styles/spacing/margin.ts
2
- import { generateBoxRules } from "../utils.js";
2
+ import { generateBoxRules } from "../utils";
3
3
  var margin = {
4
4
  name: "margin",
5
5
  generate: (style, options) => {
@@ -1,5 +1,5 @@
1
1
  // packages/style-engine/src/styles/spacing/padding.ts
2
- import { generateBoxRules } from "../utils.js";
2
+ import { generateBoxRules } from "../utils";
3
3
  var padding = {
4
4
  name: "padding",
5
5
  generate: (style, options) => {
@@ -1,5 +1,5 @@
1
1
  // packages/style-engine/src/styles/typography/index.ts
2
- import { generateRule } from "../utils.js";
2
+ import { generateRule } from "../utils";
3
3
  var fontSize = {
4
4
  name: "fontSize",
5
5
  generate: (style, options) => {
@@ -88,17 +88,6 @@ var textDecoration = {
88
88
  );
89
89
  }
90
90
  };
91
- var textIndent = {
92
- name: "textIndent",
93
- generate: (style, options) => {
94
- return generateRule(
95
- style,
96
- options,
97
- ["typography", "textIndent"],
98
- "textIndent"
99
- );
100
- }
101
- };
102
91
  var textTransform = {
103
92
  name: "textTransform",
104
93
  generate: (style, options) => {
@@ -130,7 +119,6 @@ var typography_default = [
130
119
  lineHeight,
131
120
  textColumns,
132
121
  textDecoration,
133
- textIndent,
134
122
  textTransform,
135
123
  writingMode
136
124
  ];
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/styles/typography/index.ts"],
4
- "sourcesContent": ["/**\n * Internal dependencies\n */\nimport type { Style, StyleOptions } from '../../types';\nimport { generateRule } from '../utils';\n\nconst fontSize = {\n\tname: 'fontSize',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontSize' ],\n\t\t\t'fontSize'\n\t\t);\n\t},\n};\n\nconst fontStyle = {\n\tname: 'fontStyle',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontStyle' ],\n\t\t\t'fontStyle'\n\t\t);\n\t},\n};\n\nconst fontWeight = {\n\tname: 'fontWeight',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontWeight' ],\n\t\t\t'fontWeight'\n\t\t);\n\t},\n};\n\nconst fontFamily = {\n\tname: 'fontFamily',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontFamily' ],\n\t\t\t'fontFamily'\n\t\t);\n\t},\n};\n\nconst letterSpacing = {\n\tname: 'letterSpacing',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'letterSpacing' ],\n\t\t\t'letterSpacing'\n\t\t);\n\t},\n};\n\nconst lineHeight = {\n\tname: 'lineHeight',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'lineHeight' ],\n\t\t\t'lineHeight'\n\t\t);\n\t},\n};\n\nconst textColumns = {\n\tname: 'textColumns',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'textColumns' ],\n\t\t\t'columnCount'\n\t\t);\n\t},\n};\n\nconst textDecoration = {\n\tname: 'textDecoration',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'textDecoration' ],\n\t\t\t'textDecoration'\n\t\t);\n\t},\n};\n\nconst textIndent = {\n\tname: 'textIndent',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'textIndent' ],\n\t\t\t'textIndent'\n\t\t);\n\t},\n};\n\nconst textTransform = {\n\tname: 'textTransform',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'textTransform' ],\n\t\t\t'textTransform'\n\t\t);\n\t},\n};\n\nconst writingMode = {\n\tname: 'writingMode',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'writingMode' ],\n\t\t\t'writingMode'\n\t\t);\n\t},\n};\n\nexport default [\n\tfontFamily,\n\tfontSize,\n\tfontStyle,\n\tfontWeight,\n\tletterSpacing,\n\tlineHeight,\n\ttextColumns,\n\ttextDecoration,\n\ttextIndent,\n\ttextTransform,\n\twritingMode,\n];\n"],
5
- "mappings": ";AAIA,SAAS,oBAAoB;AAE7B,IAAM,WAAW;AAAA,EAChB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,WAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,UAAW;AAAA,MAC3B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,YAAY;AAAA,EACjB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,WAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,WAAY;AAAA,MAC5B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,aAAa;AAAA,EAClB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,WAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,YAAa;AAAA,MAC7B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,aAAa;AAAA,EAClB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,WAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,YAAa;AAAA,MAC7B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,gBAAgB;AAAA,EACrB,MAAM;AAAA,EACN,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;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;",
4
+ "sourcesContent": ["/**\n * Internal dependencies\n */\nimport type { Style, StyleOptions } from '../../types';\nimport { generateRule } from '../utils';\n\nconst fontSize = {\n\tname: 'fontSize',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontSize' ],\n\t\t\t'fontSize'\n\t\t);\n\t},\n};\n\nconst fontStyle = {\n\tname: 'fontStyle',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontStyle' ],\n\t\t\t'fontStyle'\n\t\t);\n\t},\n};\n\nconst fontWeight = {\n\tname: 'fontWeight',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontWeight' ],\n\t\t\t'fontWeight'\n\t\t);\n\t},\n};\n\nconst fontFamily = {\n\tname: 'fontFamily',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'fontFamily' ],\n\t\t\t'fontFamily'\n\t\t);\n\t},\n};\n\nconst letterSpacing = {\n\tname: 'letterSpacing',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'letterSpacing' ],\n\t\t\t'letterSpacing'\n\t\t);\n\t},\n};\n\nconst lineHeight = {\n\tname: 'lineHeight',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'lineHeight' ],\n\t\t\t'lineHeight'\n\t\t);\n\t},\n};\n\nconst textColumns = {\n\tname: 'textColumns',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'textColumns' ],\n\t\t\t'columnCount'\n\t\t);\n\t},\n};\n\nconst textDecoration = {\n\tname: 'textDecoration',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'textDecoration' ],\n\t\t\t'textDecoration'\n\t\t);\n\t},\n};\n\nconst textTransform = {\n\tname: 'textTransform',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'textTransform' ],\n\t\t\t'textTransform'\n\t\t);\n\t},\n};\n\nconst writingMode = {\n\tname: 'writingMode',\n\tgenerate: ( style: Style, options: StyleOptions ) => {\n\t\treturn generateRule(\n\t\t\tstyle,\n\t\t\toptions,\n\t\t\t[ 'typography', 'writingMode' ],\n\t\t\t'writingMode'\n\t\t);\n\t},\n};\n\nexport default [\n\tfontFamily,\n\tfontSize,\n\tfontStyle,\n\tfontWeight,\n\tletterSpacing,\n\tlineHeight,\n\ttextColumns,\n\ttextDecoration,\n\ttextTransform,\n\twritingMode,\n];\n"],
5
+ "mappings": ";AAIA,SAAS,oBAAoB;AAE7B,IAAM,WAAW;AAAA,EAChB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,WAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,UAAW;AAAA,MAC3B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,YAAY;AAAA,EACjB,MAAM;AAAA,EACN,UAAU,CAAE,OAAc,YAA2B;AACpD,WAAO;AAAA,MACN;AAAA,MACA;AAAA,MACA,CAAE,cAAc,WAAY;AAAA,MAC5B;AAAA,IACD;AAAA,EACD;AACD;AAEA,IAAM,aAAa;AAAA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