@pie-element/rubric 2.9.1-next.9 → 2.10.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,24 @@
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
+ # [2.10.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric@2.9.0...@pie-element/rubric@2.10.0) (2023-06-13)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update libs PD-2722, PD-2827, PD-2832 ([834ecf9](https://github.com/pie-framework/pie-elements/commit/834ecf92cc7204c851c68f0945ad5d52e453c9d0))
12
+ * update pie-libs ([649fb8f](https://github.com/pie-framework/pie-elements/commit/649fb8f535172d76b3ffc676ec53b2726432808c))
13
+ * update pie-libs PD-2150, PD-2795 ([ff6f64a](https://github.com/pie-framework/pie-elements/commit/ff6f64afa6ccaa8a060c986b1637c680e68c62b6))
14
+
15
+
16
+ ### Features
17
+
18
+ * add mathMlOptions PD-2150 ([0c6984c](https://github.com/pie-framework/pie-elements/commit/0c6984cf042141eac36badfbab1c46d8d42f71ee))
19
+
20
+
21
+
22
+
23
+
6
24
  # [2.9.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric@2.8.3...@pie-element/rubric@2.9.0) (2023-05-23)
7
25
 
8
26
 
@@ -3,6 +3,24 @@
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
+ # [2.8.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-configure@2.7.0...@pie-element/rubric-configure@2.8.0) (2023-06-13)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update libs PD-2722, PD-2827, PD-2832 ([834ecf9](https://github.com/pie-framework/pie-elements/commit/834ecf92cc7204c851c68f0945ad5d52e453c9d0))
12
+ * update pie-libs ([649fb8f](https://github.com/pie-framework/pie-elements/commit/649fb8f535172d76b3ffc676ec53b2726432808c))
13
+ * update pie-libs PD-2150, PD-2795 ([ff6f64a](https://github.com/pie-framework/pie-elements/commit/ff6f64afa6ccaa8a060c986b1637c680e68c62b6))
14
+
15
+
16
+ ### Features
17
+
18
+ * add mathMlOptions PD-2150 ([0c6984c](https://github.com/pie-framework/pie-elements/commit/0c6984cf042141eac36badfbab1c46d8d42f71ee))
19
+
20
+
21
+
22
+
23
+
6
24
  # [2.7.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/rubric-configure@2.6.3...@pie-element/rubric-configure@2.7.0) (2023-05-23)
7
25
 
8
26
 
@@ -22,8 +22,12 @@ var _default = {
22
22
  settings: true,
23
23
  label: 'Show max points dropdown'
24
24
  },
25
- settingsPanelDisabled: false // width: '500px'
26
-
25
+ settingsPanelDisabled: false,
26
+ // width: '500px'
27
+ mathMlOptions: {
28
+ mmlOutput: false,
29
+ mmlEditing: false
30
+ }
27
31
  }
28
32
  };
29
33
  exports["default"] = _default;
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/defaults.js"],"names":["model","points","sampleAnswers","maxPoints","excludeZero","excludeZeroEnabled","maxPointsEnabled","configuration","showExcludeZero","settings","label","showMaxPoint","settingsPanelDisabled"],"mappings":";;;;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE,CAAC,EAAD,EAAK,EAAL,EAAS,EAAT,EAAa,EAAb,CADH;AAELC,IAAAA,aAAa,EAAE,CAAC,IAAD,EAAO,IAAP,EAAa,IAAb,EAAmB,IAAnB,CAFV;AAGLC,IAAAA,SAAS,EAAE,CAHN;AAILC,IAAAA,WAAW,EAAE,KAJR;AAKLC,IAAAA,kBAAkB,EAAE,IALf;AAMLC,IAAAA,gBAAgB,EAAE;AANb,GADM;AASbC,EAAAA,aAAa,EAAE;AACbC,IAAAA,eAAe,EAAE;AACfC,MAAAA,QAAQ,EAAE,IADK;AAEfC,MAAAA,KAAK,EAAE;AAFQ,KADJ;AAKbC,IAAAA,YAAY,EAAE;AACZF,MAAAA,QAAQ,EAAE,IADE;AAEZC,MAAAA,KAAK,EAAE;AAFK,KALD;AASbE,IAAAA,qBAAqB,EAAE,KATV,CAUb;;AAVa;AATF,C","sourcesContent":["export default {\n model: {\n points: ['', '', '', ''],\n sampleAnswers: [null, null, null, null],\n maxPoints: 4,\n excludeZero: false,\n excludeZeroEnabled: true,\n maxPointsEnabled: true,\n },\n configuration: {\n showExcludeZero: {\n settings: true,\n label: 'Ability to exclude zero',\n },\n showMaxPoint: {\n settings: true,\n label: 'Show max points dropdown',\n },\n settingsPanelDisabled: false,\n // width: '500px'\n },\n};\n"],"file":"defaults.js"}
1
+ {"version":3,"sources":["../src/defaults.js"],"names":["model","points","sampleAnswers","maxPoints","excludeZero","excludeZeroEnabled","maxPointsEnabled","configuration","showExcludeZero","settings","label","showMaxPoint","settingsPanelDisabled","mathMlOptions","mmlOutput","mmlEditing"],"mappings":";;;;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE,CAAC,EAAD,EAAK,EAAL,EAAS,EAAT,EAAa,EAAb,CADH;AAELC,IAAAA,aAAa,EAAE,CAAC,IAAD,EAAO,IAAP,EAAa,IAAb,EAAmB,IAAnB,CAFV;AAGLC,IAAAA,SAAS,EAAE,CAHN;AAILC,IAAAA,WAAW,EAAE,KAJR;AAKLC,IAAAA,kBAAkB,EAAE,IALf;AAMLC,IAAAA,gBAAgB,EAAE;AANb,GADM;AASbC,EAAAA,aAAa,EAAE;AACbC,IAAAA,eAAe,EAAE;AACfC,MAAAA,QAAQ,EAAE,IADK;AAEfC,MAAAA,KAAK,EAAE;AAFQ,KADJ;AAKbC,IAAAA,YAAY,EAAE;AACZF,MAAAA,QAAQ,EAAE,IADE;AAEZC,MAAAA,KAAK,EAAE;AAFK,KALD;AASbE,IAAAA,qBAAqB,EAAE,KATV;AAUb;AACAC,IAAAA,aAAa,EAAE;AACbC,MAAAA,SAAS,EAAE,KADE;AAEbC,MAAAA,UAAU,EAAE;AAFC;AAXF;AATF,C","sourcesContent":["export default {\n model: {\n points: ['', '', '', ''],\n sampleAnswers: [null, null, null, null],\n maxPoints: 4,\n excludeZero: false,\n excludeZeroEnabled: true,\n maxPointsEnabled: true,\n },\n configuration: {\n showExcludeZero: {\n settings: true,\n label: 'Ability to exclude zero',\n },\n showMaxPoint: {\n settings: true,\n label: 'Show max points dropdown',\n },\n settingsPanelDisabled: false,\n // width: '500px'\n mathMlOptions: {\n mmlOutput: false,\n mmlEditing: false,\n }\n },\n};\n"],"file":"defaults.js"}
@@ -68,6 +68,8 @@ var Main = /*#__PURE__*/function (_React$Component) {
68
68
  showExcludeZero = _ref2$showExcludeZero === void 0 ? {} : _ref2$showExcludeZero,
69
69
  _ref2$showMaxPoint = _ref2.showMaxPoint,
70
70
  showMaxPoint = _ref2$showMaxPoint === void 0 ? {} : _ref2$showMaxPoint,
71
+ _ref2$mathMlOptions = _ref2.mathMlOptions,
72
+ mathMlOptions = _ref2$mathMlOptions === void 0 ? {} : _ref2$mathMlOptions,
71
73
  width = _ref2.width;
72
74
 
73
75
  var panelProperties = {
@@ -92,7 +94,8 @@ var Main = /*#__PURE__*/function (_React$Component) {
92
94
  }
93
95
  }, /*#__PURE__*/_react["default"].createElement(_rubric.Authoring, {
94
96
  value: model,
95
- onChange: onModelChanged
97
+ onChange: onModelChanged,
98
+ mathMlOptions: mathMlOptions
96
99
  })));
97
100
  }
98
101
  }]);
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/main.jsx"],"names":["Panel","settings","toggle","styles","theme","design","fontFamily","fontSize","typography","Main","props","model","configuration","onConfigurationChanged","onModelChanged","contentDimensions","settingsPanelDisabled","showExcludeZero","showMaxPoint","width","panelProperties","excludeZeroEnabled","label","maxPointsEnabled","Properties","maxWidth","React","Component"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;AAEA,IAAQA,KAAR,GAA0BC,kBAA1B,CAAQD,KAAR;AAAA,IAAeE,MAAf,GAA0BD,kBAA1B,CAAeC,MAAf;;AAEA,IAAMC,MAAM,GAAG,SAATA,MAAS,CAACC,KAAD;AAAA,SAAY;AACzBC,IAAAA,MAAM,EAAE;AACNC,MAAAA,UAAU,EAAE,cADN;AAENC,MAAAA,QAAQ,EAAEH,KAAK,CAACI,UAAN,CAAiBD;AAFrB;AADiB,GAAZ;AAAA,CAAf;;IAOME,I;;;;;;;;;;;;WACJ,kBAAS;AACP,iBAAyE,KAAKC,KAAL,IAAc,EAAvF;AAAA,UAAQC,KAAR,QAAQA,KAAR;AAAA,UAAeC,aAAf,QAAeA,aAAf;AAAA,UAA8BC,sBAA9B,QAA8BA,sBAA9B;AAAA,UAAsDC,cAAtD,QAAsDA,cAAtD;;AACA,kBAMIF,aAAa,IAAI,EANrB;AAAA,wCACEG,iBADF;AAAA,UACEA,iBADF,sCACsB,EADtB;AAAA,UAEEC,qBAFF,SAEEA,qBAFF;AAAA,wCAGEC,eAHF;AAAA,UAGEA,eAHF,sCAGoB,EAHpB;AAAA,qCAIEC,YAJF;AAAA,UAIEA,YAJF,mCAIiB,EAJjB;AAAA,UAKEC,KALF,SAKEA,KALF;;AAQA,UAAMC,eAAe,GAAG;AACtBC,QAAAA,kBAAkB,EAAEJ,eAAe,CAAChB,QAAhB,IAA4BC,MAAM,CAACe,eAAe,CAACK,KAAjB,CADhC;AAEtBC,QAAAA,gBAAgB,EAAEL,YAAY,CAACjB,QAAb,IAAyBC,MAAM,CAACgB,YAAY,CAACI,KAAd;AAF3B,OAAxB;AAKA,0BACE,gCAAC,gBAAD,CAAQ,YAAR;AACE,QAAA,UAAU,EAAEP,iBADd;AAEE,QAAA,YAAY,EAAEC,qBAFhB;AAGE,QAAA,QAAQ,eACN,gCAAC,KAAD;AACE,UAAA,KAAK,EAAEL,KADT;AAEE,UAAA,aAAa,EAAEG,cAFjB;AAGE,UAAA,aAAa,EAAEF,aAHjB;AAIE,UAAA,qBAAqB,EAAEC,sBAJzB;AAKE,UAAA,MAAM,EAAE;AACNW,YAAAA,UAAU,EAAEJ;AADN;AALV;AAJJ,sBAeE;AAAK,QAAA,KAAK,EAAE;AAAEK,UAAAA,QAAQ,EAAEN;AAAZ;AAAZ,sBACE,gCAAC,iBAAD;AAAW,QAAA,KAAK,EAAER,KAAlB;AAAyB,QAAA,QAAQ,EAAEG;AAAnC,QADF,CAfF,CADF;AAqBD;;;EArCgBY,kBAAMC,S;;eAwCV,wBAAWxB,MAAX,EAAmBM,IAAnB,C","sourcesContent":["import React from 'react';\nimport { Authoring } from '@pie-lib/rubric';\nimport { withStyles } from '@material-ui/core/styles';\nimport { layout, settings } from '@pie-lib/config-ui';\n\nconst { Panel, toggle } = settings;\n\nconst styles = (theme) => ({\n design: {\n fontFamily: 'Cerebri Sans',\n fontSize: theme.typography.fontSize,\n },\n});\n\nclass Main extends React.Component {\n render() {\n const { model, configuration, onConfigurationChanged, onModelChanged } = this.props || {};\n const {\n contentDimensions = {},\n settingsPanelDisabled,\n showExcludeZero = {},\n showMaxPoint = {},\n width,\n } = configuration || {};\n\n const panelProperties = {\n excludeZeroEnabled: showExcludeZero.settings && toggle(showExcludeZero.label),\n maxPointsEnabled: showMaxPoint.settings && toggle(showMaxPoint.label),\n };\n\n return (\n <layout.ConfigLayout\n dimensions={contentDimensions}\n hideSettings={settingsPanelDisabled}\n settings={\n <Panel\n model={model}\n onChangeModel={onModelChanged}\n configuration={configuration}\n onChangeConfiguration={onConfigurationChanged}\n groups={{\n Properties: panelProperties,\n }}\n />\n }\n >\n <div style={{ maxWidth: width }}>\n <Authoring value={model} onChange={onModelChanged} />\n </div>\n </layout.ConfigLayout>\n );\n }\n}\n\nexport default withStyles(styles)(Main);\n"],"file":"main.js"}
1
+ {"version":3,"sources":["../src/main.jsx"],"names":["Panel","settings","toggle","styles","theme","design","fontFamily","fontSize","typography","Main","props","model","configuration","onConfigurationChanged","onModelChanged","contentDimensions","settingsPanelDisabled","showExcludeZero","showMaxPoint","mathMlOptions","width","panelProperties","excludeZeroEnabled","label","maxPointsEnabled","Properties","maxWidth","React","Component"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;;;;;AAEA,IAAQA,KAAR,GAA0BC,kBAA1B,CAAQD,KAAR;AAAA,IAAeE,MAAf,GAA0BD,kBAA1B,CAAeC,MAAf;;AAEA,IAAMC,MAAM,GAAG,SAATA,MAAS,CAACC,KAAD;AAAA,SAAY;AACzBC,IAAAA,MAAM,EAAE;AACNC,MAAAA,UAAU,EAAE,cADN;AAENC,MAAAA,QAAQ,EAAEH,KAAK,CAACI,UAAN,CAAiBD;AAFrB;AADiB,GAAZ;AAAA,CAAf;;IAOME,I;;;;;;;;;;;;WACJ,kBAAS;AACP,iBAAyE,KAAKC,KAAL,IAAc,EAAvF;AAAA,UAAQC,KAAR,QAAQA,KAAR;AAAA,UAAeC,aAAf,QAAeA,aAAf;AAAA,UAA8BC,sBAA9B,QAA8BA,sBAA9B;AAAA,UAAsDC,cAAtD,QAAsDA,cAAtD;;AACA,kBAOIF,aAAa,IAAI,EAPrB;AAAA,wCACEG,iBADF;AAAA,UACEA,iBADF,sCACsB,EADtB;AAAA,UAEEC,qBAFF,SAEEA,qBAFF;AAAA,wCAGEC,eAHF;AAAA,UAGEA,eAHF,sCAGoB,EAHpB;AAAA,qCAIEC,YAJF;AAAA,UAIEA,YAJF,mCAIiB,EAJjB;AAAA,sCAKEC,aALF;AAAA,UAKEA,aALF,oCAKkB,EALlB;AAAA,UAMEC,KANF,SAMEA,KANF;;AASA,UAAMC,eAAe,GAAG;AACtBC,QAAAA,kBAAkB,EAAEL,eAAe,CAAChB,QAAhB,IAA4BC,MAAM,CAACe,eAAe,CAACM,KAAjB,CADhC;AAEtBC,QAAAA,gBAAgB,EAAEN,YAAY,CAACjB,QAAb,IAAyBC,MAAM,CAACgB,YAAY,CAACK,KAAd;AAF3B,OAAxB;AAKA,0BACE,gCAAC,gBAAD,CAAQ,YAAR;AACE,QAAA,UAAU,EAAER,iBADd;AAEE,QAAA,YAAY,EAAEC,qBAFhB;AAGE,QAAA,QAAQ,eACN,gCAAC,KAAD;AACE,UAAA,KAAK,EAAEL,KADT;AAEE,UAAA,aAAa,EAAEG,cAFjB;AAGE,UAAA,aAAa,EAAEF,aAHjB;AAIE,UAAA,qBAAqB,EAAEC,sBAJzB;AAKE,UAAA,MAAM,EAAE;AACNY,YAAAA,UAAU,EAAEJ;AADN;AALV;AAJJ,sBAeE;AAAK,QAAA,KAAK,EAAE;AAAEK,UAAAA,QAAQ,EAAEN;AAAZ;AAAZ,sBACE,gCAAC,iBAAD;AAAW,QAAA,KAAK,EAAET,KAAlB;AAAyB,QAAA,QAAQ,EAAEG,cAAnC;AAAmD,QAAA,aAAa,EAAEK;AAAlE,QADF,CAfF,CADF;AAqBD;;;EAtCgBQ,kBAAMC,S;;eAyCV,wBAAWzB,MAAX,EAAmBM,IAAnB,C","sourcesContent":["import React from 'react';\nimport { Authoring } from '@pie-lib/rubric';\nimport { withStyles } from '@material-ui/core/styles';\nimport { layout, settings } from '@pie-lib/config-ui';\n\nconst { Panel, toggle } = settings;\n\nconst styles = (theme) => ({\n design: {\n fontFamily: 'Cerebri Sans',\n fontSize: theme.typography.fontSize,\n },\n});\n\nclass Main extends React.Component {\n render() {\n const { model, configuration, onConfigurationChanged, onModelChanged } = this.props || {};\n const {\n contentDimensions = {},\n settingsPanelDisabled,\n showExcludeZero = {},\n showMaxPoint = {},\n mathMlOptions = {},\n width,\n } = configuration || {};\n\n const panelProperties = {\n excludeZeroEnabled: showExcludeZero.settings && toggle(showExcludeZero.label),\n maxPointsEnabled: showMaxPoint.settings && toggle(showMaxPoint.label),\n };\n\n return (\n <layout.ConfigLayout\n dimensions={contentDimensions}\n hideSettings={settingsPanelDisabled}\n settings={\n <Panel\n model={model}\n onChangeModel={onModelChanged}\n configuration={configuration}\n onChangeConfiguration={onConfigurationChanged}\n groups={{\n Properties: panelProperties,\n }}\n />\n }\n >\n <div style={{ maxWidth: width }}>\n <Authoring value={model} onChange={onModelChanged} mathMlOptions={mathMlOptions} />\n </div>\n </layout.ConfigLayout>\n );\n }\n}\n\nexport default withStyles(styles)(Main);\n"],"file":"main.js"}
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@pie-element/rubric-configure",
3
3
  "private": true,
4
- "version": "2.7.0",
4
+ "version": "2.8.0",
5
5
  "description": "Rubric authoring view",
6
6
  "main": "lib/index.js",
7
7
  "author": "Pie Framework Authors",
8
8
  "dependencies": {
9
9
  "@material-ui/core": "^3.9.2",
10
10
  "@pie-framework/pie-configure-events": "^1.3.0",
11
- "@pie-lib/config-ui": "^11.6.10",
12
- "@pie-lib/rubric": "^0.7.29",
11
+ "@pie-lib/config-ui": "^11.8.1",
12
+ "@pie-lib/rubric": "^0.8.1",
13
13
  "debug": "^4.1.1",
14
14
  "react": "^16.8.6",
15
15
  "react-dom": "^16.8.6"
@@ -18,5 +18,9 @@ export default {
18
18
  },
19
19
  settingsPanelDisabled: false,
20
20
  // width: '500px'
21
+ mathMlOptions: {
22
+ mmlOutput: false,
23
+ mmlEditing: false,
24
+ }
21
25
  },
22
26
  };
@@ -20,6 +20,7 @@ class Main extends React.Component {
20
20
  settingsPanelDisabled,
21
21
  showExcludeZero = {},
22
22
  showMaxPoint = {},
23
+ mathMlOptions = {},
23
24
  width,
24
25
  } = configuration || {};
25
26
 
@@ -45,7 +46,7 @@ class Main extends React.Component {
45
46
  }
46
47
  >
47
48
  <div style={{ maxWidth: width }}>
48
- <Authoring value={model} onChange={onModelChanged} />
49
+ <Authoring value={model} onChange={onModelChanged} mathMlOptions={mathMlOptions} />
49
50
  </div>
50
51
  </layout.ConfigLayout>
51
52
  );
@@ -43,6 +43,22 @@
43
43
  "type": "string",
44
44
  "title": "width"
45
45
  },
46
+ "mathMlOptions": {
47
+ "title": "ConfigureMathMLProp",
48
+ "type": "object",
49
+ "properties": {
50
+ "mmlOutput": {
51
+ "description": "Indicates if model should have mathML output instead of latex",
52
+ "type": "number",
53
+ "title": "mmlOutput"
54
+ },
55
+ "mmlEditing": {
56
+ "description": "Indicates if mathML that's already in model should be editable",
57
+ "type": "number",
58
+ "title": "mmlEditing"
59
+ }
60
+ }
61
+ },
46
62
  "showPrompt": {
47
63
  "description": "Determines whether prompt field will be displayed or not",
48
64
  "default": true,
@@ -122,6 +138,22 @@
122
138
  "title": "label"
123
139
  }
124
140
  }
141
+ },
142
+ "ConfigureMathMLProp": {
143
+ "title": "ConfigureMathMLProp",
144
+ "type": "object",
145
+ "properties": {
146
+ "mmlOutput": {
147
+ "description": "Indicates if model should have mathML output instead of latex",
148
+ "type": "number",
149
+ "title": "mmlOutput"
150
+ },
151
+ "mmlEditing": {
152
+ "description": "Indicates if mathML that's already in model should be editable",
153
+ "type": "number",
154
+ "title": "mmlEditing"
155
+ }
156
+ }
125
157
  }
126
158
  },
127
159
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -32,6 +32,18 @@ Indicates the label for the item that has to be displayed in the Settings Panel
32
32
 
33
33
  How large can the rubric be
34
34
 
35
+ # `mathMlOptions` (object)
36
+
37
+ Properties of the `mathMlOptions` object:
38
+
39
+ ## `mmlOutput` (number)
40
+
41
+ Indicates if model should have mathML output instead of latex
42
+
43
+ ## `mmlEditing` (number)
44
+
45
+ Indicates if mathML that's already in model should be editable
46
+
35
47
  # `showPrompt` (boolean)
36
48
 
37
49
  Determines whether prompt field will be displayed or not
@@ -100,4 +112,16 @@ Indicates if the item has to be displayed in the Settings Panel
100
112
 
101
113
  ### `label` (string)
102
114
 
103
- Indicates the label for the item that has to be displayed in the Settings Panel
115
+ Indicates the label for the item that has to be displayed in the Settings Panel
116
+
117
+ ## `ConfigureMathMLProp` (object)
118
+
119
+ Properties of the `ConfigureMathMLProp` object:
120
+
121
+ ### `mmlOutput` (number)
122
+
123
+ Indicates if model should have mathML output instead of latex
124
+
125
+ ### `mmlEditing` (number)
126
+
127
+ Indicates if mathML that's already in model should be editable
@@ -74,6 +74,22 @@
74
74
  "title": "label"
75
75
  }
76
76
  }
77
+ },
78
+ "ConfigureMathMLProp": {
79
+ "title": "ConfigureMathMLProp",
80
+ "type": "object",
81
+ "properties": {
82
+ "mmlOutput": {
83
+ "description": "Indicates if model should have mathML output instead of latex",
84
+ "type": "number",
85
+ "title": "mmlOutput"
86
+ },
87
+ "mmlEditing": {
88
+ "description": "Indicates if mathML that's already in model should be editable",
89
+ "type": "number",
90
+ "title": "mmlEditing"
91
+ }
92
+ }
77
93
  }
78
94
  },
79
95
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -50,4 +50,16 @@ Indicates if the item has to be displayed in the Settings Panel
50
50
 
51
51
  ### `label` (string)
52
52
 
53
- Indicates the label for the item that has to be displayed in the Settings Panel
53
+ Indicates the label for the item that has to be displayed in the Settings Panel
54
+
55
+ ## `ConfigureMathMLProp` (object)
56
+
57
+ Properties of the `ConfigureMathMLProp` object:
58
+
59
+ ### `mmlOutput` (number)
60
+
61
+ Indicates if model should have mathML output instead of latex
62
+
63
+ ### `mmlEditing` (number)
64
+
65
+ Indicates if mathML that's already in model should be editable
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-element/rubric",
3
- "version": "2.9.1-next.9+0fa0d8045",
3
+ "version": "2.10.0",
4
4
  "main": "lib/index.js",
5
5
  "module": "src/index.js",
6
6
  "description": "Rubric Scoring Interaction",
@@ -10,12 +10,12 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@material-ui/core": "^3.9.2",
13
- "@pie-lib/render-ui": "^4.14.24",
13
+ "@pie-lib/render-ui": "^4.14.26",
14
14
  "prop-types": "^15.7.2"
15
15
  },
16
16
  "author": "pie framework developers",
17
17
  "license": "ISC",
18
- "gitHead": "0fa0d8045bc4a52f43c9cf75a296ec81016869e1",
18
+ "gitHead": "731f663c04dc7c43e67fe03c2fb18404fa387e04",
19
19
  "scripts": {
20
20
  "postpublish": "../../scripts/postpublish"
21
21
  },