@pie-element/math-inline 13.0.3-next.20261007184841 → 13.0.3-next.20261007204357

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.
@@ -293,98 +293,95 @@ var W = class extends n.Component {
293
293
  j && /* @__PURE__ */ x(ce, { children: /* @__PURE__ */ x(M, { prompt: j }) }),
294
294
  ge ? _e : /* @__PURE__ */ x(te, {
295
295
  false: !0,
296
- children: /* @__PURE__ */ S(fe, {
297
- tabIndex: 0,
298
- children: [F === e.simple && /* @__PURE__ */ x(t, {
299
- onSimpleResponseChange: this.onSimpleResponseChange,
300
- showCorrect: i,
301
- emptyResponse: H,
302
- model: n,
303
- session: a,
304
- onSubFieldFocus: this.onSubFieldFocus,
305
- showKeypad: !!r
306
- }), F === e.advanced && /* @__PURE__ */ x(de, {
307
- ref: s,
308
- isIncorrect: !H && !Y && !i,
309
- isCorrect: !H && (Y || i),
310
- showCorrectness: !H && d && u && !p,
311
- correctAnswerShown: i,
312
- printCorrect: C && w,
313
- children: /* @__PURE__ */ x(T, {
314
- ref: (e) => this.setTooltipRef(e),
315
- enterTouchDelay: 0,
316
- interactive: !0,
317
- open: !!r,
318
- slotProps: {
319
- popper: {
320
- container: s?.current || void 0,
321
- placement: "bottom-start",
322
- sx: {
323
- backgroundColor: "transparent",
324
- width: "650px",
325
- opacity: 1,
326
- "& .MuiTooltip-arrow": { display: "none" }
296
+ children: /* @__PURE__ */ S(fe, { children: [F === e.simple && /* @__PURE__ */ x(t, {
297
+ onSimpleResponseChange: this.onSimpleResponseChange,
298
+ showCorrect: i,
299
+ emptyResponse: H,
300
+ model: n,
301
+ session: a,
302
+ onSubFieldFocus: this.onSubFieldFocus,
303
+ showKeypad: !!r
304
+ }), F === e.advanced && /* @__PURE__ */ x(de, {
305
+ ref: s,
306
+ isIncorrect: !H && !Y && !i,
307
+ isCorrect: !H && (Y || i),
308
+ showCorrectness: !H && d && u && !p,
309
+ correctAnswerShown: i,
310
+ printCorrect: C && w,
311
+ children: /* @__PURE__ */ x(T, {
312
+ ref: (e) => this.setTooltipRef(e),
313
+ enterTouchDelay: 0,
314
+ interactive: !0,
315
+ open: !!r,
316
+ slotProps: {
317
+ popper: {
318
+ container: s?.current || void 0,
319
+ placement: "bottom-start",
320
+ sx: {
321
+ backgroundColor: "transparent",
322
+ width: "650px",
323
+ opacity: 1,
324
+ "& .MuiTooltip-arrow": { display: "none" }
325
+ },
326
+ modifiers: [
327
+ {
328
+ name: "offset",
329
+ options: { offset: [0, 8] }
327
330
  },
328
- modifiers: [
329
- {
330
- name: "offset",
331
- options: { offset: [0, 8] }
332
- },
333
- {
334
- name: "preventOverflow",
335
- enabled: !0,
336
- options: {
337
- boundary: "viewport",
338
- padding: 8
339
- }
340
- },
341
- {
342
- name: "computeStyles",
343
- options: {
344
- adaptive: !0,
345
- gpuAcceleration: !0
346
- }
347
- },
348
- {
349
- name: "flip",
350
- enabled: !1
331
+ {
332
+ name: "preventOverflow",
333
+ enabled: !0,
334
+ options: {
335
+ boundary: "viewport",
336
+ padding: 8
351
337
  }
352
- ]
353
- },
354
- tooltip: { sx: {
355
- fontSize: "initial",
356
- backgroundColor: "transparent",
357
- width: "600px",
358
- marginTop: 0,
359
- paddingTop: 0,
360
- boxShadow: "none"
361
- } }
338
+ },
339
+ {
340
+ name: "computeStyles",
341
+ options: {
342
+ adaptive: !0,
343
+ gpuAcceleration: !0
344
+ }
345
+ },
346
+ {
347
+ name: "flip",
348
+ enabled: !1
349
+ }
350
+ ]
362
351
  },
363
- title: Object.keys(a.answers).map((e) => e === r && !(i || d) && /* @__PURE__ */ x(ue, {
364
- "data-keypad": !0,
365
- style: { width: ae(G, I) },
366
- children: /* @__PURE__ */ x(o, {
367
- additionalKeys: G,
368
- mode: I || re,
369
- onClick: this.onClick
370
- })
371
- }, e) || null),
372
- children: /* @__PURE__ */ x("div", { children: /* @__PURE__ */ x(c.Static, {
373
- className: "static-math",
374
- ref: (e) => {
375
- e && (this.mqStatic = e);
376
- },
377
- latex: X,
378
- language: E,
379
- onSubFieldChange: this.subFieldChanged,
380
- getFieldName: this.getFieldName,
381
- setInput: this.setInput,
382
- onSubFieldFocus: this.onSubFieldFocus,
383
- onBlur: this.onBlur
384
- }) })
385
- })
386
- })]
387
- })
352
+ tooltip: { sx: {
353
+ fontSize: "initial",
354
+ backgroundColor: "transparent",
355
+ width: "600px",
356
+ marginTop: 0,
357
+ paddingTop: 0,
358
+ boxShadow: "none"
359
+ } }
360
+ },
361
+ title: Object.keys(a.answers).map((e) => e === r && !(i || d) && /* @__PURE__ */ x(ue, {
362
+ "data-keypad": !0,
363
+ style: { width: ae(G, I) },
364
+ children: /* @__PURE__ */ x(o, {
365
+ additionalKeys: G,
366
+ mode: I || re,
367
+ onClick: this.onClick
368
+ })
369
+ }, e) || null),
370
+ children: /* @__PURE__ */ x("div", { children: /* @__PURE__ */ x(c.Static, {
371
+ className: "static-math",
372
+ ref: (e) => {
373
+ e && (this.mqStatic = e);
374
+ },
375
+ latex: X,
376
+ language: E,
377
+ onSubFieldChange: this.subFieldChanged,
378
+ getFieldName: this.getFieldName,
379
+ setInput: this.setInput,
380
+ onSubFieldFocus: this.onSubFieldFocus,
381
+ onBlur: this.onBlur
382
+ }) })
383
+ })
384
+ })] })
388
385
  }),
389
386
  Z && V && /* @__PURE__ */ x(le, { dangerouslySetInnerHTML: { __html: `<strong>Note:</strong> ${O(A)}` } }),
390
387
  Z && Q && (v ? /* @__PURE__ */ x("div", { dangerouslySetInnerHTML: { __html: O(h) } }) : /* @__PURE__ */ x(N, {