@pie-element/categorize 14.0.7-next.20261023045657 → 14.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.
@@ -25530,6 +25530,12 @@ var uN = (e) => e ? {
25530
25530
  children: s.map((e, t) => {
25531
25531
  let n = this.buttonClick.bind(this, e);
25532
25532
  if (!e) return /* @__PURE__ */ L("span", {}, `empty-${t}`);
25533
+ if (!(e.label || e.latex || e.icon || e.command || e.keystroke || e.write || e.type || e.actions || e.extraProps)) return /* @__PURE__ */ L(fN, {
25534
+ disabled: !0,
25535
+ "aria-hidden": "true",
25536
+ tabIndex: -1,
25537
+ category: o ? void 0 : e.category
25538
+ }, `placeholder-${t}`);
25533
25539
  let r = {
25534
25540
  onClick: n,
25535
25541
  disabled: this.keyIsNotAllowed(e),
@@ -34679,24 +34685,27 @@ var SN = (e) => String(e || "").replace(/-/g, "_"), CN = (e) => e && e.attrs &&
34679
34685
  }
34680
34686
  },
34681
34687
  "& span[data-prime=\"true\"]": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
34682
- })), WN = C(a)({
34683
- flex: "initial",
34684
- width: "25%",
34688
+ })), WN = C(a)(({ theme: e }) => ({
34689
+ width: "fit-content",
34685
34690
  minWidth: "100px",
34686
- marginLeft: "15px",
34687
- marginTop: "5px",
34688
- marginBottom: "5px",
34689
- marginRight: "5px",
34691
+ maxWidth: "150px",
34692
+ marginLeft: e.spacing(2),
34693
+ marginTop: e.spacing(.5),
34694
+ marginBottom: e.spacing(.5),
34695
+ marginRight: e.spacing(2),
34690
34696
  "& label": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" },
34691
34697
  "& div": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
34692
- }), GN = C(S)(() => ({ backgroundColor: "transparent" })), KN = C("div")(({ theme: e, error: t }) => ({
34693
- minWidth: "500px",
34694
- maxWidth: "900px",
34698
+ })), GN = C(S)(() => ({ backgroundColor: "transparent" })), KN = C("div")(({ theme: e, error: t, controlledKeypadMode: n }) => ({
34699
+ ...n ? {
34700
+ flex: 1,
34701
+ minWidth: 0
34702
+ } : {
34703
+ width: "100%",
34704
+ minWidth: "500px",
34705
+ maxWidth: "900px"
34706
+ },
34695
34707
  minHeight: "30px",
34696
- width: "100%",
34697
34708
  display: "flex",
34698
- marginTop: e.spacing(1),
34699
- marginBottom: e.spacing(1),
34700
34709
  ...t && { border: "2px solid red" },
34701
34710
  "& .mq-sqrt-prefix .mq-scaled": { verticalAlign: "middle !important" }
34702
34711
  })), qN = C(nN.Input)(({ controlledKeypadMode: e }) => ({
@@ -34884,6 +34893,7 @@ var SN = (e) => String(e || "").replace(/-/g, "_"), CN = (e) => e && e.attrs &&
34884
34893
  })]
34885
34894
  }), /* @__PURE__ */ L(KN, {
34886
34895
  error: m,
34896
+ controlledKeypadMode: a,
34887
34897
  children: /* @__PURE__ */ L(qN, {
34888
34898
  onFocus: () => {
34889
34899
  f && f(), this.updateDisable(!1);
@@ -42339,7 +42349,7 @@ var dH = tt, fH = dH.default, pH = fH && typeof fH == "object" ? fH : dH, mH = u
42339
42349
  height: e.spacing(3)
42340
42350
  },
42341
42351
  ...n && { color: `${e.palette.error.main} !important` }
42342
- })), NH = ({ mini: e = !1, checked: t, onChange: n, value: r = "", label: i, ariaLabel: a, error: o = !1 }) => /* @__PURE__ */ L(jH, {
42352
+ })), NH = ({ mini: e = !1, checked: t, onChange: n, value: r = "", label: i, ariaLabel: a = "", error: o = !1 }) => /* @__PURE__ */ L(jH, {
42343
42353
  mini: e,
42344
42354
  control: /* @__PURE__ */ L(MH, {
42345
42355
  checked: t,
@@ -42347,7 +42357,7 @@ var dH = tt, fH = dH.default, pH = fH && typeof fH == "object" ? fH : dH, mH = u
42347
42357
  value: r,
42348
42358
  mini: e,
42349
42359
  error: o,
42350
- slotProps: { input: { "aria-label": a } }
42360
+ slotProps: { input: { "aria-label": a || void 0 } }
42351
42361
  }),
42352
42362
  label: i
42353
42363
  });
@@ -44999,7 +45009,7 @@ var ZG = Me.withUid(XG), QG = C("div")(({ theme: e }) => ({
44999
45009
  }
45000
45010
  }, CK = Object.freeze({
45001
45011
  name: "@pie-element/categorize",
45002
- version: "14.0.7-next.20261023045657"
45012
+ version: "14.0.7-next.20261023071029"
45003
45013
  });
45004
45014
  //#endregion
45005
45015
  export { SK as default, CK as piePackage };