@wordpress/style-engine 2.0.0 → 2.1.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 +2 -0
- package/CONTRIBUTING.md +3 -3
- package/README.md +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/CONTRIBUTING.md
CHANGED
|
@@ -4,7 +4,7 @@ This document contains information you might need to know when extending or debu
|
|
|
4
4
|
|
|
5
5
|
## Workflow and build tooling
|
|
6
6
|
|
|
7
|
-
The Style Engine PHP and
|
|
7
|
+
The Style Engine PHP and JavaScript (JS) files exist inside the `style-engine` package.
|
|
8
8
|
|
|
9
9
|
In order to use the Style Engine in the Block Editor, these files must be compiled (in the case of JS) and copied to the build folder.
|
|
10
10
|
|
|
@@ -29,9 +29,9 @@ To start the JS unit tests, run:
|
|
|
29
29
|
|
|
30
30
|
`npm run test:unit packages/style-engine/src/test/`
|
|
31
31
|
|
|
32
|
-
[PHP unit tests](https://github.com/WordPress/gutenberg/tree/HEAD/phpunit/style-engine) are located in the root `phpunit` directory.
|
|
32
|
+
[PHP unit tests](https://github.com/WordPress/gutenberg/tree/HEAD/phpunit/style-engine) are located in the root `phpunit` directory.
|
|
33
33
|
|
|
34
|
-
In order to test the latest version of the Style Engine and avoid conflicts with existing Core equivalents, all PHP unit tests call the `gutenberg_` functions and `_Gutenberg` classes.
|
|
34
|
+
In order to test the latest version of the Style Engine and avoid conflicts with existing Core equivalents, all PHP unit tests call the `gutenberg_` functions and `_Gutenberg` classes.
|
|
35
35
|
|
|
36
36
|
Therefore, Style Engine PHP source files should be parsed and copied to the build folder before running tests. During development, this will happen as part of the `npm run dev` script. You can also trigger a build by executing `npm run build`.
|
|
37
37
|
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ Upcoming tasks on the roadmap include, but are not limited to, the following:
|
|
|
17
17
|
- Propose a way to control hierarchy and specificity, and make the style hierarchy cascade accessible and predictable. This might include preparing for CSS cascade layers until they become more widely supported, and allowing for opt-in support in Gutenberg via theme.json.
|
|
18
18
|
- Refactor all blocks to consistently use the "style" attribute for all customizations, that is, deprecate preset-specific attributes such as `attributes.fontSize`.
|
|
19
19
|
|
|
20
|
-
For more information about the roadmap, please refer to [Block editor styles: initiatives and goals](https://make.wordpress.org/core/2022/06/24/block-editor-styles-initiatives-and-goals/) and the [
|
|
20
|
+
For more information about the roadmap, please refer to [Block editor styles: initiatives and goals](https://make.wordpress.org/core/2022/06/24/block-editor-styles-initiatives-and-goals/) and the [GitHub project board](https://github.com/orgs/WordPress/projects/19).
|
|
21
21
|
|
|
22
22
|
If you're making changes or additions to the Style Engine, please take a moment to read the [notes on contributing](https://github.com/WordPress/gutenberg/tree/HEAD/packages/style-engine/CONTRIBUTING.md).
|
|
23
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/style-engine",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "A suite of parsers and compilers for WordPress styles.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "66d3bf12e67d16deddc4b4a9ec42e1d0bed3479a"
|
|
40
40
|
}
|