@khanacademy/perseus-editor 2.6.3 → 2.6.4

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,14 @@
1
1
  # @khanacademy/perseus-editor
2
2
 
3
+ ## 2.6.4
4
+
5
+ ### Patch Changes
6
+
7
+ - aea86eec: Convert all usages of JSX.LibraryManagedAttributes to WB Core's PropsFor type
8
+ - Updated dependencies [aea86eec]
9
+ - Updated dependencies [9eb50ae1]
10
+ - @khanacademy/perseus@10.0.0
11
+
3
12
  ## 2.6.3
4
13
 
5
14
  ### Patch Changes
@@ -1,4 +1,5 @@
1
1
  import * as React from "react";
2
+ import type { PropsFor } from "@khanacademy/wonder-blocks-core";
2
3
  declare const InlineIcon: ({ path, width, height, style, title, }: {
3
4
  path: string;
4
5
  height: number;
@@ -6,7 +7,7 @@ declare const InlineIcon: ({ path, width, height, style, title, }: {
6
7
  style?: React.CSSProperties | undefined;
7
8
  title?: string | undefined;
8
9
  }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
9
- type InlineIconProps = JSX.LibraryManagedAttributes<typeof InlineIcon, React.ComponentProps<typeof InlineIcon>>;
10
+ type InlineIconProps = PropsFor<typeof InlineIcon>;
10
11
  type SectionControlButtonProps = {
11
12
  icon: InlineIconProps;
12
13
  onClick: () => unknown;