@pie-element/extended-text-entry 6.5.4-next.899 → 6.5.4-next.901

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/lib/main.js CHANGED
@@ -80,13 +80,6 @@ var Main = /*#__PURE__*/function (_React$Component) {
80
80
  }
81
81
 
82
82
  (0, _createClass2["default"])(Main, [{
83
- key: "componentDidUpdate",
84
- value: function componentDidUpdate() {
85
- if (this.containerRef) {
86
- (0, _mathRendering.renderMath)(this.containerRef);
87
- }
88
- }
89
- }, {
90
83
  key: "render",
91
84
  value: function render() {
92
85
  var _this2 = this;
package/lib/main.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/main.jsx"],"names":["log","style","theme","main","backgroundColor","color","background","text","prompt","width","marginBottom","spacing","unit","fontSize","Main","props","onChange","containerRef","model","classes","session","dimensions","disabled","feedback","teacherInstructions","mathInput","animationsDisabled","playersToolbarPosition","spellCheckEnabled","value","height","maxHeight","toolbarOpts","teacherInstructionsDiv","position","ref","hidden","visible","collapsible","changeSession","toString","math","customKeys","keypadMode","equationEditor","controlledKeypadMode","video","audio","React","Component","PropTypes","func","isRequired","object","shape","string"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,IAAMA,GAAG,GAAG,uBAAM,6BAAN,CAAZ;;AAEA,IAAMC,KAAK,GAAG,SAARA,KAAQ,CAAAC,KAAK;AAAA,SAAK;AACtBC,IAAAA,IAAI,EAAE;AACJC,MAAAA,eAAe,EAAEC,gBAAMC,UAAN,EADb;AAEJD,MAAAA,KAAK,EAAEA,gBAAME,IAAN;AAFH,KADgB;AAKtBC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,MADD;AAENJ,MAAAA,KAAK,EAAEA,gBAAME,IAAN,EAFD;AAGNG,MAAAA,YAAY,EAAER,KAAK,CAACS,OAAN,CAAcC,IAA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AAAA,IAAI,EAAE;AACJnB,YAAAA,QAAQ,EAAE,CAACG,SADP;AAEJiB,YAAAA,UAAU,EAAE,KAAK3B,KAAL,CAAWG,KAAX,CAAiBwB,UAFzB;AAGJC,YAAAA,UAAU,EAAE,KAAK5B,KAAL,CAAWG,KAAX,CAAiB0B,cAHzB;AAIJC,YAAAA,oBAAoB,EAAE;AAJlB,WADK;AAOXC,UAAAA,KAAK,EAAE;AACLxB,YAAAA,QAAQ,EAAE;AADL,WAPI;AAUVyB,UAAAA,KAAK,EAAE;AACNzB,YAAAA,QAAQ,EAAE;AADJ;AAVG;AAXf,QA7BF,EAuDGC,QAAQ,iBACP,0DACE,2CADF,eAEE,gCAAC,kBAAD;AAAU,QAAA,WAAW,EAAC,SAAtB;AAAgC,QAAA,QAAQ,EAAEA;AAA1C,QAFF,CAxDJ,CADF;AAgED;;;EAvGuByB,kBAAMC,S;;;iCAAnBnC,I,eACQ;AACjBE,EAAAA,QAAQ,EAAEkC,sBAAUC,IAAV,CAAeC,UADR;AAEjBlC,EAAAA,KAAK,EAAEgC,sBAAUG,MAFA;AAGjBlC,EAAAA,OAAO,EAAE+B,sBAAUG,MAAV,CAAiBD,UAHT;AAIjBhC,EAAAA,OAAO,EAAE8B,sBAAUI,KAAV,CAAgB;AACvBzB,IAAAA,KAAK,EAAEqB,sBAAUK;AADM,GAAhB,EAENH;AANc,C;;eAyGN,wBAAWnD,KAAX,EAAkBa,IAAlB,C","sourcesContent":["import React from 'react';\nimport EditableHTML from '@pie-lib/editable-html';\nimport PropTypes from 'prop-types';\nimport Typography from '@material-ui/core/Typography';\nimport { withStyles } from '@material-ui/core/styles';\nimport debug from 'debug';\nimport debounce from 'lodash/debounce';\nimport {color, Feedback, Collapsible, PreviewPrompt} from '@pie-lib/render-ui';\nimport { renderMath } from '@pie-lib/math-rendering';\n\nconst log = debug('@pie-ui:extended-text-entry');\n\nconst style = theme => ({\n main: {\n backgroundColor: color.background(),\n color: color.text()\n },\n prompt: {\n width: '100%',\n color: color.text(),\n marginBottom: theme.spacing.unit * 2,\n fontSize: 'inherit'\n }\n});\n\nexport class Main extends React.Component {\n static propTypes = {\n onChange: PropTypes.func.isRequired,\n model: PropTypes.object,\n classes: PropTypes.object.isRequired,\n session: PropTypes.shape({\n value: PropTypes.string\n }).isRequired\n };\n\n componentDidUpdate() {\n if (this.containerRef) {\n renderMath(this.containerRef);\n }\n }\n\n changeSession = debounce(this.props.onChange, 1500);\n\n render() {\n const { model, classes, session } = this.props;\n const { dimensions, disabled, feedback, teacherInstructions, mathInput, animationsDisabled, playersToolbarPosition, spellCheckEnabled } = model;\n const { value } = session;\n const { width, height } = dimensions || {};\n const maxHeight = '40vh';\n const toolbarOpts = {};\n\n log('[render] disabled? ', disabled);\n\n const teacherInstructionsDiv = <PreviewPrompt defaultClassName=\"teacher-instructions\" prompt={teacherInstructions} />;\n\n switch (playersToolbarPosition) {\n case 'top':\n toolbarOpts.position = 'top';\n break;\n default:\n toolbarOpts.position = 'bottom';\n break;\n }\n\n return (\n <div\n className={classes.main}\n ref={ref => {\n this.containerRef = ref;\n }}\n >\n {\n teacherInstructions && (\n <div>\n {!animationsDisabled ? (\n <Collapsible\n labels={{hidden: 'Show Teacher Instructions', visible: 'Hide Teacher Instructions'}}\n className={classes.collapsible}\n >\n {teacherInstructionsDiv}\n </Collapsible>\n ) : teacherInstructionsDiv }\n <br/>\n </div>\n )\n }\n {model.prompt && (\n <Typography\n component={'span'}\n className={classes.prompt}\n >\n <PreviewPrompt defaultClassName=\"prompt\" prompt={model.prompt} />\n </Typography>\n )}\n <EditableHTML\n className=\"response-area-editor\"\n onChange={this.changeSession}\n markup={value || ''}\n width={width && width.toString()}\n minHeight={height && height.toString()}\n maxHeight={maxHeight}\n disabled={disabled}\n highlightShape={true}\n toolbarOpts={toolbarOpts}\n spellCheck={spellCheckEnabled}\n pluginProps={{\n math: {\n disabled: !mathInput,\n customKeys: this.props.model.customKeys,\n keypadMode: this.props.model.equationEditor,\n controlledKeypadMode: false\n },\n video: {\n disabled: true\n },\n audio: {\n disabled: true\n }\n }}\n />\n {feedback && (\n <div>\n <br />\n <Feedback correctness=\"correct\" feedback={feedback}/>\n </div>\n )}\n </div>\n );\n }\n}\n\nexport default withStyles(style)(Main);\n"],"file":"main.js"}
1
+ {"version":3,"sources":["../src/main.jsx"],"names":["log","style","theme","main","backgroundColor","color","background","text","prompt","width","marginBottom","spacing","unit","fontSize","Main","props","onChange","model","classes","session","dimensions","disabled","feedback","teacherInstructions","mathInput","animationsDisabled","playersToolbarPosition","spellCheckEnabled","value","height","maxHeight","toolbarOpts","teacherInstructionsDiv","position","ref","containerRef","hidden","visible","collapsible","changeSession","toString","math","customKeys","keypadMode","equationEditor","controlledKeypadMode","video","audio","React","Component","PropTypes","func","isRequired","object","shape","string"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,IAAMA,GAAG,GAAG,uBAAM,6BAAN,CAAZ;;AAEA,IAAMC,KAAK,GAAG,SAARA,KAAQ,CAAAC,KAAK;AAAA,SAAK;AACtBC,IAAAA,IAAI,EAAE;AACJC,MAAAA,eAAe,EAAEC,gBAAMC,UAAN,EADb;AAEJD,MAAAA,KAAK,EAAEA,gBAAME,IAAN;AAFH,KADgB;AAKtBC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,MADD;AAENJ,MAAAA,KAAK,EAAEA,gBAAME,IAAN,EAFD;AAGNG,MAAAA,YAAY,EAAER,KAAK,CAACS,OAAN,CAAcC,IAAd,GAAqB,CAH7B;AAINC,MAAAA,QAAQ,EAAE;AAJJ;AALc,GAAL;AAAA,CAAnB;;IAaaC,I;;;;;;;;;;;;;;;sGAUK,0BAAS,MAAKC,KAAL,CAAWC,QAApB,EAA8B,IAA9B,C;;;;;;WAEhB,kBAAS;AAAA;;AACP,wBAAoC,KAAKD,KAAzC;AAAA,UAAQE,KAAR,eAAQA,KAAR;AA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YAAAA,QAAQ,EAAE;AADJ;AAVG;AAXf,QA7BF,EAuDGC,QAAQ,iBACP,0DACE,2CADF,eAEE,gCAAC,kBAAD;AAAU,QAAA,WAAW,EAAC,SAAtB;AAAgC,QAAA,QAAQ,EAAEA;AAA1C,QAFF,CAxDJ,CADF;AAgED;;;EAjGuB0B,kBAAMC,S;;;iCAAnBnC,I,eACQ;AACjBE,EAAAA,QAAQ,EAAEkC,sBAAUC,IAAV,CAAeC,UADR;AAEjBnC,EAAAA,KAAK,EAAEiC,sBAAUG,MAFA;AAGjBnC,EAAAA,OAAO,EAAEgC,sBAAUG,MAAV,CAAiBD,UAHT;AAIjBjC,EAAAA,OAAO,EAAE+B,sBAAUI,KAAV,CAAgB;AACvB1B,IAAAA,KAAK,EAAEsB,sBAAUK;AADM,GAAhB,EAENH;AANc,C;;eAmGN,wBAAWnD,KAAX,EAAkBa,IAAlB,C","sourcesContent":["import React from 'react';\nimport EditableHTML from '@pie-lib/editable-html';\nimport PropTypes from 'prop-types';\nimport Typography from '@material-ui/core/Typography';\nimport { withStyles } from '@material-ui/core/styles';\nimport debug from 'debug';\nimport debounce from 'lodash/debounce';\nimport {color, Feedback, Collapsible, PreviewPrompt} from '@pie-lib/render-ui';\nimport { renderMath } from '@pie-lib/math-rendering';\n\nconst log = debug('@pie-ui:extended-text-entry');\n\nconst style = theme => ({\n main: {\n backgroundColor: color.background(),\n color: color.text()\n },\n prompt: {\n width: '100%',\n color: color.text(),\n marginBottom: theme.spacing.unit * 2,\n fontSize: 'inherit'\n }\n});\n\nexport class Main extends React.Component {\n static propTypes = {\n onChange: PropTypes.func.isRequired,\n model: PropTypes.object,\n classes: PropTypes.object.isRequired,\n session: PropTypes.shape({\n value: PropTypes.string\n }).isRequired\n };\n\n changeSession = debounce(this.props.onChange, 1500);\n\n render() {\n const { model, classes, session } = this.props;\n const { dimensions, disabled, feedback, teacherInstructions, mathInput, animationsDisabled, playersToolbarPosition, spellCheckEnabled } = model;\n const { value } = session;\n const { width, height } = dimensions || {};\n const maxHeight = '40vh';\n const toolbarOpts = {};\n\n log('[render] disabled? ', disabled);\n\n const teacherInstructionsDiv = <PreviewPrompt defaultClassName=\"teacher-instructions\" prompt={teacherInstructions} />;\n\n switch (playersToolbarPosition) {\n case 'top':\n toolbarOpts.position = 'top';\n break;\n default:\n toolbarOpts.position = 'bottom';\n break;\n }\n\n return (\n <div\n className={classes.main}\n ref={ref => {\n this.containerRef = ref;\n }}\n >\n {\n teacherInstructions && (\n <div>\n {!animationsDisabled ? (\n <Collapsible\n labels={{hidden: 'Show Teacher Instructions', visible: 'Hide Teacher Instructions'}}\n className={classes.collapsible}\n >\n {teacherInstructionsDiv}\n </Collapsible>\n ) : teacherInstructionsDiv }\n <br/>\n </div>\n )\n }\n {model.prompt && (\n <Typography\n component={'span'}\n className={classes.prompt}\n >\n <PreviewPrompt defaultClassName=\"prompt\" prompt={model.prompt} />\n </Typography>\n )}\n <EditableHTML\n className=\"response-area-editor\"\n onChange={this.changeSession}\n markup={value || ''}\n width={width && width.toString()}\n minHeight={height && height.toString()}\n maxHeight={maxHeight}\n disabled={disabled}\n highlightShape={true}\n toolbarOpts={toolbarOpts}\n spellCheck={spellCheckEnabled}\n pluginProps={{\n math: {\n disabled: !mathInput,\n customKeys: this.props.model.customKeys,\n keypadMode: this.props.model.equationEditor,\n controlledKeypadMode: false\n },\n video: {\n disabled: true\n },\n audio: {\n disabled: true\n }\n }}\n />\n {feedback && (\n <div>\n <br />\n <Feedback correctness=\"correct\" feedback={feedback}/>\n </div>\n )}\n </div>\n );\n }\n}\n\nexport default withStyles(style)(Main);\n"],"file":"main.js"}
package/module/element.js CHANGED
@@ -12,7 +12,6 @@ const {Feedback: Feedback} = _dll_pie_lib__render_ui;
12
12
  const {Collapsible: Collapsible} = _dll_pie_lib__render_ui;
13
13
  const {PreviewPrompt: PreviewPrompt} = _dll_pie_lib__render_ui;
14
14
  const EditableHTML = _dll_pie_lib__editable_html;
15
- const {renderMath: renderMath$1} = _dll_pie_lib__math_rendering;
16
15
  const _jsxFileName = "/home/circleci/repo/packages/extended-text-entry/src/main.jsx";
17
16
  const log$1 = debug$1('@pie-ui:extended-text-entry');
18
17
  const style = theme => ({
@@ -42,11 +41,6 @@ class Main extends React$1.Component {
42
41
  }).isRequired
43
42
  };
44
43
  }
45
- componentDidUpdate() {
46
- if (this.containerRef) {
47
- renderMath$1(this.containerRef);
48
- }
49
- }
50
44
  __init() {
51
45
  this.changeSession = debounce(this.props.onChange, 1500);
52
46
  }
@@ -64,7 +58,7 @@ class Main extends React$1.Component {
64
58
  __self: this,
65
59
  __source: {
66
60
  fileName: _jsxFileName,
67
- lineNumber: 54
61
+ lineNumber: 48
68
62
  }
69
63
  });
70
64
  switch (playersToolbarPosition) {
@@ -83,13 +77,13 @@ class Main extends React$1.Component {
83
77
  __self: this,
84
78
  __source: {
85
79
  fileName: _jsxFileName,
86
- lineNumber: 66
80
+ lineNumber: 60
87
81
  }
88
82
  }, teacherInstructions && React$1.createElement('div', {
89
83
  __self: this,
90
84
  __source: {
91
85
  fileName: _jsxFileName,
92
- lineNumber: 74
86
+ lineNumber: 68
93
87
  }
94
88
  }, !animationsDisabled ? React$1.createElement(Collapsible, {
95
89
  labels: {
@@ -100,13 +94,13 @@ class Main extends React$1.Component {
100
94
  __self: this,
101
95
  __source: {
102
96
  fileName: _jsxFileName,
103
- lineNumber: 76
97
+ lineNumber: 70
104
98
  }
105
99
  }, teacherInstructionsDiv) : teacherInstructionsDiv, React$1.createElement('br', {
106
100
  __self: this,
107
101
  __source: {
108
102
  fileName: _jsxFileName,
109
- lineNumber: 83
103
+ lineNumber: 77
110
104
  }
111
105
  })), model.prompt && React$1.createElement(Typography, {
112
106
  component: 'span',
@@ -114,7 +108,7 @@ class Main extends React$1.Component {
114
108
  __self: this,
115
109
  __source: {
116
110
  fileName: _jsxFileName,
117
- lineNumber: 88
111
+ lineNumber: 82
118
112
  }
119
113
  }, React$1.createElement(PreviewPrompt, {
120
114
  defaultClassName: "prompt",
@@ -122,7 +116,7 @@ class Main extends React$1.Component {
122
116
  __self: this,
123
117
  __source: {
124
118
  fileName: _jsxFileName,
125
- lineNumber: 92
119
+ lineNumber: 86
126
120
  }
127
121
  })), React$1.createElement(EditableHTML, {
128
122
  className: "response-area-editor",
@@ -152,19 +146,19 @@ class Main extends React$1.Component {
152
146
  __self: this,
153
147
  __source: {
154
148
  fileName: _jsxFileName,
155
- lineNumber: 95
149
+ lineNumber: 89
156
150
  }
157
151
  }), feedback && React$1.createElement('div', {
158
152
  __self: this,
159
153
  __source: {
160
154
  fileName: _jsxFileName,
161
- lineNumber: 122
155
+ lineNumber: 116
162
156
  }
163
157
  }, React$1.createElement('br', {
164
158
  __self: this,
165
159
  __source: {
166
160
  fileName: _jsxFileName,
167
- lineNumber: 123
161
+ lineNumber: 117
168
162
  }
169
163
  }), React$1.createElement(Feedback, {
170
164
  correctness: "correct",
@@ -172,7 +166,7 @@ class Main extends React$1.Component {
172
166
  __self: this,
173
167
  __source: {
174
168
  fileName: _jsxFileName,
175
- lineNumber: 124
169
+ lineNumber: 118
176
170
  }
177
171
  })));
178
172
  }
package/module/print.js CHANGED
@@ -12,7 +12,6 @@ const {Feedback: Feedback} = _dll_pie_lib__render_ui;
12
12
  const {Collapsible: Collapsible} = _dll_pie_lib__render_ui;
13
13
  const {PreviewPrompt: PreviewPrompt} = _dll_pie_lib__render_ui;
14
14
  const EditableHTML = _dll_pie_lib__editable_html;
15
- const {renderMath: renderMath$1} = _dll_pie_lib__math_rendering;
16
15
  const _jsxFileName = "/home/circleci/repo/packages/extended-text-entry/src/main.jsx";
17
16
  const log$1 = debug$1('@pie-ui:extended-text-entry');
18
17
  const style = theme => ({
@@ -42,11 +41,6 @@ class Main extends React$1.Component {
42
41
  }).isRequired
43
42
  };
44
43
  }
45
- componentDidUpdate() {
46
- if (this.containerRef) {
47
- renderMath$1(this.containerRef);
48
- }
49
- }
50
44
  __init() {
51
45
  this.changeSession = debounce$1(this.props.onChange, 1500);
52
46
  }
@@ -64,7 +58,7 @@ class Main extends React$1.Component {
64
58
  __self: this,
65
59
  __source: {
66
60
  fileName: _jsxFileName,
67
- lineNumber: 54
61
+ lineNumber: 48
68
62
  }
69
63
  });
70
64
  switch (playersToolbarPosition) {
@@ -83,13 +77,13 @@ class Main extends React$1.Component {
83
77
  __self: this,
84
78
  __source: {
85
79
  fileName: _jsxFileName,
86
- lineNumber: 66
80
+ lineNumber: 60
87
81
  }
88
82
  }, teacherInstructions && React$1.createElement('div', {
89
83
  __self: this,
90
84
  __source: {
91
85
  fileName: _jsxFileName,
92
- lineNumber: 74
86
+ lineNumber: 68
93
87
  }
94
88
  }, !animationsDisabled ? React$1.createElement(Collapsible, {
95
89
  labels: {
@@ -100,13 +94,13 @@ class Main extends React$1.Component {
100
94
  __self: this,
101
95
  __source: {
102
96
  fileName: _jsxFileName,
103
- lineNumber: 76
97
+ lineNumber: 70
104
98
  }
105
99
  }, teacherInstructionsDiv) : teacherInstructionsDiv, React$1.createElement('br', {
106
100
  __self: this,
107
101
  __source: {
108
102
  fileName: _jsxFileName,
109
- lineNumber: 83
103
+ lineNumber: 77
110
104
  }
111
105
  })), model.prompt && React$1.createElement(Typography, {
112
106
  component: 'span',
@@ -114,7 +108,7 @@ class Main extends React$1.Component {
114
108
  __self: this,
115
109
  __source: {
116
110
  fileName: _jsxFileName,
117
- lineNumber: 88
111
+ lineNumber: 82
118
112
  }
119
113
  }, React$1.createElement(PreviewPrompt, {
120
114
  defaultClassName: "prompt",
@@ -122,7 +116,7 @@ class Main extends React$1.Component {
122
116
  __self: this,
123
117
  __source: {
124
118
  fileName: _jsxFileName,
125
- lineNumber: 92
119
+ lineNumber: 86
126
120
  }
127
121
  })), React$1.createElement(EditableHTML, {
128
122
  className: "response-area-editor",
@@ -152,19 +146,19 @@ class Main extends React$1.Component {
152
146
  __self: this,
153
147
  __source: {
154
148
  fileName: _jsxFileName,
155
- lineNumber: 95
149
+ lineNumber: 89
156
150
  }
157
151
  }), feedback && React$1.createElement('div', {
158
152
  __self: this,
159
153
  __source: {
160
154
  fileName: _jsxFileName,
161
- lineNumber: 122
155
+ lineNumber: 116
162
156
  }
163
157
  }, React$1.createElement('br', {
164
158
  __self: this,
165
159
  __source: {
166
160
  fileName: _jsxFileName,
167
- lineNumber: 123
161
+ lineNumber: 117
168
162
  }
169
163
  }), React$1.createElement(Feedback, {
170
164
  correctness: "correct",
@@ -172,7 +166,7 @@ class Main extends React$1.Component {
172
166
  __self: this,
173
167
  __source: {
174
168
  fileName: _jsxFileName,
175
- lineNumber: 124
169
+ lineNumber: 118
176
170
  }
177
171
  })));
178
172
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-element/extended-text-entry",
3
- "version": "6.5.4-next.899+0cf8aeccc",
3
+ "version": "6.5.4-next.901+17a931bc8",
4
4
  "description": "",
5
5
  "repository": "pie-framework/pie-elements",
6
6
  "publishConfig": {
@@ -22,7 +22,7 @@
22
22
  "react": "^16.8.1",
23
23
  "react-dom": "^16.8.1"
24
24
  },
25
- "gitHead": "0cf8aeccc1cc0a690b2aa60c99f2a47383ddad37",
25
+ "gitHead": "17a931bc8cff53c079b774cbfdaef12a05cce964",
26
26
  "scripts": {
27
27
  "postpublish": "../../scripts/postpublish"
28
28
  },