@automattic/jetpack-components 0.49.1 → 0.50.0

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
@@ -2,6 +2,14 @@
2
2
 
3
3
  ### This is a list detailing changes for the Jetpack RNA Components package releases.
4
4
 
5
+ ## [0.50.0] - 2024-03-07
6
+ ### Added
7
+ - Fix typescript errors [#35904]
8
+
9
+ ## [0.49.2] - 2024-03-04
10
+ ### Changed
11
+ - Updated package dependencies.
12
+
5
13
  ## [0.49.1] - 2024-03-01
6
14
  ### Changed
7
15
  - Update ProgressBar styles. [#35968]
@@ -963,6 +971,8 @@
963
971
  ### Changed
964
972
  - Update node version requirement to 14.16.1
965
973
 
974
+ [0.50.0]: https://github.com/Automattic/jetpack-components/compare/0.49.2...0.50.0
975
+ [0.49.2]: https://github.com/Automattic/jetpack-components/compare/0.49.1...0.49.2
966
976
  [0.49.1]: https://github.com/Automattic/jetpack-components/compare/0.49.0...0.49.1
967
977
  [0.49.0]: https://github.com/Automattic/jetpack-components/compare/0.48.4...0.49.0
968
978
  [0.48.4]: https://github.com/Automattic/jetpack-components/compare/0.48.3...0.48.4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-components",
3
- "version": "0.49.1",
3
+ "version": "0.50.0",
4
4
  "description": "Jetpack Components Package",
5
5
  "author": "Automattic",
6
6
  "license": "GPL-2.0-or-later",
@@ -15,16 +15,16 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@automattic/format-currency": "1.0.1",
18
- "@automattic/jetpack-boost-score-api": "^0.1.24",
18
+ "@automattic/jetpack-boost-score-api": "^0.1.25",
19
19
  "@babel/runtime": "^7",
20
- "@wordpress/browserslist-config": "5.34.0",
21
- "@wordpress/components": "26.0.0",
22
- "@wordpress/compose": "6.28.0",
23
- "@wordpress/data": "9.21.0",
24
- "@wordpress/date": "4.51.0",
25
- "@wordpress/element": "5.28.0",
26
- "@wordpress/i18n": "4.51.0",
27
- "@wordpress/icons": "9.42.0",
20
+ "@wordpress/browserslist-config": "5.35.0",
21
+ "@wordpress/components": "27.0.0",
22
+ "@wordpress/compose": "6.29.0",
23
+ "@wordpress/data": "9.22.0",
24
+ "@wordpress/date": "4.52.0",
25
+ "@wordpress/element": "5.29.0",
26
+ "@wordpress/i18n": "4.52.0",
27
+ "@wordpress/icons": "9.43.0",
28
28
  "classnames": "2.3.2",
29
29
  "prop-types": "^15.7.2",
30
30
  "qrcode.react": "3.1.0",
@@ -34,22 +34,22 @@
34
34
  "uplot-react": "1.1.4"
35
35
  },
36
36
  "devDependencies": {
37
- "@automattic/jetpack-base-styles": "^0.6.17",
38
- "@babel/core": "7.23.5",
37
+ "@automattic/jetpack-base-styles": "^0.6.18",
38
+ "@babel/core": "7.24.0",
39
39
  "@babel/preset-react": "7.23.3",
40
40
  "@jest/globals": "29.4.3",
41
41
  "@storybook/addon-actions": "7.6.17",
42
42
  "@storybook/blocks": "7.6.17",
43
43
  "@storybook/react": "7.6.17",
44
44
  "@testing-library/dom": "9.3.4",
45
- "@testing-library/react": "14.2.0",
45
+ "@testing-library/react": "14.2.1",
46
46
  "@testing-library/user-event": "14.5.2",
47
47
  "@types/jest": "29.5.12",
48
- "@types/qrcode.react": "1.0.4",
49
- "@types/react": "18.2.33",
50
- "@types/react-dom": "18.2.14",
51
- "@types/react-slider": "1.3.3",
52
- "@types/react-test-renderer": "18.0.5",
48
+ "@types/qrcode.react": "1.0.5",
49
+ "@types/react": "18.2.61",
50
+ "@types/react-dom": "18.2.19",
51
+ "@types/react-slider": "1.3.6",
52
+ "@types/react-test-renderer": "18.0.7",
53
53
  "@types/testing-library__jest-dom": "5.14.9",
54
54
  "jest": "29.7.0",
55
55
  "jest-environment-jsdom": "29.7.0",
@@ -1,4 +1,3 @@
1
- import './types.ts';
2
1
  /**
3
2
  * Returns the site admin URL.
4
3
  *
@@ -38,11 +38,6 @@ export type QueryVars = {
38
38
  };
39
39
 
40
40
  declare global {
41
- interface Window {
42
- JP_CONNECTION_INITIAL_STATE: {
43
- calypsoEnv?: string;
44
- };
45
- }
46
41
  const jetpack_redirects: {
47
42
  currentSiteRawUrl?: string;
48
43
  currentBlogID?: string;
@@ -1,14 +0,0 @@
1
- declare global {
2
- interface Window {
3
- Initial_State?: {
4
- adminUrl?: string;
5
- };
6
- Jetpack_Editor_Initial_State?: {
7
- adminUrl?: string;
8
- };
9
- myJetpackInitialState?: {
10
- adminUrl?: string;
11
- };
12
- }
13
- }
14
- export {};