@khanacademy/perseus-editor 32.3.1 → 33.0.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.
@@ -1,7 +1,6 @@
1
1
  declare const DEFAULT_FEATURE_FLAGS: {
2
2
  "perseus-test-flag-1": boolean;
3
3
  "perseus-test-flag-2": boolean;
4
- "image-widget-upgrade-gif-controls": boolean;
5
4
  "interactive-graph-vector": boolean;
6
5
  "interactive-graph-not-scored": boolean;
7
6
  "input-number-to-numeric-input": boolean;
@@ -13,7 +12,6 @@ declare const DEFAULT_FEATURE_FLAGS: {
13
12
  export declare function getFeatureFlags(overrides?: Partial<typeof DEFAULT_FEATURE_FLAGS>): {
14
13
  "perseus-test-flag-1": boolean;
15
14
  "perseus-test-flag-2": boolean;
16
- "image-widget-upgrade-gif-controls": boolean;
17
15
  "interactive-graph-vector": boolean;
18
16
  "interactive-graph-not-scored": boolean;
19
17
  "input-number-to-numeric-input": boolean;
@@ -18,18 +18,6 @@ export declare const wbFieldStylesWithDescription: {
18
18
  marginBlockEnd: string;
19
19
  };
20
20
  };
21
- /**
22
- * Given a known aspect ratio, and a new side length,
23
- * return the other side length that maintains the aspect ratio.
24
- *
25
- * Ratio math: x/y = x'/y'
26
- * newWidth/newHeight = width/height
27
- * => newWidth = (newHeight * width) / height
28
- * or
29
- * newHeight/newWidth = height/width
30
- * => newHeight = (newWidth * height) / width
31
- */
32
- export declare function getOtherSideLengthWithPreservedAspectRatio(sideLength: number, otherSideLength: number, newSideLength: number): number;
33
21
  /**
34
22
  * Checks if a dimension is invalid. A dimension is valid if it's
35
23
  * a positive, non-infinite number.