@wordpress/format-library 4.4.0 → 4.5.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 CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 4.5.0 (2023-03-01)
6
+
5
7
  ## 4.4.0 (2023-02-15)
6
8
 
7
9
  ## 4.3.0 (2023-02-01)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/format-library",
3
- "version": "4.4.0",
3
+ "version": "4.5.0",
4
4
  "description": "Format library for the WordPress editor.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -26,17 +26,17 @@
26
26
  "react-native": "src/index",
27
27
  "dependencies": {
28
28
  "@babel/runtime": "^7.16.0",
29
- "@wordpress/a11y": "^3.27.0",
30
- "@wordpress/block-editor": "^11.4.0",
31
- "@wordpress/components": "^23.4.0",
32
- "@wordpress/compose": "^6.4.0",
33
- "@wordpress/data": "^8.4.0",
34
- "@wordpress/element": "^5.4.0",
35
- "@wordpress/html-entities": "^3.27.0",
36
- "@wordpress/i18n": "^4.27.0",
37
- "@wordpress/icons": "^9.18.0",
38
- "@wordpress/rich-text": "^6.4.0",
39
- "@wordpress/url": "^3.28.0"
29
+ "@wordpress/a11y": "^3.28.0",
30
+ "@wordpress/block-editor": "^11.5.0",
31
+ "@wordpress/components": "^23.5.0",
32
+ "@wordpress/compose": "^6.5.0",
33
+ "@wordpress/data": "^8.5.0",
34
+ "@wordpress/element": "^5.5.0",
35
+ "@wordpress/html-entities": "^3.28.0",
36
+ "@wordpress/i18n": "^4.28.0",
37
+ "@wordpress/icons": "^9.19.0",
38
+ "@wordpress/rich-text": "^6.5.0",
39
+ "@wordpress/url": "^3.29.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": "^18.0.0",
@@ -45,5 +45,5 @@
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "gitHead": "c25ff895413bad4354c55c0c2d732552618b0d56"
48
+ "gitHead": "d5e03a74b79e3ca84afda24375474a103a063ee4"
49
49
  }
@@ -2,28 +2,28 @@
2
2
 
3
3
  exports[`Text color allows toggling the highlight color feature to selected text 1`] = `
4
4
  "<!-- wp:paragraph -->
5
- <p><mark style=\\"background-color:rgba(0, 0, 0, 0);color:#f78da7\\" class=\\"has-inline-color has-pale-pink-color\\">Hello this is a test</mark></p>
5
+ <p><mark style="background-color:rgba(0, 0, 0, 0);color:#f78da7" class="has-inline-color has-pale-pink-color">Hello this is a test</mark></p>
6
6
  <!-- /wp:paragraph -->"
7
7
  `;
8
8
 
9
9
  exports[`Text color allows toggling the highlight color feature to type new text 1`] = `
10
10
  "<!-- wp:paragraph -->
11
- <p><mark style=\\"background-color:rgba(0, 0, 0, 0);color:#f78da7\\" class=\\"has-inline-color has-pale-pink-color\\"></mark></p>
11
+ <p><mark style="background-color:rgba(0, 0, 0, 0);color:#f78da7" class="has-inline-color has-pale-pink-color"></mark></p>
12
12
  <!-- /wp:paragraph -->"
13
13
  `;
14
14
 
15
15
  exports[`Text color creates a paragraph block with the text color format 1`] = `
16
16
  "<!-- wp:paragraph -->
17
- <p>Hello <mark style=\\"background-color:rgba(0,0,0,0);color:#cf2e2e\\" class=\\"has-inline-color has-vivid-red-color\\">this is a test</mark></p>
17
+ <p>Hello <mark style="background-color:rgba(0,0,0,0);color:#cf2e2e" class="has-inline-color has-vivid-red-color">this is a test</mark></p>
18
18
  <!-- /wp:paragraph -->"
19
19
  `;
20
20
 
21
21
  exports[`Text color supports old text color format using "span" tag 1`] = `
22
22
  "<!-- wp:paragraph -->
23
- <p>this <span class=\\"has-inline-color has-green-color\\">is</span> <span class=\\"has-inline-color has-red-color\\">test</span></p>
23
+ <p>this <span class="has-inline-color has-green-color">is</span> <span class="has-inline-color has-red-color">test</span></p>
24
24
  <!-- /wp:paragraph -->
25
25
 
26
26
  <!-- wp:paragraph -->
27
- <p><span style=\\"color:#08a5e9\\" class=\\"has-inline-color\\">this is a test</span></p>
27
+ <p><span style="color:#08a5e9" class="has-inline-color">this is a test</span></p>
28
28
  <!-- /wp:paragraph -->"
29
29
  `;