@pie-element/graphing 5.13.3-next.8 → 5.13.3
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 +8 -0
- package/docs/demo/generate.js +38 -39
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.13.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@5.13.2...@pie-element/graphing@5.13.3) (2024-04-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pie-element/graphing
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [5.13.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/graphing@5.13.1...@pie-element/graphing@5.13.2) (2024-04-08)
|
|
7
15
|
|
|
8
16
|
|
package/docs/demo/generate.js
CHANGED
|
@@ -77,44 +77,44 @@
|
|
|
77
77
|
// toolbarTools: ['line']
|
|
78
78
|
// };
|
|
79
79
|
|
|
80
|
-
const SCmodel =
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
80
|
+
const SCmodel = {
|
|
81
|
+
promptEnabled: true,
|
|
82
|
+
domain: { min: -10, max: 10, step: 1, labelStep: 1, axisLabel: 'x' },
|
|
83
|
+
range: { min: -10, max: 10, step: 1, labelStep: 1, axisLabel: 'y' },
|
|
84
|
+
backgroundMarks: [],
|
|
85
|
+
answers: { correctAnswer: { name: 'Correct Answer', marks: [] } },
|
|
86
|
+
arrows: { left: true, right: true, up: true, down: true },
|
|
87
|
+
defaultGridConfiguration: 0,
|
|
88
|
+
graph: { width: 480, height: 480 },
|
|
89
|
+
includeAxes: true,
|
|
90
|
+
labels: {},
|
|
91
|
+
labelsEnabled: true,
|
|
92
|
+
padding: true,
|
|
93
|
+
prompt: '',
|
|
94
|
+
rationale: '',
|
|
95
|
+
standardGrid: true,
|
|
96
|
+
title: '',
|
|
97
|
+
toolbarTools: [
|
|
98
|
+
'circle',
|
|
99
|
+
'line',
|
|
100
|
+
'label',
|
|
101
|
+
'parabola',
|
|
102
|
+
'point',
|
|
103
|
+
'polygon',
|
|
104
|
+
'ray',
|
|
105
|
+
'segment',
|
|
106
|
+
'sine',
|
|
107
|
+
'vector',
|
|
108
|
+
'absolute',
|
|
109
|
+
'exponential',
|
|
110
110
|
],
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
111
|
+
coordinatesOnHover: false,
|
|
112
|
+
rationaleEnabled: false,
|
|
113
|
+
teacherInstructionsEnabled: false,
|
|
114
|
+
studentInstructionsEnabled: false,
|
|
115
|
+
defaultTool: 'line',
|
|
116
|
+
titleEnabled: true,
|
|
117
|
+
dimensionsEnabled: true,
|
|
118
118
|
};
|
|
119
119
|
|
|
120
120
|
const oldModel = {
|
|
@@ -191,11 +191,10 @@ const oldModel = {
|
|
|
191
191
|
rationale: 'Rationale goes here',
|
|
192
192
|
title: 'Graph title',
|
|
193
193
|
rubricEnabled: false,
|
|
194
|
-
language: 'es_ES'
|
|
195
194
|
};
|
|
196
195
|
|
|
197
196
|
exports.model = (id, element) => ({
|
|
198
197
|
id,
|
|
199
198
|
element,
|
|
200
|
-
...
|
|
199
|
+
...oldModel,
|
|
201
200
|
});
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "5.13.3
|
|
7
|
+
"version": "5.13.3",
|
|
8
8
|
"description": "",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"postpublish": "../../scripts/postpublish"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"author": "",
|
|
22
22
|
"license": "ISC",
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "e829aaf93a8743e1f52f024a706584691b1d9a19",
|
|
24
24
|
"main": "lib/index.js",
|
|
25
25
|
"module": "src/index.js"
|
|
26
26
|
}
|