@automattic/jetpack-ai-client 0.27.8 → 0.27.9
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,11 @@ 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.9] - 2025-04-28
|
|
9
|
+
### Fixed
|
|
10
|
+
- Code: Remove unneeded `data:` URI components. [#43227]
|
|
11
|
+
- Linting: Fix more Stylelint violations. [#43213]
|
|
12
|
+
|
|
8
13
|
## [0.27.8] - 2025-04-14
|
|
9
14
|
### Changed
|
|
10
15
|
- Adjust relative imports in TypeScript sources to use correct extensions after enabling TypeScript's new `rewriteRelativeImportExtensions` option. [#42990]
|
|
@@ -591,6 +596,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
591
596
|
- AI Client: stop using smart document visibility handling on the fetchEventSource library, so it does not restart the completion when changing tabs. [#32004]
|
|
592
597
|
- Updated package dependencies. [#31468] [#31659] [#31785]
|
|
593
598
|
|
|
599
|
+
[0.27.9]: https://github.com/Automattic/jetpack-ai-client/compare/v0.27.8...v0.27.9
|
|
594
600
|
[0.27.8]: https://github.com/Automattic/jetpack-ai-client/compare/v0.27.7...v0.27.8
|
|
595
601
|
[0.27.7]: https://github.com/Automattic/jetpack-ai-client/compare/v0.27.6...v0.27.7
|
|
596
602
|
[0.27.6]: https://github.com/Automattic/jetpack-ai-client/compare/v0.27.5...v0.27.6
|
|
@@ -19,7 +19,7 @@ import './carrousel.scss';
|
|
|
19
19
|
* @return {React.ReactElement} - rendered component.
|
|
20
20
|
*/
|
|
21
21
|
function BlankImage({ children, isDotted = false, contentClassName = '' }) {
|
|
22
|
-
const blankImage = (_jsx("img", { className: "ai-assistant-image__carrousel-image", src: "data:image/svg+xml
|
|
22
|
+
const blankImage = (_jsx("img", { className: "ai-assistant-image__carrousel-image", src: "data:image/svg+xml,<svg viewBox='0 0 1 1' width='1024' height='768' xmlns='http://www.w3.org/2000/svg'><path d='M0 0 L1 0 L1 1 L0 1 L0 0 Z' fill='none' /></svg>", alt: "" }));
|
|
23
23
|
return (_jsxs("div", { className: "ai-assistant-image__blank", children: [blankImage, _jsx("div", { className: clsx('ai-assistant-image__blank-content', contentClassName, {
|
|
24
24
|
'is-dotted': isDotted,
|
|
25
25
|
}), children: children })] }));
|
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.
|
|
4
|
+
"version": "0.27.9",
|
|
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,10 +45,10 @@
|
|
|
45
45
|
"main": "./build/index.js",
|
|
46
46
|
"types": "./build/index.d.ts",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@automattic/jetpack-base-styles": "^0.7.
|
|
49
|
-
"@automattic/jetpack-components": "^0.72.
|
|
50
|
-
"@automattic/jetpack-connection": "^0.39.
|
|
51
|
-
"@automattic/jetpack-shared-extension-utils": "^0.19.
|
|
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",
|
|
52
52
|
"@microsoft/fetch-event-source": "2.0.1",
|
|
53
53
|
"@types/jest": "29.5.14",
|
|
54
54
|
"@types/react": "18.3.18",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
.jetpack-components-ai-control__container {
|
|
9
9
|
color: var( --jp-gray-80 );
|
|
10
10
|
background-color: var( --jp-white );
|
|
11
|
-
box-shadow:
|
|
11
|
+
box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.12), 0 3px 9px 0 rgba(0, 0, 0, 0.12), 0 1px 3px 0 rgba(0, 0, 0, 0.15);
|
|
12
12
|
font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
13
13
|
border-radius: 6px;
|
|
14
14
|
border: 1px solid var(--gutenberg-gray-400, #CCC);
|
|
@@ -42,7 +42,7 @@ function BlankImage( { children, isDotted = false, contentClassName = '' }: Blan
|
|
|
42
42
|
const blankImage = (
|
|
43
43
|
<img
|
|
44
44
|
className="ai-assistant-image__carrousel-image"
|
|
45
|
-
src="data:image/svg+xml
|
|
45
|
+
src="data:image/svg+xml,<svg viewBox='0 0 1 1' width='1024' height='768' xmlns='http://www.w3.org/2000/svg'><path d='M0 0 L1 0 L1 1 L0 1 L0 0 Z' fill='none' /></svg>"
|
|
46
46
|
alt=""
|
|
47
47
|
/>
|
|
48
48
|
);
|