@automattic/jetpack-components 1.1.10 → 1.1.12

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,17 @@
2
2
 
3
3
  ### This is a list detailing changes for the Jetpack RNA Components package releases.
4
4
 
5
+ ## [1.1.12] - 2025-07-08
6
+ ### Changed
7
+ - Update dependencies.
8
+
9
+ ## [1.1.11] - 2025-07-08
10
+ ### Changed
11
+ - Update package dependencies. [#44217]
12
+
13
+ ### Fixed
14
+ - Fix config to include all the TypeScript files for type checking. [#44177]
15
+
5
16
  ## [1.1.10] - 2025-07-07
6
17
  ### Changed
7
18
  - Internal updates.
@@ -1462,6 +1473,8 @@
1462
1473
  ### Changed
1463
1474
  - Update node version requirement to 14.16.1
1464
1475
 
1476
+ [1.1.12]: https://github.com/Automattic/jetpack-components/compare/1.1.11...1.1.12
1477
+ [1.1.11]: https://github.com/Automattic/jetpack-components/compare/1.1.10...1.1.11
1465
1478
  [1.1.10]: https://github.com/Automattic/jetpack-components/compare/1.1.9...1.1.10
1466
1479
  [1.1.9]: https://github.com/Automattic/jetpack-components/compare/1.1.8...1.1.9
1467
1480
  [1.1.8]: https://github.com/Automattic/jetpack-components/compare/1.1.7...1.1.8
@@ -1,5 +1,5 @@
1
1
  import type { FC, ReactNode } from 'react';
2
- interface RadioControlProps {
2
+ export interface RadioControlProps {
3
3
  /** The current value. */
4
4
  selected: string;
5
5
  /** Custom class name to append to the component. */
@@ -1,5 +1,5 @@
1
1
  import type { JSX } from 'react';
2
- interface StatusProps {
2
+ export interface StatusProps {
3
3
  status?: 'active' | 'error' | 'inactive' | 'action' | 'initializing';
4
4
  label?: string;
5
5
  className?: string;
@@ -1,5 +1,5 @@
1
1
  import type { FC, ReactNode } from 'react';
2
- interface ToggleControlProps {
2
+ export interface ToggleControlProps {
3
3
  /** Whether or not the toggle is currently enabled. */
4
4
  checked?: boolean;
5
5
  /** Custom class name to append to the component. */
@@ -3,7 +3,7 @@ import clsx from 'clsx';
3
3
  import styles from './styles.module.scss';
4
4
  import type { FC, ReactNode } from 'react';
5
5
 
6
- interface RadioControlProps {
6
+ export interface RadioControlProps {
7
7
  /** The current value. */
8
8
  selected: string;
9
9
 
@@ -4,7 +4,7 @@ import Text from '../text/index.tsx';
4
4
  import styles from './style.module.scss';
5
5
  import type { JSX } from 'react';
6
6
 
7
- interface StatusProps {
7
+ export interface StatusProps {
8
8
  status?: 'active' | 'error' | 'inactive' | 'action' | 'initializing';
9
9
  label?: string;
10
10
  className?: string;
@@ -4,7 +4,7 @@ import { useCallback } from 'react';
4
4
  import styles from './styles.module.scss';
5
5
  import type { FC, ReactNode } from 'react';
6
6
 
7
- interface ToggleControlProps {
7
+ export interface ToggleControlProps {
8
8
  /** Whether or not the toggle is currently enabled. */
9
9
  checked?: boolean;
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-components",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "description": "Jetpack Components Package",
5
5
  "author": "Automattic",
6
6
  "license": "GPL-2.0-or-later",
@@ -15,10 +15,10 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@automattic/format-currency": "1.0.1",
18
- "@automattic/jetpack-api": "^1.0.4",
19
- "@automattic/jetpack-boost-score-api": "^1.0.5",
20
- "@automattic/jetpack-script-data": "^0.4.4",
21
- "@automattic/number-formatters": "^1.0.7",
18
+ "@automattic/jetpack-api": "^1.0.5",
19
+ "@automattic/jetpack-boost-score-api": "^1.0.6",
20
+ "@automattic/jetpack-script-data": "^0.5.0",
21
+ "@automattic/number-formatters": "^1.0.8",
22
22
  "@babel/runtime": "^7",
23
23
  "@wordpress/browserslist-config": "6.26.0",
24
24
  "@wordpress/components": "29.12.0",
@@ -41,19 +41,19 @@
41
41
  "@automattic/jetpack-base-styles": "^1.0.3",
42
42
  "@babel/core": "7.27.7",
43
43
  "@babel/preset-react": "7.27.1",
44
- "@jest/globals": "30.0.0",
44
+ "@jest/globals": "30.0.4",
45
45
  "@storybook/addon-actions": "8.6.7",
46
46
  "@storybook/blocks": "8.6.7",
47
47
  "@storybook/react": "8.6.7",
48
48
  "@testing-library/dom": "10.4.0",
49
- "@testing-library/react": "16.2.0",
49
+ "@testing-library/react": "16.3.0",
50
50
  "@testing-library/user-event": "14.6.1",
51
51
  "@types/jest": "30.0.0",
52
52
  "@types/react": "18.3.23",
53
53
  "@types/react-dom": "18.3.7",
54
54
  "@types/react-slider": "1.3.6",
55
- "jest": "30.0.0",
56
- "jest-environment-jsdom": "30.0.0",
55
+ "jest": "30.0.4",
56
+ "jest-environment-jsdom": "30.0.4",
57
57
  "react": "18.3.1",
58
58
  "react-dom": "18.3.1",
59
59
  "require-from-string": "2.0.2",
@@ -88,7 +88,7 @@
88
88
  "scripts": {
89
89
  "build": "pnpm run clean && pnpm run compile-ts",
90
90
  "clean": "rm -rf build/",
91
- "compile-ts": "tsc --pretty",
91
+ "compile-ts": "tsc --pretty --project tsconfig.build.json",
92
92
  "test": "NODE_OPTIONS=--experimental-vm-modules jest",
93
93
  "test-coverage": "pnpm run test --coverage",
94
94
  "typecheck": "tsc --noEmit"
@@ -0,0 +1,4 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "include": [ "./index.ts", "./tools/jp-redirect/index.ts" ]
4
+ }