@pie-element/matrix 5.0.7-next.20261023045657 → 5.0.7-next.20261023071029

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.
@@ -19855,6 +19855,12 @@ var wD = (e) => e ? {
19855
19855
  children: s.map((e, t) => {
19856
19856
  let n = this.buttonClick.bind(this, e);
19857
19857
  if (!e) return /* @__PURE__ */ F("span", {}, `empty-${t}`);
19858
+ if (!(e.label || e.latex || e.icon || e.command || e.keystroke || e.write || e.type || e.actions || e.extraProps)) return /* @__PURE__ */ F(ED, {
19859
+ disabled: !0,
19860
+ "aria-hidden": "true",
19861
+ tabIndex: -1,
19862
+ category: o ? void 0 : e.category
19863
+ }, `placeholder-${t}`);
19858
19864
  let r = {
19859
19865
  onClick: n,
19860
19866
  disabled: this.keyIsNotAllowed(e),
@@ -30899,24 +30905,27 @@ var wk = (e, t) => {
30899
30905
  }
30900
30906
  },
30901
30907
  "& span[data-prime=\"true\"]": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
30902
- })), Ik = N(je)({
30903
- flex: "initial",
30904
- width: "25%",
30908
+ })), Ik = N(je)(({ theme: e }) => ({
30909
+ width: "fit-content",
30905
30910
  minWidth: "100px",
30906
- marginLeft: "15px",
30907
- marginTop: "5px",
30908
- marginBottom: "5px",
30909
- marginRight: "5px",
30911
+ maxWidth: "150px",
30912
+ marginLeft: e.spacing(2),
30913
+ marginTop: e.spacing(.5),
30914
+ marginBottom: e.spacing(.5),
30915
+ marginRight: e.spacing(2),
30910
30916
  "& label": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" },
30911
30917
  "& div": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
30912
- }), Lk = N(be)(() => ({ backgroundColor: "transparent" })), Rk = N("div")(({ theme: e, error: t }) => ({
30913
- minWidth: "500px",
30914
- maxWidth: "900px",
30918
+ })), Lk = N(be)(() => ({ backgroundColor: "transparent" })), Rk = N("div")(({ theme: e, error: t, controlledKeypadMode: n }) => ({
30919
+ ...n ? {
30920
+ flex: 1,
30921
+ minWidth: 0
30922
+ } : {
30923
+ width: "100%",
30924
+ minWidth: "500px",
30925
+ maxWidth: "900px"
30926
+ },
30915
30927
  minHeight: "30px",
30916
- width: "100%",
30917
30928
  display: "flex",
30918
- marginTop: e.spacing(1),
30919
- marginBottom: e.spacing(1),
30920
30929
  ...t && { border: "2px solid red" },
30921
30930
  "& .mq-sqrt-prefix .mq-scaled": { verticalAlign: "middle !important" }
30922
30931
  })), zk = N(gD.Input)(({ controlledKeypadMode: e }) => ({
@@ -31104,6 +31113,7 @@ var wk = (e, t) => {
31104
31113
  })]
31105
31114
  }), /* @__PURE__ */ F(Rk, {
31106
31115
  error: m,
31116
+ controlledKeypadMode: a,
31107
31117
  children: /* @__PURE__ */ F(zk, {
31108
31118
  onFocus: () => {
31109
31119
  f && f(), this.updateDisable(!1);
@@ -42174,7 +42184,7 @@ var kH = N(gM)(() => ({})), AH = class extends mt.Component {
42174
42184
  height: e.spacing(3)
42175
42185
  },
42176
42186
  ...n && { color: `${e.palette.error.main} !important` }
42177
- })), NH = ({ mini: e = !1, checked: t, onChange: n, value: r = "", label: i, ariaLabel: a, error: o = !1 }) => /* @__PURE__ */ F(jH, {
42187
+ })), NH = ({ mini: e = !1, checked: t, onChange: n, value: r = "", label: i, ariaLabel: a = "", error: o = !1 }) => /* @__PURE__ */ F(jH, {
42178
42188
  mini: e,
42179
42189
  control: /* @__PURE__ */ F(MH, {
42180
42190
  checked: t,
@@ -42182,7 +42192,7 @@ var kH = N(gM)(() => ({})), AH = class extends mt.Component {
42182
42192
  value: r,
42183
42193
  mini: e,
42184
42194
  error: o,
42185
- slotProps: { input: { "aria-label": a } }
42195
+ slotProps: { input: { "aria-label": a || void 0 } }
42186
42196
  }),
42187
42197
  label: i
42188
42198
  });
@@ -44159,7 +44169,7 @@ var { Panel: qG, toggle: JG, radio: YG } = SW, XG = N(LW)(({ theme: e }) => ({
44159
44169
  }
44160
44170
  }, aK = Object.freeze({
44161
44171
  name: "@pie-element/matrix",
44162
- version: "5.0.7-next.20261023045657"
44172
+ version: "5.0.7-next.20261023071029"
44163
44173
  });
44164
44174
  //#endregion
44165
44175
  export { iK as default, aK as piePackage };