@pie-element/inline-dropdown 11.0.7-next.20261023051841 → 11.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.
@@ -193,7 +193,7 @@ var x = (e, t) => new Promise((n) => {
193
193
  }), o;
194
194
  }, w = Object.freeze({
195
195
  name: "@pie-element/inline-dropdown",
196
- version: "11.0.7-next.20261023051841"
196
+ version: "11.0.7"
197
197
  });
198
198
  //#endregion
199
199
  export { x as createCorrectResponseSession, y as getLogTrace, v as getScore, _ as model, g as normalize, b as outcome, w as piePackage, C as validate };
@@ -1359,7 +1359,7 @@ var Dt = x, X = Dt.default, Z = X && typeof X == "object" ? X : Dt, Ot = Y(i, "U
1359
1359
  }
1360
1360
  }, zt = Object.freeze({
1361
1361
  name: "@pie-element/inline-dropdown",
1362
- version: "11.0.7-next.20261023051841"
1362
+ version: "11.0.7"
1363
1363
  });
1364
1364
  //#endregion
1365
1365
  export { Rt as default, zt as piePackage };
@@ -6860,6 +6860,12 @@ var ff = (e) => e ? {
6860
6860
  children: s.map((e, t) => {
6861
6861
  let n = this.buttonClick.bind(this, e);
6862
6862
  if (!e) return /* @__PURE__ */ U("span", {}, `empty-${t}`);
6863
+ if (!(e.label || e.latex || e.icon || e.command || e.keystroke || e.write || e.type || e.actions || e.extraProps)) return /* @__PURE__ */ U(mf, {
6864
+ disabled: !0,
6865
+ "aria-hidden": "true",
6866
+ tabIndex: -1,
6867
+ category: o ? void 0 : e.category
6868
+ }, `placeholder-${t}`);
6863
6869
  let r = {
6864
6870
  onClick: n,
6865
6871
  disabled: this.keyIsNotAllowed(e),
@@ -17727,24 +17733,27 @@ var { commonMqFontStyles: rm, commonMqKeyboardStyles: im, longdivStyles: am, sup
17727
17733
  }
17728
17734
  },
17729
17735
  "& span[data-prime=\"true\"]": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
17730
- })), dm = L(fe)({
17731
- flex: "initial",
17732
- width: "25%",
17736
+ })), dm = L(fe)(({ theme: e }) => ({
17737
+ width: "fit-content",
17733
17738
  minWidth: "100px",
17734
- marginLeft: "15px",
17735
- marginTop: "5px",
17736
- marginBottom: "5px",
17737
- marginRight: "5px",
17739
+ maxWidth: "150px",
17740
+ marginLeft: e.spacing(2),
17741
+ marginTop: e.spacing(.5),
17742
+ marginBottom: e.spacing(.5),
17743
+ marginRight: e.spacing(2),
17738
17744
  "& label": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" },
17739
17745
  "& div": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
17740
- }), fm = L(Xe)(() => ({ backgroundColor: "transparent" })), pm = L("div")(({ theme: e, error: t }) => ({
17741
- minWidth: "500px",
17742
- maxWidth: "900px",
17746
+ })), fm = L(Xe)(() => ({ backgroundColor: "transparent" })), pm = L("div")(({ theme: e, error: t, controlledKeypadMode: n }) => ({
17747
+ ...n ? {
17748
+ flex: 1,
17749
+ minWidth: 0
17750
+ } : {
17751
+ width: "100%",
17752
+ minWidth: "500px",
17753
+ maxWidth: "900px"
17754
+ },
17743
17755
  minHeight: "30px",
17744
- width: "100%",
17745
17756
  display: "flex",
17746
- marginTop: e.spacing(1),
17747
- marginBottom: e.spacing(1),
17748
17757
  ...t && { border: "2px solid red" },
17749
17758
  "& .mq-sqrt-prefix .mq-scaled": { verticalAlign: "middle !important" }
17750
17759
  })), mm = L(rf.Input)(({ controlledKeypadMode: e }) => ({
@@ -17932,6 +17941,7 @@ var { commonMqFontStyles: rm, commonMqKeyboardStyles: im, longdivStyles: am, sup
17932
17941
  })]
17933
17942
  }), /* @__PURE__ */ U(pm, {
17934
17943
  error: m,
17944
+ controlledKeypadMode: a,
17935
17945
  children: /* @__PURE__ */ U(mm, {
17936
17946
  onFocus: () => {
17937
17947
  f && f(), this.updateDisable(!1);
@@ -28441,7 +28451,7 @@ var Gw = Ne, Kw = Gw.default, qw = Kw && typeof Kw == "object" ? Kw : Gw, Jw = W
28441
28451
  }
28442
28452
  }, BT = Object.freeze({
28443
28453
  name: "@pie-element/inline-dropdown",
28444
- version: "11.0.7-next.20261023051841"
28454
+ version: "11.0.7"
28445
28455
  });
28446
28456
  //#endregion
28447
28457
  export { zT as default, BT as piePackage };