@pie-element/multi-trait-rubric 9.0.7-next.20261023051841 → 9.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.
@@ -62,7 +62,7 @@ var s = (e, t) => new Promise((e) => {
62
62
  }), Object.keys(s).length > 0 && (o.traitsErrors = s), Object.keys(c).length > 0 && (o.scorePointsErrors = c), o;
63
63
  }, l = Object.freeze({
64
64
  name: "@pie-element/multi-trait-rubric",
65
- version: "9.0.7-next.20261023051841"
65
+ version: "9.0.7"
66
66
  });
67
67
  //#endregion
68
68
  export { s as createCorrectResponseSession, r as createDefaultModel, a as getScore, i as model, n as normalize, o as outcome, l as piePackage, c as validate };
@@ -535,7 +535,7 @@ var ie = class extends HTMLElement {
535
535
  }
536
536
  }, ae = Object.freeze({
537
537
  name: "@pie-element/multi-trait-rubric",
538
- version: "9.0.7-next.20261023051841"
538
+ version: "9.0.7"
539
539
  });
540
540
  //#endregion
541
541
  export { ie as default, ae as piePackage };
@@ -14636,6 +14636,12 @@ var pS = (e) => e ? {
14636
14636
  children: s.map((e, t) => {
14637
14637
  let n = this.buttonClick.bind(this, e);
14638
14638
  if (!e) return /* @__PURE__ */ U("span", {}, `empty-${t}`);
14639
+ if (!(e.label || e.latex || e.icon || e.command || e.keystroke || e.write || e.type || e.actions || e.extraProps)) return /* @__PURE__ */ U(hS, {
14640
+ disabled: !0,
14641
+ "aria-hidden": "true",
14642
+ tabIndex: -1,
14643
+ category: o ? void 0 : e.category
14644
+ }, `placeholder-${t}`);
14639
14645
  let r = {
14640
14646
  onClick: n,
14641
14647
  disabled: this.keyIsNotAllowed(e),
@@ -23785,24 +23791,27 @@ var TS = (e) => String(e || "").replace(/-/g, "_"), ES = (e) => e && e.attrs &&
23785
23791
  }
23786
23792
  },
23787
23793
  "& span[data-prime=\"true\"]": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
23788
- })), qS = R(me)({
23789
- flex: "initial",
23790
- width: "25%",
23794
+ })), qS = R(me)(({ theme: e }) => ({
23795
+ width: "fit-content",
23791
23796
  minWidth: "100px",
23792
- marginLeft: "15px",
23793
- marginTop: "5px",
23794
- marginBottom: "5px",
23795
- marginRight: "5px",
23797
+ maxWidth: "150px",
23798
+ marginLeft: e.spacing(2),
23799
+ marginTop: e.spacing(.5),
23800
+ marginBottom: e.spacing(.5),
23801
+ marginRight: e.spacing(2),
23796
23802
  "& label": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" },
23797
23803
  "& div": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
23798
- }), JS = R(we)(() => ({ backgroundColor: "transparent" })), YS = R("div")(({ theme: e, error: t }) => ({
23799
- minWidth: "500px",
23800
- maxWidth: "900px",
23804
+ })), JS = R(we)(() => ({ backgroundColor: "transparent" })), YS = R("div")(({ theme: e, error: t, controlledKeypadMode: n }) => ({
23805
+ ...n ? {
23806
+ flex: 1,
23807
+ minWidth: 0
23808
+ } : {
23809
+ width: "100%",
23810
+ minWidth: "500px",
23811
+ maxWidth: "900px"
23812
+ },
23801
23813
  minHeight: "30px",
23802
- width: "100%",
23803
23814
  display: "flex",
23804
- marginTop: e.spacing(1),
23805
- marginBottom: e.spacing(1),
23806
23815
  ...t && { border: "2px solid red" },
23807
23816
  "& .mq-sqrt-prefix .mq-scaled": { verticalAlign: "middle !important" }
23808
23817
  })), XS = R(aS.Input)(({ controlledKeypadMode: e }) => ({
@@ -23990,6 +23999,7 @@ var TS = (e) => String(e || "").replace(/-/g, "_"), ES = (e) => e && e.attrs &&
23990
23999
  })]
23991
24000
  }), /* @__PURE__ */ U(YS, {
23992
24001
  error: m,
24002
+ controlledKeypadMode: a,
23993
24003
  children: /* @__PURE__ */ U(XS, {
23994
24004
  onFocus: () => {
23995
24005
  f && f(), this.updateDisable(!1);
@@ -30352,7 +30362,7 @@ var { Panel: mk, toggle: hk } = PD, gk = "650px", _k = R("div")(({ theme: e }) =
30352
30362
  }
30353
30363
  }, Ck = Object.freeze({
30354
30364
  name: "@pie-element/multi-trait-rubric",
30355
- version: "9.0.7-next.20261023051841"
30365
+ version: "9.0.7"
30356
30366
  });
30357
30367
  //#endregion
30358
30368
  export { Sk as default, Ck as piePackage };