@automattic/jetpack-ai-client 0.27.9 → 0.27.10

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.27.10] - 2025-05-05
9
+ ### Changed
10
+ - Update package dependencies. [#43326]
11
+
12
+ ### Fixed
13
+ - Linting: Address final rules in WordPress Stylelint config. [#43296]
14
+ - Linting: Do additional stylesheet cleanup. [#43247]
15
+
8
16
  ## [0.27.9] - 2025-04-28
9
17
  ### Fixed
10
18
  - Code: Remove unneeded `data:` URI components. [#43227]
@@ -596,6 +604,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
596
604
  - AI Client: stop using smart document visibility handling on the fetchEventSource library, so it does not restart the completion when changing tabs. [#32004]
597
605
  - Updated package dependencies. [#31468] [#31659] [#31785]
598
606
 
607
+ [0.27.10]: https://github.com/Automattic/jetpack-ai-client/compare/v0.27.9...v0.27.10
599
608
  [0.27.9]: https://github.com/Automattic/jetpack-ai-client/compare/v0.27.8...v0.27.9
600
609
  [0.27.8]: https://github.com/Automattic/jetpack-ai-client/compare/v0.27.7...v0.27.8
601
610
  [0.27.7]: https://github.com/Automattic/jetpack-ai-client/compare/v0.27.6...v0.27.7
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@automattic/jetpack-ai-client",
4
- "version": "0.27.9",
4
+ "version": "0.27.10",
5
5
  "description": "A JS client for consuming Jetpack AI services",
6
6
  "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/ai-client/#readme",
7
7
  "bugs": {
@@ -45,28 +45,28 @@
45
45
  "main": "./build/index.js",
46
46
  "types": "./build/index.d.ts",
47
47
  "dependencies": {
48
- "@automattic/jetpack-base-styles": "^0.7.2",
49
- "@automattic/jetpack-components": "^0.72.5",
50
- "@automattic/jetpack-connection": "^0.39.12",
51
- "@automattic/jetpack-shared-extension-utils": "^0.19.1",
48
+ "@automattic/jetpack-base-styles": "^0.7.3",
49
+ "@automattic/jetpack-components": "^0.72.6",
50
+ "@automattic/jetpack-connection": "^0.39.13",
51
+ "@automattic/jetpack-shared-extension-utils": "^0.19.2",
52
52
  "@microsoft/fetch-event-source": "2.0.1",
53
53
  "@types/jest": "29.5.14",
54
54
  "@types/react": "18.3.18",
55
55
  "@types/wordpress__block-editor": "11.5.16",
56
- "@wordpress/api-fetch": "7.21.0",
57
- "@wordpress/base-styles": "5.21.0",
58
- "@wordpress/blob": "4.21.0",
59
- "@wordpress/blocks": "14.10.0",
60
- "@wordpress/block-editor": "14.16.0",
61
- "@wordpress/components": "29.7.0",
62
- "@wordpress/compose": "7.21.0",
63
- "@wordpress/data": "10.21.0",
64
- "@wordpress/editor": "14.21.0",
65
- "@wordpress/element": "6.21.0",
66
- "@wordpress/i18n": "5.21.0",
67
- "@wordpress/icons": "10.21.0",
68
- "@wordpress/primitives": "4.21.0",
69
- "@wordpress/url": "4.21.0",
56
+ "@wordpress/api-fetch": "7.22.0",
57
+ "@wordpress/base-styles": "5.22.0",
58
+ "@wordpress/blob": "4.22.0",
59
+ "@wordpress/blocks": "14.11.0",
60
+ "@wordpress/block-editor": "14.17.0",
61
+ "@wordpress/components": "29.8.0",
62
+ "@wordpress/compose": "7.22.0",
63
+ "@wordpress/data": "10.22.0",
64
+ "@wordpress/editor": "14.22.0",
65
+ "@wordpress/element": "6.22.0",
66
+ "@wordpress/i18n": "5.22.0",
67
+ "@wordpress/icons": "10.22.0",
68
+ "@wordpress/primitives": "4.22.0",
69
+ "@wordpress/url": "4.22.0",
70
70
  "clsx": "2.1.1",
71
71
  "debug": "4.4.0",
72
72
  "markdown-it": "14.1.0",
@@ -70,7 +70,7 @@
70
70
  width: 100%;
71
71
  margin-top: 24px;
72
72
 
73
- & > .jetpack-ai-upgrade-banner {
73
+ > .jetpack-ai-upgrade-banner {
74
74
  margin-bottom: 8px;
75
75
  }
76
76
  }
@@ -6,7 +6,7 @@
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
 
9
- & > span {
9
+ > span {
10
10
  display: flex;
11
11
  justify-content: space-between;
12
12
  align-items: center;
@@ -63,7 +63,7 @@
63
63
  width: 100%;
64
64
  margin-top: 24px;
65
65
 
66
- & > .jetpack-ai-upgrade-banner {
66
+ > .jetpack-ai-upgrade-banner {
67
67
  margin-bottom: 8px;
68
68
  }
69
69
  }
@@ -18,6 +18,7 @@
18
18
  .jetpack-ai-assistant__message-content {
19
19
  flex-grow: 2;
20
20
  margin: 0 8px;
21
+ // stylelint-disable-next-line declaration-property-unit-allowed-list -- this should be changed to a unitless value: https://developer.wordpress.org/coding-standards/wordpress-coding-standards/css/#values
21
22
  line-height: 1.4em;
22
23
  display: flex;
23
24
  gap: 4px;
@@ -33,7 +33,7 @@
33
33
  gap: 16px;
34
34
  align-items: center;
35
35
 
36
- & > svg {
36
+ > svg {
37
37
  margin: 0;
38
38
  color: #008710;
39
39
  }
@@ -106,7 +106,7 @@
106
106
  line-height: 21px;
107
107
  display: flex;
108
108
 
109
- & .prompt-footer__icon {
109
+ .prompt-footer__icon {
110
110
  height: 20px;
111
111
  width: 20px;
112
112