@automattic/jetpack-shared-extension-utils 0.18.11 → 0.19.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 +15 -1
- package/package.json +5 -5
- package/src/components/upgrade-nudge/style.scss +2 -2
- package/src/store/wordpress-com/actions.ts +2 -2
- package/src/store/wordpress-com/index.ts +3 -3
- package/src/store/wordpress-com/reducer.ts +2 -2
- package/src/with-has-warning-is-interactive-class-names/style.scss +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,9 +5,21 @@ 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.19.1] - 2025-04-28
|
|
9
|
+
### Fixed
|
|
10
|
+
- Linting: Fix more Stylelint violations. [#43213]
|
|
11
|
+
|
|
12
|
+
## [0.19.0] - 2025-04-14
|
|
13
|
+
### Changed
|
|
14
|
+
- Adjust relative imports in TypeScript sources to use correct extensions after enabling TypeScript's new `rewriteRelativeImportExtensions` option. [#42990]
|
|
15
|
+
- Update dependencies. [#43001]
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- Linting: Use double colon notation for pseudo-element selectors. [#43019]
|
|
19
|
+
|
|
8
20
|
## [0.18.11] - 2025-04-07
|
|
9
21
|
### Changed
|
|
10
|
-
-
|
|
22
|
+
- Linting: First pass of style coding standards. [#42734]
|
|
11
23
|
|
|
12
24
|
## [0.18.10] - 2025-04-02
|
|
13
25
|
### Changed
|
|
@@ -605,6 +617,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
605
617
|
### Changed
|
|
606
618
|
- Core: prepare utility for release
|
|
607
619
|
|
|
620
|
+
[0.19.1]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.19.0...0.19.1
|
|
621
|
+
[0.19.0]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.18.11...0.19.0
|
|
608
622
|
[0.18.11]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.18.10...0.18.11
|
|
609
623
|
[0.18.10]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.18.9...0.18.10
|
|
610
624
|
[0.18.9]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.18.8...0.18.9
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-shared-extension-utils",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.1",
|
|
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,10 +20,10 @@
|
|
|
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.7.
|
|
24
|
-
"@automattic/jetpack-components": "^0.72.
|
|
25
|
-
"@automattic/jetpack-connection": "^0.39.
|
|
26
|
-
"@automattic/jetpack-script-data": "^0.
|
|
23
|
+
"@automattic/jetpack-base-styles": "^0.7.2",
|
|
24
|
+
"@automattic/jetpack-components": "^0.72.5",
|
|
25
|
+
"@automattic/jetpack-connection": "^0.39.12",
|
|
26
|
+
"@automattic/jetpack-script-data": "^0.4.1",
|
|
27
27
|
"@wordpress/api-fetch": "7.21.0",
|
|
28
28
|
"@wordpress/block-editor": "14.16.0",
|
|
29
29
|
"@wordpress/components": "29.7.0",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
margin-bottom: 0;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.jetpack-upgrade-plan-banner.wp-block[data-align=right] .jetpack-upgrade-plan-banner__wrapper,
|
|
45
|
-
.jetpack-upgrade-plan-banner.wp-block[data-align=left] .jetpack-upgrade-plan-banner__wrapper {
|
|
44
|
+
.jetpack-upgrade-plan-banner.wp-block[data-align="right"] .jetpack-upgrade-plan-banner__wrapper,
|
|
45
|
+
.jetpack-upgrade-plan-banner.wp-block[data-align="left"] .jetpack-upgrade-plan-banner__wrapper {
|
|
46
46
|
max-width: 580px;
|
|
47
47
|
width: 100%;
|
|
48
48
|
}
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
ENDPOINT_AI_ASSISTANT_FEATURE,
|
|
19
19
|
NEW_ASYNC_REQUEST_TIMER_INTERVAL,
|
|
20
20
|
ACTION_SET_TIER_PLANS_ENABLED,
|
|
21
|
-
} from './constants.
|
|
22
|
-
import type { Plan, AiFeatureProps, SiteAIAssistantFeatureEndpointResponseProps } from './types.
|
|
21
|
+
} from './constants.ts';
|
|
22
|
+
import type { Plan, AiFeatureProps, SiteAIAssistantFeatureEndpointResponseProps } from './types.ts';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Map the response from the `sites/$site/ai-assistant-feature`
|
|
@@ -5,12 +5,12 @@ import { createReduxStore, register } from '@wordpress/data';
|
|
|
5
5
|
/**
|
|
6
6
|
* Internal dependencies
|
|
7
7
|
*/
|
|
8
|
-
import actions from './actions.
|
|
9
|
-
import reducer from './reducer.
|
|
8
|
+
import actions from './actions.ts';
|
|
9
|
+
import reducer from './reducer.ts';
|
|
10
10
|
/**
|
|
11
11
|
* Types
|
|
12
12
|
*/
|
|
13
|
-
import type { AiFeatureProps, PlanStateProps } from './types.
|
|
13
|
+
import type { AiFeatureProps, PlanStateProps } from './types.ts';
|
|
14
14
|
|
|
15
15
|
const store = 'wordpress-com/plans';
|
|
16
16
|
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
FREE_PLAN_REQUESTS_LIMIT,
|
|
14
14
|
UNLIMITED_PLAN_REQUESTS_LIMIT,
|
|
15
15
|
ACTION_SET_TIER_PLANS_ENABLED,
|
|
16
|
-
} from './constants.
|
|
17
|
-
import type { PlanStateProps, TierLimitProp } from './types.
|
|
16
|
+
} from './constants.ts';
|
|
17
|
+
import type { PlanStateProps, TierLimitProp } from './types.ts';
|
|
18
18
|
|
|
19
19
|
const INITIAL_STATE: PlanStateProps = {
|
|
20
20
|
plans: [],
|