@pie-element/likert 5.0.7-next.20261023051841 → 5.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.
- package/dist/browser/author/index.js +24 -14
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/delivery/index.js +1 -1
- package/dist/browser/editor-runtime/author/index.js +24 -14
- package/dist/browser/editor-runtime/author/index.js.map +1 -1
- package/dist/browser/editor-runtime/controller/index.js +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +1 -1
- package/dist/schemas/configuration.schema.json +1 -1
- package/dist/schemas/model.schema.json +1 -1
- package/dist/schemas/session.schema.json +1 -1
- package/package.json +12 -12
|
@@ -20459,6 +20459,12 @@ var Ik = (e) => e ? {
|
|
|
20459
20459
|
children: s.map((e, t) => {
|
|
20460
20460
|
let n = this.buttonClick.bind(this, e);
|
|
20461
20461
|
if (!e) return /* @__PURE__ */ P("span", {}, `empty-${t}`);
|
|
20462
|
+
if (!(e.label || e.latex || e.icon || e.command || e.keystroke || e.write || e.type || e.actions || e.extraProps)) return /* @__PURE__ */ P(Rk, {
|
|
20463
|
+
disabled: !0,
|
|
20464
|
+
"aria-hidden": "true",
|
|
20465
|
+
tabIndex: -1,
|
|
20466
|
+
category: o ? void 0 : e.category
|
|
20467
|
+
}, `placeholder-${t}`);
|
|
20462
20468
|
let r = {
|
|
20463
20469
|
onClick: n,
|
|
20464
20470
|
disabled: this.keyIsNotAllowed(e),
|
|
@@ -31351,24 +31357,27 @@ var kj = (e, t) => {
|
|
|
31351
31357
|
}
|
|
31352
31358
|
},
|
|
31353
31359
|
"& span[data-prime=\"true\"]": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
|
|
31354
|
-
})), Vj = M(De)({
|
|
31355
|
-
|
|
31356
|
-
width: "25%",
|
|
31360
|
+
})), Vj = M(De)(({ theme: e }) => ({
|
|
31361
|
+
width: "fit-content",
|
|
31357
31362
|
minWidth: "100px",
|
|
31358
|
-
|
|
31359
|
-
|
|
31360
|
-
|
|
31361
|
-
|
|
31363
|
+
maxWidth: "150px",
|
|
31364
|
+
marginLeft: e.spacing(2),
|
|
31365
|
+
marginTop: e.spacing(.5),
|
|
31366
|
+
marginBottom: e.spacing(.5),
|
|
31367
|
+
marginRight: e.spacing(2),
|
|
31362
31368
|
"& label": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" },
|
|
31363
31369
|
"& div": { fontFamily: "Roboto, Helvetica, Arial, sans-serif !important" }
|
|
31364
|
-
}), Hj = M(he)(() => ({ backgroundColor: "transparent" })), Uj = M("div")(({ theme: e, error: t }) => ({
|
|
31365
|
-
|
|
31366
|
-
|
|
31370
|
+
})), Hj = M(he)(() => ({ backgroundColor: "transparent" })), Uj = M("div")(({ theme: e, error: t, controlledKeypadMode: n }) => ({
|
|
31371
|
+
...n ? {
|
|
31372
|
+
flex: 1,
|
|
31373
|
+
minWidth: 0
|
|
31374
|
+
} : {
|
|
31375
|
+
width: "100%",
|
|
31376
|
+
minWidth: "500px",
|
|
31377
|
+
maxWidth: "900px"
|
|
31378
|
+
},
|
|
31367
31379
|
minHeight: "30px",
|
|
31368
|
-
width: "100%",
|
|
31369
31380
|
display: "flex",
|
|
31370
|
-
marginTop: e.spacing(1),
|
|
31371
|
-
marginBottom: e.spacing(1),
|
|
31372
31381
|
...t && { border: "2px solid red" },
|
|
31373
31382
|
"& .mq-sqrt-prefix .mq-scaled": { verticalAlign: "middle !important" }
|
|
31374
31383
|
})), Wj = M(Ok.Input)(({ controlledKeypadMode: e }) => ({
|
|
@@ -31556,6 +31565,7 @@ var kj = (e, t) => {
|
|
|
31556
31565
|
})]
|
|
31557
31566
|
}), /* @__PURE__ */ P(Uj, {
|
|
31558
31567
|
error: m,
|
|
31568
|
+
controlledKeypadMode: a,
|
|
31559
31569
|
children: /* @__PURE__ */ P(Wj, {
|
|
31560
31570
|
onFocus: () => {
|
|
31561
31571
|
f && f(), this.updateDisable(!1);
|
|
@@ -44267,7 +44277,7 @@ var jK = Re, MK = jK.default, NK = MK && typeof MK == "object" ? MK : jK, PK = A
|
|
|
44267
44277
|
}
|
|
44268
44278
|
}, Aq = Object.freeze({
|
|
44269
44279
|
name: "@pie-element/likert",
|
|
44270
|
-
version: "5.0.7
|
|
44280
|
+
version: "5.0.7"
|
|
44271
44281
|
});
|
|
44272
44282
|
//#endregion
|
|
44273
44283
|
export { kq as default, Aq as piePackage };
|