@pie-element/ebsr 12.0.1-next.0 → 12.0.1-next.15

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/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@pie-element/ebsr",
3
- "version": "12.0.1-next.0+17e3b6c8d",
3
+ "version": "12.0.1-next.15+b806b676b",
4
4
  "description": "",
5
5
  "repository": "pie-framework/pie-elements",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
9
  "dependencies": {
10
- "@pie-element/multiple-choice": "^11.0.1-next.0+17e3b6c8d",
10
+ "@pie-element/multiple-choice": "^11.0.1-next.15+b806b676b",
11
11
  "@pie-framework/pie-player-events": "^0.1.0",
12
12
  "@pie-lib/translator": "^2.19.0",
13
13
  "classnames": "^2.2.5",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "author": "pie framework developers",
18
18
  "license": "ISC",
19
- "gitHead": "17e3b6c8d7cd3ad6a2698703e595dc03d51b9df9",
19
+ "gitHead": "b806b676bbf590c66f4c8eaeb1204f9c04e9a903",
20
20
  "scripts": {
21
21
  "postpublish": "../../scripts/postpublish"
22
22
  },
package/src/print.js CHANGED
@@ -142,6 +142,9 @@ export default class Ebsr extends HTMLElement {
142
142
  partLabel: labels[key]
143
143
  };
144
144
 
145
+ // pass options to enable print mode detection in multiple-choice component
146
+ part.options = this._options;
147
+
145
148
  if (!part._session) {
146
149
  // for print, "set session" is not called,
147
150
  // but ebsr needs sessions in order to render the elements,