@khanacademy/perseus-editor 14.1.3 → 14.2.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.
Files changed (48) hide show
  1. package/dist/components/util.d.ts +0 -14
  2. package/dist/es/index.js +1399 -1373
  3. package/dist/es/index.js.map +1 -1
  4. package/dist/index.js +1457 -1427
  5. package/dist/index.js.map +1 -1
  6. package/dist/{components → widgets/interactive-graph-editor/components}/graph-points-count-selector.d.ts +1 -1
  7. package/dist/{components → widgets/interactive-graph-editor/components}/graph-type-selector.d.ts +1 -0
  8. package/dist/{components → widgets/interactive-graph-editor/components}/interactive-graph-description.d.ts +1 -1
  9. package/dist/widgets/interactive-graph-editor/interactive-graph-editor.d.ts +220 -128
  10. package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/locked-figures-section.d.ts +1 -1
  11. package/dist/widgets/interactive-graph-editor/locked-figures/util.d.ts +9 -0
  12. package/dist/widgets/interactive-graph-editor/start-coords/start-coords-angle.d.ts +9 -0
  13. package/dist/widgets/interactive-graph-editor/start-coords/start-coords-circle.d.ts +12 -0
  14. package/dist/{components → widgets/interactive-graph-editor/start-coords}/start-coords-line.d.ts +2 -2
  15. package/dist/{components → widgets/interactive-graph-editor/start-coords}/start-coords-multiline.d.ts +2 -2
  16. package/dist/{components → widgets/interactive-graph-editor/start-coords}/start-coords-point.d.ts +2 -2
  17. package/dist/{components → widgets/interactive-graph-editor/start-coords}/start-coords-quadratic.d.ts +2 -2
  18. package/dist/{components → widgets/interactive-graph-editor/start-coords}/start-coords-settings.d.ts +2 -1
  19. package/dist/widgets/interactive-graph-editor/start-coords/start-coords-sinusoid.d.ts +9 -0
  20. package/dist/widgets/interactive-graph-editor/start-coords/types.d.ts +24 -0
  21. package/dist/widgets/interactive-graph-editor/start-coords/util.d.ts +8 -0
  22. package/package.json +2 -2
  23. package/dist/components/start-coords-angle.d.ts +0 -8
  24. package/dist/components/start-coords-circle.d.ts +0 -11
  25. package/dist/components/start-coords-sinusoid.d.ts +0 -8
  26. /package/dist/{components → widgets/interactive-graph-editor/components}/interactive-graph-correct-answer.d.ts +0 -0
  27. /package/dist/{components → widgets/interactive-graph-editor/components}/interactive-graph-settings.d.ts +0 -0
  28. /package/dist/{components → widgets/interactive-graph-editor/components}/segment-count-selector.d.ts +0 -0
  29. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/color-select.d.ts +0 -0
  30. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/color-swatch.d.ts +0 -0
  31. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/defining-point-settings.d.ts +0 -0
  32. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/ellipse-swatch.d.ts +0 -0
  33. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/labeled-row.d.ts +0 -0
  34. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/labeled-switch.d.ts +0 -0
  35. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/line-stroke-select.d.ts +0 -0
  36. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/line-swatch.d.ts +0 -0
  37. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/locked-ellipse-settings.d.ts +0 -0
  38. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/locked-figure-select.d.ts +0 -0
  39. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/locked-figure-settings-actions.d.ts +0 -0
  40. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/locked-figure-settings.d.ts +0 -0
  41. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/locked-function-examples.d.ts +0 -0
  42. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/locked-function-settings.d.ts +0 -0
  43. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/locked-label-settings.d.ts +0 -0
  44. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/locked-line-settings.d.ts +0 -0
  45. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/locked-point-settings.d.ts +0 -0
  46. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/locked-polygon-settings.d.ts +0 -0
  47. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/locked-vector-settings.d.ts +0 -0
  48. /package/dist/{components/graph-locked-figures → widgets/interactive-graph-editor/locked-figures}/polygon-swatch.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import type { PointValue } from "../util/points";
2
+ import type { PointValue } from "../../../util/points";
3
3
  declare const GraphPointsCountSelector: ({ numPoints, onChange, }: {
4
4
  numPoints?: PointValue | undefined;
5
5
  onChange: (points: PointValue) => void;
@@ -2,6 +2,7 @@ import * as React from "react";
2
2
  type GraphTypeSelectorProps = {
3
3
  graphType: string;
4
4
  onChange: (newGraphType: string) => void;
5
+ showNoneOption: boolean;
5
6
  };
6
7
  declare const GraphTypeSelector: (props: GraphTypeSelectorProps) => React.JSX.Element;
7
8
  export default GraphTypeSelector;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import type { Props as EditorProps } from "../widgets/interactive-graph-editor/interactive-graph-editor";
2
+ import type { Props as EditorProps } from "../interactive-graph-editor";
3
3
  type Props = {
4
4
  ariaLabelValue: string;
5
5
  ariaDescriptionValue: string;