@pie-element/select-text 6.5.23 → 6.5.26

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.
@@ -210,56 +210,56 @@ generate.htmlAscii = (id, element) => ({
210
210
  generate.model = (id, element) => {
211
211
  return Object.assign({}, { id, element }, base( {
212
212
  // "id": "8a808081701d693801703174fb900421",
213
- "teacherInstructions": "",
214
- "partialScoring": true,
215
- "prompt": "<p>Select the sentence from&#160;&#34;The Gymnast&#34; that <span class=\"relative-emphasis\">best</span> represents the theme.</p>",
216
- "rationale": "<p>The final sentence of the passage best exemplifies the theme of the short story because Natasha&#39;s practice and determination finally pays off.</p>",
217
- "tokens": [
213
+ 'teacherInstructions': '',
214
+ 'partialScoring': true,
215
+ 'prompt': '<p>Select the sentence from&#160;&#34;The Gymnast&#34; that <span class="relative-emphasis">best</span> represents the theme.</p>',
216
+ 'rationale': '<p>The final sentence of the passage best exemplifies the theme of the short story because Natasha&#39;s practice and determination finally pays off.</p>',
217
+ 'tokens': [
218
218
  {
219
- "text": "She thought about what she had to do, struggling to rein in her wild, fearful thoughts.",
220
- "end": 90,
221
- "start": 3,
222
- "correct": false
219
+ 'text': 'She thought about what she had to do, struggling to rein in her wild, fearful thoughts.',
220
+ 'end': 90,
221
+ 'start': 3,
222
+ 'correct': false
223
223
  },
224
224
  {
225
- "start": 449,
226
- "end": 585,
227
- "text": "Just for a hair of a moment, Natasha wondered if she really wanted a perfect 10, so weary was she of trying for but never achieving one.",
228
- "correct": false
225
+ 'start': 449,
226
+ 'end': 585,
227
+ 'text': 'Just for a hair of a moment, Natasha wondered if she really wanted a perfect 10, so weary was she of trying for but never achieving one.',
228
+ 'correct': false
229
229
  },
230
230
  {
231
- "end": 627,
232
- "correct": false,
233
- "text": "At last Natasha's moment arrived.",
234
- "start": 594
231
+ 'end': 627,
232
+ 'correct': false,
233
+ 'text': 'At last Natasha\'s moment arrived.',
234
+ 'start': 594
235
235
  },
236
236
  {
237
- "end": 743,
238
- "text": "The faces of past giants of gymnastics swam before her mind's eye, now razor&#8211;sharp with fierce determination.",
239
- "correct": false,
240
- "start": 628
237
+ 'end': 743,
238
+ 'text': 'The faces of past giants of gymnastics swam before her mind\'s eye, now razor&#8211;sharp with fierce determination.',
239
+ 'correct': false,
240
+ 'start': 628
241
241
  },
242
242
  {
243
- "text": "Suddenly, the din of the gymnasium was silent to her.",
244
- "end": 997,
245
- "correct": false,
246
- "start": 944
243
+ 'text': 'Suddenly, the din of the gymnasium was silent to her.',
244
+ 'end': 997,
245
+ 'correct': false,
246
+ 'start': 944
247
247
  },
248
248
  {
249
- "end": 1087,
250
- "start": 998,
251
- "correct": false,
252
- "text": "Forcing all sound out of her mind, she focused on the gleaming balance beam ahead of her."
249
+ 'end': 1087,
250
+ 'start': 998,
251
+ 'correct': false,
252
+ 'text': 'Forcing all sound out of her mind, she focused on the gleaming balance beam ahead of her.'
253
253
  },
254
254
  {
255
- "correct": true,
256
- "start": 1088,
257
- "end": 1225,
258
- "text": "Taking a deep breath, Natasha made her graceful, yet powerful approach, mounted the beam flawlessly, and...executed her first perfect 10."
255
+ 'correct': true,
256
+ 'start': 1088,
257
+ 'end': 1225,
258
+ 'text': 'Taking a deep breath, Natasha made her graceful, yet powerful approach, mounted the beam flawlessly, and...executed her first perfect 10.'
259
259
  }
260
260
  ],
261
261
  // "element": "select-text",
262
- "text": "<p>She thought about what she had to do, struggling to rein in her wild, fearful thoughts. Coach Cummings always said that an undisciplined mind never scored a perfect 10. Natasha wanted to please her Coach, yet sometimes his approval wasn't as exciting as his anger. The gymnasts were unanimous about one thing: Coach Cummings's fits of disapproving rage were much more humorous to witness than his infrequent, backslapping moments of high praise. Just for a hair of a moment, Natasha wondered if she really wanted a perfect 10, so weary was she of trying for but never achieving one.</p>\n\n<p>At last Natasha's moment arrived. The faces of past giants of gymnastics swam before her mind's eye, now razor&#8211;sharp with fierce determination. \"I am talented. I am not afraid. I will make a perfect 10,\" she spoke aloud to herself, as she approached the mat, dusted her hands with chalk to prevent slippage, and returned to her starting point. Suddenly, the din of the gymnasium was silent to her. Forcing all sound out of her mind, she focused on the gleaming balance beam ahead of her. Taking a deep breath, Natasha made her graceful, yet powerful approach, mounted the beam flawlessly, and...executed her first perfect 10.</p>\n"
262
+ 'text': '<p>She thought about what she had to do, struggling to rein in her wild, fearful thoughts. Coach Cummings always said that an undisciplined mind never scored a perfect 10. Natasha wanted to please her Coach, yet sometimes his approval wasn\'t as exciting as his anger. The gymnasts were unanimous about one thing: Coach Cummings\'s fits of disapproving rage were much more humorous to witness than his infrequent, backslapping moments of high praise. Just for a hair of a moment, Natasha wondered if she really wanted a perfect 10, so weary was she of trying for but never achieving one.</p>\n\n<p>At last Natasha\'s moment arrived. The faces of past giants of gymnastics swam before her mind\'s eye, now razor&#8211;sharp with fierce determination. "I am talented. I am not afraid. I will make a perfect 10," she spoke aloud to herself, as she approached the mat, dusted her hands with chalk to prevent slippage, and returned to her starting point. Suddenly, the din of the gymnasium was silent to her. Forcing all sound out of her mind, she focused on the gleaming balance beam ahead of her. Taking a deep breath, Natasha made her graceful, yet powerful approach, mounted the beam flawlessly, and...executed her first perfect 10.</p>\n'
263
263
  } ));
264
264
  };
265
265
 
package/module/print.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <!doctype html>
3
3
  <html>
4
4
  <head>
5
- <title>@pie-element/select-text@6.5.22</title>
5
+ <title>@pie-element/select-text@6.5.25</title>
6
6
  <link
7
7
  href="https://fonts.googleapis.com/css?family=Roboto&display=swap"
8
8
  rel="stylesheet"
package/module/print.js CHANGED
@@ -1,5 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_lodash, _dll_debug, _dll_classnames, _dll_pie_lib__render_ui, _dll_react_dom_server, _dll_pie_lib__correct_answer_toggle, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.1/module/index.js";
2
- import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.0.26/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_lodash, _dll_debug, _dll_classnames, _dll_pie_lib__render_ui, _dll_react_dom_server, _dll_pie_lib__correct_answer_toggle, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.9/module/index.js";
2
+ import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.0.34/module/index.js";
3
3
  const React$7 = _dll_react;
4
4
  const PropTypes$6 = _dll_prop_types;
5
5
  const {Button: Button} = _dll_material_ui__core;
@@ -2454,7 +2454,8 @@ class SelectTextPrint extends HTMLElement {
2454
2454
  model: printModel,
2455
2455
  session: {
2456
2456
  selectedTokens: []
2457
- }
2457
+ },
2458
+ onSelectionChange: () => {}
2458
2459
  });
2459
2460
  ReactDOM.render(element, this, () => {
2460
2461
  log('render complete - render math');
package/package.json CHANGED
@@ -4,22 +4,22 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "6.5.23",
7
+ "version": "6.5.26",
8
8
  "description": "",
9
9
  "dependencies": {
10
10
  "@material-ui/core": "^3.9.2",
11
11
  "@pie-framework/pie-player-events": "^0.1.0",
12
- "@pie-lib/correct-answer-toggle": "^2.3.34",
13
- "@pie-lib/math-rendering": "^2.3.12",
14
- "@pie-lib/render-ui": "^4.12.4",
15
- "@pie-lib/text-select": "^1.8.13",
12
+ "@pie-lib/correct-answer-toggle": "^2.3.35",
13
+ "@pie-lib/math-rendering": "^2.3.13",
14
+ "@pie-lib/render-ui": "^4.12.5",
15
+ "@pie-lib/text-select": "^1.8.14",
16
16
  "prop-types": "^15.6.1",
17
17
  "react": "^16.8.1",
18
18
  "react-dom": "^16.8.1"
19
19
  },
20
20
  "author": "",
21
21
  "license": "ISC",
22
- "gitHead": "711fb90f7f30b2b7438fd252d104b2c9c25accba",
22
+ "gitHead": "92cd24e6736b2eed8f82ac44ba775ad4f2080ade",
23
23
  "scripts": {
24
24
  "postpublish": "../../scripts/postpublish"
25
25
  },