@pie-element/multiple-choice 14.0.7-next.20261023051841 → 14.0.7

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.
@@ -201,7 +201,7 @@ var x = (e, t) => new Promise((n) => {
201
201
  return t(s) || (l.choices = s), t(c) || (l.rationale = c), l;
202
202
  }, w = Object.freeze({
203
203
  name: "@pie-element/multiple-choice",
204
- version: "14.0.7-next.20261023051841"
204
+ version: "14.0.7"
205
205
  });
206
206
  //#endregion
207
207
  export { x as createCorrectResponseSession, h as createDefaultModel, y as getLogTrace, v as getScore, _ as model, g as normalize, b as outcome, w as piePackage, C as validate };
@@ -432,7 +432,7 @@ var Q = class extends HTMLElement {
432
432
  }
433
433
  }, $ = Object.freeze({
434
434
  name: "@pie-element/multiple-choice",
435
- version: "14.0.7-next.20261023051841"
435
+ version: "14.0.7"
436
436
  });
437
437
  //#endregion
438
438
  export { Q as default, Y as isComplete, $ as piePackage };
@@ -8682,6 +8682,12 @@ var ap = (e) => e ? {
8682
8682
  children: s.map((e, t) => {
8683
8683
  let n = this.buttonClick.bind(this, e);
8684
8684
  if (!e) return /* @__PURE__ */ B("span", {}, `empty-${t}`);
8685
+ if (!(e.label || e.latex || e.icon || e.command || e.keystroke || e.write || e.type || e.actions || e.extraProps)) return /* @__PURE__ */ B(sp, {
8686
+ disabled: !0,
8687
+ "aria-hidden": "true",
8688
+ tabIndex: -1,
8689
+ category: o ? void 0 : e.category
8690
+ }, `placeholder-${t}`);
8685
8691
  let r = {
8686
8692
  onClick: n,
8687
8693
  disabled: this.keyIsNotAllowed(e),
@@ -19574,24 +19580,27 @@ var Qm = (e, t) => {
19574
19580
  }
19575
19581
  },
19576
19582
  "& span[data-prime=\"true\"]": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
19577
- })), uh = E(qe)({
19578
- flex: "initial",
19579
- width: "25%",
19583
+ })), uh = E(qe)(({ theme: e }) => ({
19584
+ width: "fit-content",
19580
19585
  minWidth: "100px",
19581
- marginLeft: "15px",
19582
- marginTop: "5px",
19583
- marginBottom: "5px",
19584
- marginRight: "5px",
19586
+ maxWidth: "150px",
19587
+ marginLeft: e.spacing(2),
19588
+ marginTop: e.spacing(.5),
19589
+ marginBottom: e.spacing(.5),
19590
+ marginRight: e.spacing(2),
19585
19591
  "& label": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" },
19586
19592
  "& div": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
19587
- }), dh = E(ue)(() => ({ backgroundColor: "transparent" })), fh = E("div")(({ theme: e, error: t }) => ({
19588
- minWidth: "500px",
19589
- maxWidth: "900px",
19593
+ })), dh = E(ue)(() => ({ backgroundColor: "transparent" })), fh = E("div")(({ theme: e, error: t, controlledKeypadMode: n }) => ({
19594
+ ...n ? {
19595
+ flex: 1,
19596
+ minWidth: 0
19597
+ } : {
19598
+ width: "100%",
19599
+ minWidth: "500px",
19600
+ maxWidth: "900px"
19601
+ },
19590
19602
  minHeight: "30px",
19591
- width: "100%",
19592
19603
  display: "flex",
19593
- marginTop: e.spacing(1),
19594
- marginBottom: e.spacing(1),
19595
19604
  ...t && { border: "2px solid red" },
19596
19605
  "& .mq-sqrt-prefix .mq-scaled": { verticalAlign: "middle !important" }
19597
19606
  })), ph = E(Zf.Input)(({ controlledKeypadMode: e }) => ({
@@ -19779,6 +19788,7 @@ var Qm = (e, t) => {
19779
19788
  })]
19780
19789
  }), /* @__PURE__ */ B(fh, {
19781
19790
  error: m,
19791
+ controlledKeypadMode: a,
19782
19792
  children: /* @__PURE__ */ B(ph, {
19783
19793
  onFocus: () => {
19784
19794
  f && f(), this.updateDisable(!1);
@@ -29373,7 +29383,7 @@ var CT = Be, wT = CT.default, TT = wT && typeof wT == "object" ? wT : CT, ET = S
29373
29383
  }
29374
29384
  }, XT = Object.freeze({
29375
29385
  name: "@pie-element/multiple-choice",
29376
- version: "14.0.7-next.20261023051841"
29386
+ version: "14.0.7"
29377
29387
  });
29378
29388
  //#endregion
29379
29389
  export { YT as default, XT as piePackage };