@pie-element/multiple-choice 14.0.7 → 14.0.8-next.20261023175726

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.7/dist/schemas/configuration.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.8-next.20261023175726/dist/schemas/configuration.schema.json",
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "answerChoiceCount": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.7/dist/schemas/model.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.8-next.20261023175726/dist/schemas/model.schema.json",
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "id": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.7/dist/schemas/session.schema.json",
3
+ "$id": "https://cdn.jsdelivr.net/npm/@pie-element/multiple-choice@14.0.8-next.20261023175726/dist/schemas/session.schema.json",
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "id": {
package/module/print.js CHANGED
@@ -19890,17 +19890,18 @@ var OT = Ux, kT = OT.default, AT = kT && typeof kT == "object" ? kT : OT, jT = D
19890
19890
  baseHeadingLevel: Q.default.number,
19891
19891
  includeSrHeading: Q.default.bool,
19892
19892
  eliminatedChoices: Q.default.arrayOf(Q.default.string),
19893
- mathOutsideNames: Q.default.bool
19893
+ mathOutsideNames: Q.default.bool,
19894
+ language: Q.default.string
19894
19895
  };
19895
19896
  static defaultProps = {
19896
19897
  model: {},
19897
19898
  session: {}
19898
19899
  };
19899
19900
  render() {
19900
- let { model: e, onChoiceChanged: t, session: n, onShowCorrectToggle: r, options: i, baseHeadingLevel: a, includeSrHeading: o, eliminatedChoices: s, mathOutsideNames: c } = this.props, { extraCSSRules: l, fontSizeFactor: u } = e;
19901
+ let { model: e, onChoiceChanged: t, session: n, onShowCorrectToggle: r, options: i, baseHeadingLevel: a, includeSrHeading: o, eliminatedChoices: s, mathOutsideNames: c, language: l } = this.props, { extraCSSRules: u, fontSizeFactor: d } = e;
19901
19902
  return /* @__PURE__ */ (0, W.jsx)(jT, {
19902
- extraCSSRules: l,
19903
- fontSizeFactor: u,
19903
+ extraCSSRules: u,
19904
+ fontSizeFactor: d,
19904
19905
  classes: {},
19905
19906
  children: /* @__PURE__ */ (0, W.jsx)(TT, {
19906
19907
  ...e,
@@ -19911,7 +19912,8 @@ var OT = Ux, kT = OT.default, AT = kT && typeof kT == "object" ? kT : OT, jT = D
19911
19912
  baseHeadingLevel: a,
19912
19913
  includeSrHeading: o,
19913
19914
  eliminatedChoices: s,
19914
- mathOutsideNames: c
19915
+ mathOutsideNames: c,
19916
+ language: l ?? e.language
19915
19917
  })
19916
19918
  });
19917
19919
  }