@pie-element/matrix 5.0.5 → 5.0.6-next.20261016234357

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.
@@ -55,7 +55,7 @@ var a = (e, t) => new Promise((n) => {
55
55
  }), n;
56
56
  }, c = Object.freeze({
57
57
  name: "@pie-element/matrix",
58
- version: "5.0.5"
58
+ version: "5.0.6-next.20261016234357"
59
59
  });
60
60
  //#endregion
61
61
  export { a as createCorrectResponseSession, n as createDefaultModel, r as model, i as outcome, c as piePackage, s as validate };
@@ -1,5 +1,5 @@
1
1
  import { h as e } from "../speech-worker-CTpOB9m5-pwCKeQ9c.js";
2
- import { E as t, Mt as n, O as r, T as i, a, d as o, i as s, jt as c, kt as l, st as u, t as d, y as f } from "../Radio-xpT0fBwu.js";
2
+ import { E as t, Mt as n, O as r, a as i, b as a, f as o, jt as s, kt as c, n as l, o as u, st as d, t as f } from "../dist-BD7DtVNy.js";
3
3
  import p from "react";
4
4
  import { createRoot as m } from "react-dom/client";
5
5
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
@@ -33,10 +33,10 @@ var _ = class e extends CustomEvent {
33
33
  }
34
34
  }), this.component = t, this.complete = n;
35
35
  }
36
- }, v = /* @__PURE__ */ e(c(), 1), y = u(d)({
37
- "&.MuiRadio-root": { color: `var(--choice-input-color, ${l.text()})` },
38
- "&.MuiRadio-root.Mui-checked": { color: `var(--choice-input-selected-color, ${l.primary()})` },
39
- "&.MuiRadio-root.Mui-disabled": { color: `var(--choice-input-disabled-color, ${l.defaults.DISABLED})` }
36
+ }, v = /* @__PURE__ */ e(s(), 1), y = d(l)({
37
+ "&.MuiRadio-root": { color: `var(--choice-input-color, ${c.text()})` },
38
+ "&.MuiRadio-root.Mui-checked": { color: `var(--choice-input-selected-color, ${c.primary()})` },
39
+ "&.MuiRadio-root.Mui-disabled": { color: `var(--choice-input-disabled-color, ${c.defaults.DISABLED})` }
40
40
  }), b = (e) => {
41
41
  let { disabled: t, checked: n, labelledBy: r, matrixKey: i, matrixValue: a, name: o, onChange: s } = e;
42
42
  return /* @__PURE__ */ h(y, {
@@ -66,30 +66,30 @@ b.propTypes = {
66
66
  };
67
67
  //#endregion
68
68
  //#region src/delivery/Matrix.tsx
69
- var { translator: x } = t;
69
+ var { translator: x } = f;
70
70
  function S(e) {
71
71
  return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
72
72
  }
73
73
  function C(e, t) {
74
74
  return !e || S(e) ? e : S(e.default) ? e.default : t && S(e[t]) ? e[t] : t && S(e[t]?.default) ? e[t].default : e;
75
75
  }
76
- var w = a, T = w.default, E = T && typeof T == "object" ? T : w, D = C(o, "PreviewPrompt") || C(E.PreviewPrompt, "PreviewPrompt"), O = C(i, "Collapsible") || C(E.Collapsible, "Collapsible"), k = s.div`
77
- color: ${l.text()};
78
- background-color: ${l.background()};
76
+ var w = u, T = w.default, E = T && typeof T == "object" ? T : w, D = C(o, "PreviewPrompt") || C(E.PreviewPrompt, "PreviewPrompt"), O = C(t, "Collapsible") || C(E.Collapsible, "Collapsible"), k = i.div`
77
+ color: ${c.text()};
78
+ background-color: ${c.background()};
79
79
  font-family: Roboto, Arial, Helvetica, sans-serif;
80
- `, A = s.div`
80
+ `, A = i.div`
81
81
  display: grid;
82
82
  grid-template-columns: ${(e) => e.gridTemplateColumns};
83
83
  grid-column-gap: 30px;
84
84
  grid-row-gap: 20px;
85
85
  margin-top: 20px;
86
- `, j = s.div`
86
+ `, j = i.div`
87
87
  grid-column: 1 / -1;
88
88
  display: grid;
89
89
  grid-template-columns: subgrid;
90
- `, M = s(O)`
90
+ `, M = i(O)`
91
91
  margin-bottom: 16px;
92
- `, N = s.div`
92
+ `, N = i.div`
93
93
  align-self: center;
94
94
  justify-self: center;
95
95
  white-space: nowrap;
@@ -158,7 +158,7 @@ function F(e) {
158
158
  function I(e, t) {
159
159
  return !e || F(e) ? e : F(e.default) ? e.default : t && F(e[t]) ? e[t] : t && F(e[t]?.default) ? e[t].default : e;
160
160
  }
161
- var L = a, R = L.default, z = R && typeof R == "object" ? R : L, B = I(f, "PreviewLayout") || I(z.PreviewLayout, "PreviewLayout"), V = class extends p.Component {
161
+ var L = u, R = L.default, z = R && typeof R == "object" ? R : L, B = I(a, "PreviewLayout") || I(z.PreviewLayout, "PreviewLayout"), V = class extends p.Component {
162
162
  static propTypes = {
163
163
  model: v.default.object,
164
164
  session: v.default.object,
@@ -217,7 +217,7 @@ var L = a, R = L.default, z = R && typeof R == "object" ? R : L, B = I(f, "Previ
217
217
  }
218
218
  }, W = Object.freeze({
219
219
  name: "@pie-element/matrix",
220
- version: "5.0.5"
220
+ version: "5.0.6-next.20261016234357"
221
221
  });
222
222
  //#endregion
223
223
  export { U as default, H as isComplete, W as piePackage };