@automattic/jetpack-ai-client 0.2.0 → 0.2.1
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 +6 -0
- package/package.json +13 -13
- package/src/components/ai-control/style.scss +3 -3
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.2.1] - 2023-12-03
|
|
9
|
+
### Changed
|
|
10
|
+
- Updated the prompt shadow for a better sense of depth. [#34362]
|
|
11
|
+
- Updated package dependencies. [#34411] [#34427]
|
|
12
|
+
|
|
8
13
|
## [0.2.0] - 2023-11-20
|
|
9
14
|
### Changed
|
|
10
15
|
- Include built JavaScript code in addition to TypeScript. [#34118]
|
|
@@ -166,6 +171,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
166
171
|
- Updated package dependencies. [#31659]
|
|
167
172
|
- Updated package dependencies. [#31785]
|
|
168
173
|
|
|
174
|
+
[0.2.1]: https://github.com/Automattic/jetpack-ai-client/compare/v0.2.0...v0.2.1
|
|
169
175
|
[0.2.0]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.16...v0.2.0
|
|
170
176
|
[0.1.16]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.15...v0.1.16
|
|
171
177
|
[0.1.15]: https://github.com/Automattic/jetpack-ai-client/compare/v0.1.14...v0.1.15
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": false,
|
|
3
3
|
"name": "@automattic/jetpack-ai-client",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1",
|
|
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": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@storybook/blocks": "7.4.6",
|
|
27
27
|
"@storybook/react": "7.4.6",
|
|
28
28
|
"jest": "^29.6.2",
|
|
29
|
-
"jest-environment-jsdom": "29.
|
|
29
|
+
"jest-environment-jsdom": "29.7.0",
|
|
30
30
|
"typescript": "5.0.4"
|
|
31
31
|
},
|
|
32
32
|
"exports": {
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
"main": "./build/index.js",
|
|
39
39
|
"types": "./build/index.d.ts",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@automattic/jetpack-base-styles": "^0.6.
|
|
42
|
-
"@automattic/jetpack-connection": "^0.30.
|
|
43
|
-
"@automattic/jetpack-shared-extension-utils": "^0.13.
|
|
41
|
+
"@automattic/jetpack-base-styles": "^0.6.14",
|
|
42
|
+
"@automattic/jetpack-connection": "^0.30.9",
|
|
43
|
+
"@automattic/jetpack-shared-extension-utils": "^0.13.3",
|
|
44
44
|
"@microsoft/fetch-event-source": "2.0.1",
|
|
45
45
|
"@types/react": "18.2.33",
|
|
46
|
-
"@wordpress/api-fetch": "6.
|
|
47
|
-
"@wordpress/block-editor": "12.
|
|
48
|
-
"@wordpress/components": "25.
|
|
49
|
-
"@wordpress/compose": "6.
|
|
50
|
-
"@wordpress/data": "9.
|
|
51
|
-
"@wordpress/element": "5.
|
|
52
|
-
"@wordpress/i18n": "4.
|
|
53
|
-
"@wordpress/icons": "9.
|
|
46
|
+
"@wordpress/api-fetch": "6.44.0",
|
|
47
|
+
"@wordpress/block-editor": "12.15.0",
|
|
48
|
+
"@wordpress/components": "25.13.0",
|
|
49
|
+
"@wordpress/compose": "6.24.0",
|
|
50
|
+
"@wordpress/data": "9.17.0",
|
|
51
|
+
"@wordpress/element": "5.24.0",
|
|
52
|
+
"@wordpress/i18n": "4.47.0",
|
|
53
|
+
"@wordpress/icons": "9.38.0",
|
|
54
54
|
"classnames": "2.3.2",
|
|
55
55
|
"debug": "4.3.4",
|
|
56
56
|
"react": "18.2.0",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
.jetpack-components-ai-control__container {
|
|
6
6
|
color: var( --jp-gray-80 );
|
|
7
7
|
background-color: var( --jp-white );
|
|
8
|
-
box-shadow:
|
|
8
|
+
box-shadow: 0px 12px 15px 0px rgba(0, 0, 0, 0.12), 0px 3px 9px 0px rgba(0, 0, 0, 0.12), 0px 1px 3px 0px rgba(0, 0, 0, 0.15);
|
|
9
9
|
font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
10
10
|
width: 100%;
|
|
11
11
|
}
|
|
@@ -83,12 +83,12 @@
|
|
|
83
83
|
display: flex;
|
|
84
84
|
align-items: center;
|
|
85
85
|
justify-content: center;
|
|
86
|
-
|
|
86
|
+
|
|
87
87
|
.input-icon {
|
|
88
88
|
// Brand green regardless of theme
|
|
89
89
|
color: var( --jp-green-40 );
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
|
|
92
92
|
.input-spinner {
|
|
93
93
|
margin: 0;
|
|
94
94
|
width: 24px;
|