@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.
@@ -21627,6 +21627,12 @@ var wO = (e) => e ? {
21627
21627
  children: s.map((e, t) => {
21628
21628
  let n = this.buttonClick.bind(this, e);
21629
21629
  if (!e) return /* @__PURE__ */ I("span", {}, `empty-${t}`);
21630
+ if (!(e.label || e.latex || e.icon || e.command || e.keystroke || e.write || e.type || e.actions || e.extraProps)) return /* @__PURE__ */ I(EO, {
21631
+ disabled: !0,
21632
+ "aria-hidden": "true",
21633
+ tabIndex: -1,
21634
+ category: o ? void 0 : e.category
21635
+ }, `placeholder-${t}`);
21630
21636
  let r = {
21631
21637
  onClick: n,
21632
21638
  disabled: this.keyIsNotAllowed(e),
@@ -32519,24 +32525,27 @@ var _A = (e, t) => {
32519
32525
  }
32520
32526
  },
32521
32527
  "& span[data-prime=\"true\"]": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
32522
- })), kA = E(Je)({
32523
- flex: "initial",
32524
- width: "25%",
32528
+ })), kA = E(Je)(({ theme: e }) => ({
32529
+ width: "fit-content",
32525
32530
  minWidth: "100px",
32526
- marginLeft: "15px",
32527
- marginTop: "5px",
32528
- marginBottom: "5px",
32529
- marginRight: "5px",
32531
+ maxWidth: "150px",
32532
+ marginLeft: e.spacing(2),
32533
+ marginTop: e.spacing(.5),
32534
+ marginBottom: e.spacing(.5),
32535
+ marginRight: e.spacing(2),
32530
32536
  "& label": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" },
32531
32537
  "& div": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
32532
- }), AA = E(de)(() => ({ backgroundColor: "transparent" })), jA = E("div")(({ theme: e, error: t }) => ({
32533
- minWidth: "500px",
32534
- maxWidth: "900px",
32538
+ })), AA = E(de)(() => ({ backgroundColor: "transparent" })), jA = E("div")(({ theme: e, error: t, controlledKeypadMode: n }) => ({
32539
+ ...n ? {
32540
+ flex: 1,
32541
+ minWidth: 0
32542
+ } : {
32543
+ width: "100%",
32544
+ minWidth: "500px",
32545
+ maxWidth: "900px"
32546
+ },
32535
32547
  minHeight: "30px",
32536
- width: "100%",
32537
32548
  display: "flex",
32538
- marginTop: e.spacing(1),
32539
- marginBottom: e.spacing(1),
32540
32549
  ...t && { border: "2px solid red" },
32541
32550
  "& .mq-sqrt-prefix .mq-scaled": { verticalAlign: "middle !important" }
32542
32551
  })), MA = E(gO.Input)(({ controlledKeypadMode: e }) => ({
@@ -32724,6 +32733,7 @@ var _A = (e, t) => {
32724
32733
  })]
32725
32734
  }), /* @__PURE__ */ I(jA, {
32726
32735
  error: m,
32736
+ controlledKeypadMode: a,
32727
32737
  children: /* @__PURE__ */ I(MA, {
32728
32738
  onFocus: () => {
32729
32739
  f && f(), this.updateDisable(!1);
@@ -45893,7 +45903,7 @@ var uK = He, dK = uK.default, fK = dK && typeof dK == "object" ? dK : uK, pK = l
45893
45903
  }
45894
45904
  }, LK = Object.freeze({
45895
45905
  name: "@pie-element/multiple-choice",
45896
- version: "14.0.7-next.20261023051841"
45906
+ version: "14.0.7"
45897
45907
  });
45898
45908
  //#endregion
45899
45909
  export { IK as default, LK as piePackage };