math-exercises 3.0.35 → 3.0.36

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.
@@ -63,7 +63,7 @@ export type GeogebraOptions = {
63
63
  fontSize?: number;
64
64
  maxHeight?: number;
65
65
  maxWidth?: number;
66
- showFullScreenButton?: boolean;
66
+ hideFullScreenButton?: boolean;
67
67
  };
68
68
  export type KeyboardOptions = {
69
69
  parenthesisShouldNotProduceLeftRight?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"varTableExtremaReading.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/variations/varTableExtremaReading.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAkBT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAqJF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAkBxD,CAAC"}
1
+ {"version":3,"file":"varTableExtremaReading.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/functions/variations/varTableExtremaReading.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAkBT,MAAM,6BAA6B,CAAC;AAUrC,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAsJF,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,WAAW,CAkBxD,CAAC"}
@@ -59,9 +59,10 @@ const getGGBOptions = (identifiers) => {
59
59
  hideAxes: true,
60
60
  hideGrid: true,
61
61
  forbidShiftDragZoom: true,
62
- fontSize: 18,
63
- maxHeight: 120,
64
- maxWidth: 400,
62
+ fontSize: 13,
63
+ maxHeight: 100,
64
+ maxWidth: 320,
65
+ hideFullScreenButton: true,
65
66
  });
66
67
  return ggb.getOptions({
67
68
  coords: [-10, 10, -10, 10],
@@ -30,7 +30,7 @@ export declare class GeogebraConstructor {
30
30
  fontSize?: number;
31
31
  maxHeight?: number;
32
32
  maxWidth?: number;
33
- showFullScreenButton?: boolean;
33
+ hideFullScreenButton?: boolean;
34
34
  constructor(options: Omit<GeogebraOptions, "coords">);
35
35
  getCoordsForPoints(points: Point[]): number[];
36
36
  getAdaptedCoords({ xMin, xMax, yMin, yMax, zMin, zMax, forceShowAxes, }: GetAdaptedCoords): number[];
@@ -17,7 +17,7 @@ export class GeogebraConstructor {
17
17
  fontSize;
18
18
  maxHeight;
19
19
  maxWidth;
20
- showFullScreenButton;
20
+ hideFullScreenButton;
21
21
  constructor(options) {
22
22
  this.customToolBar = options?.customToolBar ?? toolBarConstructor({});
23
23
  this.forbidShiftDragZoom = options?.forbidShiftDragZoom ?? false;
@@ -35,7 +35,7 @@ export class GeogebraConstructor {
35
35
  this.viewDirectionVector = options?.viewDirectionVector;
36
36
  this.fontSize = options?.fontSize;
37
37
  this.maxHeight = options?.maxHeight;
38
- this.showFullScreenButton = options?.showFullScreenButton;
38
+ this.hideFullScreenButton = options?.hideFullScreenButton;
39
39
  this.maxWidth = options?.maxWidth;
40
40
  }
41
41
  getCoordsForPoints(points) {
@@ -113,7 +113,7 @@ export class GeogebraConstructor {
113
113
  viewDirectionVector: this.viewDirectionVector,
114
114
  fontSize: this.fontSize,
115
115
  maxHeight: this.maxHeight,
116
- showFullScreenButton: this.showFullScreenButton,
116
+ hideFullScreenButton: this.hideFullScreenButton,
117
117
  maxWidth: this.maxWidth,
118
118
  };
119
119
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "math-exercises",
3
3
  "type": "module",
4
- "version": "3.0.35",
4
+ "version": "3.0.36",
5
5
  "description": "Math exercises generator for middle school and high school",
6
6
  "main": "lib/index.js",
7
7
  "files": [