@pie-element/ebsr 14.2.0-next.0 → 14.2.0-next.10

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,22 +1,22 @@
1
1
  {
2
2
  "name": "@pie-element/ebsr",
3
3
  "repository": "pie-framework/pie-elements",
4
- "version": "14.2.0-next.0",
4
+ "version": "14.2.0-next.10+876837881",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
9
  "dependencies": {
10
- "@pie-element/multiple-choice": "^13.2.0-next.0",
10
+ "@pie-element/multiple-choice": "^13.2.0-next.1",
11
11
  "@pie-framework/pie-player-events": "^0.1.0",
12
- "@pie-lib/translator": "4.0.0",
12
+ "@pie-lib/translator": "4.0.2-next.0",
13
13
  "classnames": "^2.2.5",
14
14
  "debug": "^4.1.1",
15
15
  "lodash-es": "^4.17.23"
16
16
  },
17
17
  "author": "pie framework developers",
18
18
  "license": "ISC",
19
- "gitHead": "ffd8232d80a1b132f4793ab741d30dbd4f6cc43b",
19
+ "gitHead": "87683788189b1469d818e726545952cc009df4b8",
20
20
  "scripts": {
21
21
  "postpublish": "../../scripts/postpublish"
22
22
  },
package/src/index.js CHANGED
@@ -122,7 +122,7 @@ export default class Ebsr extends HTMLElement {
122
122
  // the EBSR element itself provides the item-level heading.
123
123
  const { includeSrHeading, baseHeadingLevel } = getPlayerAttributes(this);
124
124
  part.includeSrHeading = includeSrHeading;
125
- part.baseHeadingLevel = baseHeadingLevel !== undefined ? Math.min(6, baseHeadingLevel + (includeSrHeading ? 1 : 0)) : undefined;
125
+ part.baseHeadingLevel = baseHeadingLevel;
126
126
  }
127
127
  }
128
128