@automattic/jetpack-shared-extension-utils 0.18.9 → 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,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
+ ## [0.18.11] - 2025-04-07
9
+ ### Changed
10
+ - Code: First pass of style coding standards. [#42734]
11
+
12
+ ## [0.18.10] - 2025-04-02
13
+ ### Changed
14
+ - Update package dependencies. [#42809]
15
+
8
16
  ## [0.18.9] - 2025-04-01
9
17
  ### Changed
10
18
  - Update dependencies. [#42328]
@@ -597,6 +605,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
597
605
  ### Changed
598
606
  - Core: prepare utility for release
599
607
 
608
+ [0.18.11]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.18.10...0.18.11
609
+ [0.18.10]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.18.9...0.18.10
600
610
  [0.18.9]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.18.8...0.18.9
601
611
  [0.18.8]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.18.7...0.18.8
602
612
  [0.18.7]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.18.6...0.18.7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-shared-extension-utils",
3
- "version": "0.18.9",
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,21 +20,21 @@
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.44",
24
- "@automattic/jetpack-components": "^0.72.1",
25
- "@automattic/jetpack-connection": "^0.39.8",
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
- "@wordpress/api-fetch": "7.19.0",
28
- "@wordpress/block-editor": "14.14.0",
29
- "@wordpress/components": "29.5.0",
30
- "@wordpress/compose": "7.19.0",
31
- "@wordpress/data": "10.19.0",
32
- "@wordpress/dom-ready": "4.19.0",
33
- "@wordpress/element": "6.19.0",
34
- "@wordpress/hooks": "4.19.0",
35
- "@wordpress/i18n": "5.19.0",
36
- "@wordpress/plugins": "7.19.0",
37
- "@wordpress/url": "4.19.0",
27
+ "@wordpress/api-fetch": "7.21.0",
28
+ "@wordpress/block-editor": "14.16.0",
29
+ "@wordpress/components": "29.7.0",
30
+ "@wordpress/compose": "7.21.0",
31
+ "@wordpress/data": "10.21.0",
32
+ "@wordpress/dom-ready": "4.21.0",
33
+ "@wordpress/element": "6.21.0",
34
+ "@wordpress/hooks": "4.21.0",
35
+ "@wordpress/i18n": "5.21.0",
36
+ "@wordpress/plugins": "7.21.0",
37
+ "@wordpress/url": "4.21.0",
38
38
  "clsx": "2.1.1",
39
39
  "debug": "4.4.0",
40
40
  "lodash": "4.17.21"
@@ -48,7 +48,7 @@
48
48
  "@testing-library/dom": "10.4.0",
49
49
  "@testing-library/react": "16.2.0",
50
50
  "@testing-library/user-event": "14.6.1",
51
- "@wordpress/babel-plugin-import-jsx-pragma": "5.19.0",
51
+ "@wordpress/babel-plugin-import-jsx-pragma": "5.21.0",
52
52
  "babel-jest": "29.3.1",
53
53
  "jest": "29.7.0",
54
54
  "jest-environment-jsdom": "29.7.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;