@automattic/jetpack-shared-extension-utils 0.18.10 → 0.18.11

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,10 @@ 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
+ ## [0.18.11] - 2025-04-07
9
+ ### Changed
10
+ - Code: First pass of style coding standards. [#42734]
11
+
8
12
  ## [0.18.10] - 2025-04-02
9
13
  ### Changed
10
14
  - Update package dependencies. [#42809]
@@ -601,6 +605,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
601
605
  ### Changed
602
606
  - Core: prepare utility for release
603
607
 
608
+ [0.18.11]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.18.10...0.18.11
604
609
  [0.18.10]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.18.9...0.18.10
605
610
  [0.18.9]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.18.8...0.18.9
606
611
  [0.18.8]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.18.7...0.18.8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-shared-extension-utils",
3
- "version": "0.18.10",
3
+ "version": "0.18.11",
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": "^0.1.36",
23
- "@automattic/jetpack-base-styles": "^0.6.45",
24
- "@automattic/jetpack-components": "^0.72.2",
25
- "@automattic/jetpack-connection": "^0.39.9",
23
+ "@automattic/jetpack-base-styles": "^0.7.0",
24
+ "@automattic/jetpack-components": "^0.72.3",
25
+ "@automattic/jetpack-connection": "^0.39.10",
26
26
  "@automattic/jetpack-script-data": "^0.3.0",
27
27
  "@wordpress/api-fetch": "7.21.0",
28
28
  "@wordpress/block-editor": "14.16.0",
@@ -10,22 +10,28 @@
10
10
  padding: 0 20px;
11
11
  border-radius: 2px;
12
12
  box-shadow: 0 0 1px inset $studio-white; }
13
+
13
14
  .jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-title,
14
15
  .jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .banner-description {
15
16
  color: $studio-white; }
17
+
16
18
  .jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__title,
17
19
  .jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .jetpack-upgrade-plan-banner__description {
18
20
  margin-right: 10px; }
21
+
19
22
  .jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button {
20
23
  flex-shrink: 0;
21
24
  line-height: 1;
22
25
  margin-left: auto;
23
26
  height: 28px; }
27
+
24
28
  .jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary {
25
29
  background: $studio-pink-40;
26
30
  color: $studio-white; }
31
+
27
32
  .jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary:hover {
28
33
  background: $studio-pink-30; }
34
+
29
35
  .jetpack-upgrade-plan-banner .jetpack-upgrade-plan-banner__wrapper .components-button.is-primary.is-busy {
30
36
  background-size: 100px 100%;
31
37
  background-image: linear-gradient(-45deg, $studio-pink-40 28%, $studio-pink-60 28%, $studio-pink-60 72%, $studio-pink-40 72%); }
@@ -4,15 +4,19 @@
4
4
  &.is-facebook {
5
5
  fill: var( --color-facebook );
6
6
  }
7
+
7
8
  &.is-twitter {
8
9
  fill: var( --color-twitter );
9
10
  }
11
+
10
12
  &.is-linkedin {
11
13
  fill: var( --color-linkedin );
12
14
  }
15
+
13
16
  &.is-tumblr {
14
17
  fill: var( --color-tumblr );
15
18
  }
19
+
16
20
  &.is-google {
17
21
  fill: var( --color-gplus );
18
22
  }
package/src/icons.scss CHANGED
@@ -6,15 +6,19 @@
6
6
  &.is-facebook {
7
7
  fill: var( --color-facebook );
8
8
  }
9
+
9
10
  &.is-twitter {
10
11
  fill: var( --color-twitter );
11
12
  }
13
+
12
14
  &.is-linkedin {
13
15
  fill: var( --color-linkedin );
14
16
  }
17
+
15
18
  &.is-tumblr {
16
19
  fill: var( --color-tumblr );
17
20
  }
21
+
18
22
  &.is-google {
19
23
  fill: var( --color-gplus );
20
24
  }
@@ -2,6 +2,7 @@
2
2
  // Override core styles inherited from `.has-warning`:
3
3
  // we do want blocks with upgrade nudge warning to be interactive
4
4
  .block-editor-block-list__block.has-warning.is-interactive {
5
+
5
6
  > * {
6
7
  pointer-events: auto;
7
8
  user-select: auto;