@pie-element/match 13.0.7-next.20261023051841 → 13.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.
@@ -267,7 +267,7 @@ var F = (e, t) => new Promise((n) => {
267
267
  }), Object.values(d).some((e) => (e || "").length) && (p.rowsErrors = d, Object.values(d).some((e) => (e || "").includes("No correct response defined.")) && (p.correctResponseError = r === "radio" ? "There should be a correct response defined for every row." : "There should be at least one correct response defined for every row.")), Object.values(f).some((e) => (e || "").length) && (p.columnsErrors = f), p;
268
268
  }, z = Object.freeze({
269
269
  name: "@pie-element/match",
270
- version: "13.0.7-next.20261023051841"
270
+ version: "13.0.7"
271
271
  });
272
272
  //#endregion
273
273
  export { F as createCorrectResponseSession, M as createDefaultModel, A as getLogTrace, P as model, N as normalize, j as outcome, z as piePackage, R as validate };
@@ -642,7 +642,7 @@ var Q = class e extends CustomEvent {
642
642
  }
643
643
  }, ye = Object.freeze({
644
644
  name: "@pie-element/match",
645
- version: "13.0.7-next.20261023051841"
645
+ version: "13.0.7"
646
646
  });
647
647
  //#endregion
648
648
  export { Z as Component, ve as default, $ as isComplete, ye as piePackage };
@@ -14359,6 +14359,12 @@ var ab = (e) => e ? {
14359
14359
  children: s.map((e, t) => {
14360
14360
  let n = this.buttonClick.bind(this, e);
14361
14361
  if (!e) return /* @__PURE__ */ U("span", {}, `empty-${t}`);
14362
+ if (!(e.label || e.latex || e.icon || e.command || e.keystroke || e.write || e.type || e.actions || e.extraProps)) return /* @__PURE__ */ U(sb, {
14363
+ disabled: !0,
14364
+ "aria-hidden": "true",
14365
+ tabIndex: -1,
14366
+ category: o ? void 0 : e.category
14367
+ }, `placeholder-${t}`);
14362
14368
  let r = {
14363
14369
  onClick: n,
14364
14370
  disabled: this.keyIsNotAllowed(e),
@@ -23508,24 +23514,27 @@ var _b = (e) => String(e || "").replace(/-/g, "_"), vb = (e) => e && e.attrs &&
23508
23514
  }
23509
23515
  },
23510
23516
  "& span[data-prime=\"true\"]": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
23511
- })), zb = R(_e)({
23512
- flex: "initial",
23513
- width: "25%",
23517
+ })), zb = R(_e)(({ theme: e }) => ({
23518
+ width: "fit-content",
23514
23519
  minWidth: "100px",
23515
- marginLeft: "15px",
23516
- marginTop: "5px",
23517
- marginBottom: "5px",
23518
- marginRight: "5px",
23520
+ maxWidth: "150px",
23521
+ marginLeft: e.spacing(2),
23522
+ marginTop: e.spacing(.5),
23523
+ marginBottom: e.spacing(.5),
23524
+ marginRight: e.spacing(2),
23519
23525
  "& label": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" },
23520
23526
  "& div": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
23521
- }), Bb = R(Ue)(() => ({ backgroundColor: "transparent" })), Vb = R("div")(({ theme: e, error: t }) => ({
23522
- minWidth: "500px",
23523
- maxWidth: "900px",
23527
+ })), Bb = R(Ue)(() => ({ backgroundColor: "transparent" })), Vb = R("div")(({ theme: e, error: t, controlledKeypadMode: n }) => ({
23528
+ ...n ? {
23529
+ flex: 1,
23530
+ minWidth: 0
23531
+ } : {
23532
+ width: "100%",
23533
+ minWidth: "500px",
23534
+ maxWidth: "900px"
23535
+ },
23524
23536
  minHeight: "30px",
23525
- width: "100%",
23526
23537
  display: "flex",
23527
- marginTop: e.spacing(1),
23528
- marginBottom: e.spacing(1),
23529
23538
  ...t && { border: "2px solid red" },
23530
23539
  "& .mq-sqrt-prefix .mq-scaled": { verticalAlign: "middle !important" }
23531
23540
  })), Hb = R(Zy.Input)(({ controlledKeypadMode: e }) => ({
@@ -23713,6 +23722,7 @@ var _b = (e) => String(e || "").replace(/-/g, "_"), vb = (e) => e && e.attrs &&
23713
23722
  })]
23714
23723
  }), /* @__PURE__ */ U(Vb, {
23715
23724
  error: m,
23725
+ controlledKeypadMode: a,
23716
23726
  children: /* @__PURE__ */ U(Hb, {
23717
23727
  onFocus: () => {
23718
23728
  f && f(), this.updateDisable(!1);
@@ -29706,7 +29716,7 @@ var PE = (0, Hc.default)("pie-elements:match:configure"), FE = R("div")(({ theme
29706
29716
  }
29707
29717
  }, sD = Object.freeze({
29708
29718
  name: "@pie-element/match",
29709
- version: "13.0.7-next.20261023051841"
29719
+ version: "13.0.7"
29710
29720
  });
29711
29721
  //#endregion
29712
29722
  export { oD as default, sD as piePackage };