@automattic/jetpack-shared-extension-utils 1.3.4 → 1.3.6
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
|
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.3.6] - 2025-07-23
|
|
9
|
+
### Changed
|
|
10
|
+
- Internal updates.
|
|
11
|
+
|
|
12
|
+
## [1.3.5] - 2025-07-21
|
|
13
|
+
### Changed
|
|
14
|
+
- Update package dependencies. [#44356]
|
|
15
|
+
|
|
8
16
|
## [1.3.4] - 2025-07-14
|
|
9
17
|
### Removed
|
|
10
18
|
- Remove no-longer-needed dependency on `lodash`. [#44269]
|
|
@@ -719,6 +727,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
719
727
|
### Changed
|
|
720
728
|
- Core: prepare utility for release
|
|
721
729
|
|
|
730
|
+
[1.3.6]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/1.3.5...1.3.6
|
|
731
|
+
[1.3.5]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/1.3.4...1.3.5
|
|
722
732
|
[1.3.4]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/1.3.3...1.3.4
|
|
723
733
|
[1.3.3]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/1.3.2...1.3.3
|
|
724
734
|
[1.3.2]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/1.3.1...1.3.2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-shared-extension-utils",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.6",
|
|
4
4
|
"description": "Utility functions used by the block editor extensions",
|
|
5
5
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/shared-extension-utils/#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@automattic/color-studio": "4.1.0",
|
|
22
22
|
"@automattic/jetpack-analytics": "^1.0.3",
|
|
23
|
-
"@automattic/jetpack-base-styles": "^1.0.
|
|
24
|
-
"@automattic/jetpack-components": "^1.1.
|
|
25
|
-
"@automattic/jetpack-connection": "^1.
|
|
23
|
+
"@automattic/jetpack-base-styles": "^1.0.6",
|
|
24
|
+
"@automattic/jetpack-components": "^1.1.15",
|
|
25
|
+
"@automattic/jetpack-connection": "^1.3.0",
|
|
26
26
|
"@automattic/jetpack-script-data": "^0.5.0",
|
|
27
27
|
"@wordpress/api-fetch": "7.26.0",
|
|
28
28
|
"@wordpress/block-editor": "14.21.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@automattic/jetpack-webpack-config": "workspace:*",
|
|
44
|
-
"@babel/core": "7.
|
|
44
|
+
"@babel/core": "7.28.0",
|
|
45
45
|
"@babel/plugin-transform-react-jsx": "7.27.1",
|
|
46
46
|
"@babel/preset-react": "7.27.1",
|
|
47
47
|
"@babel/runtime": "7.27.6",
|
|
@@ -8,32 +8,39 @@
|
|
|
8
8
|
background: studio.$studio-black;
|
|
9
9
|
padding: 0 20px;
|
|
10
10
|
border-radius: 2px;
|
|
11
|
-
box-shadow: 0 0 1px inset studio.$studio-white;
|
|
11
|
+
box-shadow: 0 0 1px inset studio.$studio-white;
|
|
12
|
+
}
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-title,
|
|
15
|
+
.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-description {
|
|
16
|
+
color: studio.$studio-white;
|
|
17
|
+
}
|
|
16
18
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__title,
|
|
20
|
+
.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__description {
|
|
21
|
+
margin-right: 10px;
|
|
22
|
+
}
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button {
|
|
25
|
+
flex-shrink: 0;
|
|
26
|
+
line-height: 1;
|
|
27
|
+
margin-left: auto;
|
|
28
|
+
height: 28px;
|
|
29
|
+
}
|
|
26
30
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary {
|
|
32
|
+
background: studio.$studio-pink-40;
|
|
33
|
+
color: studio.$studio-white;
|
|
34
|
+
}
|
|
30
35
|
|
|
31
|
-
|
|
32
|
-
|
|
36
|
+
.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary:hover {
|
|
37
|
+
background: studio.$studio-pink-30;
|
|
38
|
+
}
|
|
33
39
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
40
|
+
.jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary.is-busy {
|
|
41
|
+
background-size: 100px 100%;
|
|
42
|
+
background-image: linear-gradient(-45deg, studio.$studio-pink-40 28%, studio.$studio-pink-60 28%, studio.$studio-pink-60 72%, studio.$studio-pink-40 72%);
|
|
43
|
+
}
|
|
37
44
|
|
|
38
45
|
.jetpack-upgrade-plan-banner.block-editor-block-list__block {
|
|
39
46
|
margin-top: 0;
|
package/src/icons.native.scss
CHANGED
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
fill: $gray-700;
|
|
3
3
|
|
|
4
4
|
&.is-facebook {
|
|
5
|
-
fill: var(
|
|
5
|
+
fill: var(--color-facebook);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
&.is-twitter {
|
|
9
|
-
fill: var(
|
|
9
|
+
fill: var(--color-twitter);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
&.is-linkedin {
|
|
13
|
-
fill: var(
|
|
13
|
+
fill: var(--color-linkedin);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
&.is-tumblr {
|
|
17
|
-
fill: var(
|
|
17
|
+
fill: var(--color-tumblr);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
&.is-google {
|
|
21
|
-
fill: var(
|
|
21
|
+
fill: var(--color-gplus);
|
|
22
22
|
}
|
|
23
23
|
}
|
package/src/icons.scss
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
@use
|
|
1
|
+
@use "@automattic/jetpack-base-styles/gutenberg-base-styles" as gb;
|
|
2
2
|
|
|
3
3
|
.jetpack-gutenberg-social-icon {
|
|
4
4
|
fill: gb.$gray-700;
|
|
5
5
|
|
|
6
6
|
&.is-facebook {
|
|
7
|
-
fill: var(
|
|
7
|
+
fill: var(--color-facebook);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
&.is-twitter {
|
|
11
|
-
fill: var(
|
|
11
|
+
fill: var(--color-twitter);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
&.is-linkedin {
|
|
15
|
-
fill: var(
|
|
15
|
+
fill: var(--color-linkedin);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
&.is-tumblr {
|
|
19
|
-
fill: var(
|
|
19
|
+
fill: var(--color-tumblr);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&.is-google {
|
|
23
|
-
fill: var(
|
|
23
|
+
fill: var(--color-gplus);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.block-editor-block-list__layout
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
// Override core styles inherited from `.has-warning`:
|
|
3
|
+
// we do want blocks with upgrade nudge warning to be interactive
|
|
4
|
+
.block-editor-block-list__block.has-warning.is-interactive {
|
|
5
5
|
|
|
6
6
|
> * {
|
|
7
7
|
pointer-events: auto;
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
&::after {
|
|
12
12
|
content: none;
|
|
13
13
|
}
|
|
14
|
-
}
|
|
14
|
+
}
|