@khanacademy/wonder-blocks-testing 7.1.12 → 7.1.13

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
@@ -1,5 +1,13 @@
1
1
  # @khanacademy/wonder-blocks-testing
2
2
 
3
+ ## 7.1.13
4
+
5
+ ### Patch Changes
6
+
7
+ - b5ba5568: Ensure that flow lib defs use React.ElementConfig<> isntead of JSX.LibraryManagedAttributes<>
8
+ - Updated dependencies [b5ba5568]
9
+ - @khanacademy/wonder-blocks-data@10.1.3
10
+
3
11
  ## 7.1.12
4
12
 
5
13
  ### Patch Changes
@@ -24,10 +24,7 @@ wrapper?: React.ComponentType<TProps>) => mixed} A function to create a CSF comp
24
24
  */
25
25
  declare export var fixtures: <
26
26
  TComponent: React.ComponentType<any>,
27
- TProps: JSX.LibraryManagedAttributes<
28
- TComponent,
29
- React.ComponentProps<TComponent>
30
- >
27
+ TProps: React.ElementConfig<TComponent>
31
28
  >(
32
29
  Component: TComponent
33
30
  ) => FixtureFn<TProps>;
@@ -9,10 +9,7 @@ import * as React from "react";
9
9
  import { InterceptRequests } from "@khanacademy/wonder-blocks-data";
10
10
  import type { TestHarnessAdapter } from "../types";
11
11
  declare type Interceptor = $PropertyType<
12
- JSX.LibraryManagedAttributes<
13
- typeof InterceptRequests,
14
- React.ComponentProps<typeof InterceptRequests>
15
- >,
12
+ React.ElementConfig<typeof InterceptRequests>,
16
13
  "interceptor"
17
14
  >;
18
15
  declare type Config = Interceptor | Array<Interceptor>;
@@ -9,10 +9,7 @@ import * as React from "react";
9
9
  import { MemoryRouter } from "react-router-dom";
10
10
  import type { LocationShape, Location } from "react-router-dom";
11
11
  import type { TestHarnessAdapter } from "../types";
12
- declare type MemoryRouterProps = JSX.LibraryManagedAttributes<
13
- typeof MemoryRouter,
14
- React.ComponentProps<typeof MemoryRouter>
15
- >;
12
+ declare type MemoryRouterProps = React.ElementConfig<typeof MemoryRouter>;
16
13
  /**
17
14
  * Configuration for the withLocation test harness adapter.
18
15
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-testing",
3
- "version": "7.1.12",
3
+ "version": "7.1.13",
4
4
  "design": "v1",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@babel/runtime": "^7.18.6",
17
- "@khanacademy/wonder-blocks-data": "^10.1.2"
17
+ "@khanacademy/wonder-blocks-data": "^10.1.3"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "@khanacademy/wonder-stuff-core": "^1.2.2",
@@ -26,7 +26,7 @@
26
26
  "react-router-dom": "5.3.0"
27
27
  },
28
28
  "devDependencies": {
29
- "wb-dev-build-settings": "^0.7.3"
29
+ "wb-dev-build-settings": "^0.7.4"
30
30
  },
31
31
  "author": "",
32
32
  "license": "MIT"