@superbuilders/incept-renderer 0.1.4 → 0.1.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/actions/index.d.ts +1 -1
- package/dist/actions/index.js +1 -8
- package/dist/actions/index.js.map +1 -1
- package/dist/components/index.d.ts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -8
- package/dist/index.js.map +1 -1
- package/dist/{schema-C3cRJWrK.d.ts → schema-DZoGAQdF.d.ts} +2 -2
- package/dist/styles/themes.css +346 -0
- package/dist/styles/themes.css.map +1 -0
- package/dist/styles/themes.d.ts +2 -0
- package/dist/{types-BqqQtPL8.d.ts → types-B7YRTQKt.d.ts} +1 -1
- package/dist/types.d.ts +2 -2
- package/package.json +5 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { C as ChoiceCorrectness,
|
|
1
|
+
import { e as ChoiceInteraction, d as AssessmentItem } from '../schema-DZoGAQdF.js';
|
|
2
|
+
export { C as ChoiceCorrectness, h as ContentBlockRenderer, a as ContentBlockRendererProps, i as QTIRenderer, Q as QTIRendererProps, b as QTITheme, R as ResponseFeedback } from '../schema-DZoGAQdF.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { EvaluationResult } from '../types.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import {
|
|
6
|
+
import { f as DisplayInlineEmbed, h as DisplayTextEmbed, d as DisplayGap } from '../types-B7YRTQKt.js';
|
|
7
7
|
import 'zod';
|
|
8
8
|
|
|
9
9
|
interface ChoiceInteractionRendererProps {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
import { d as AssessmentItem } from './schema-DZoGAQdF.js';
|
|
2
|
+
export { c as AnyInteraction, j as AssessmentItemSchema, C as ChoiceCorrectness, e as ChoiceInteraction, h as ContentBlockRenderer, a as ContentBlockRendererProps, F as FeedbackBlock, i as QTIRenderer, Q as QTIRendererProps, b as QTITheme, f as ResponseDeclaration, R as ResponseFeedback, g as ResponseProcessing } from './schema-DZoGAQdF.js';
|
|
3
|
+
export { a as DisplayBlock, b as DisplayChoice, c as DisplayChoiceInteraction, g as DisplayItem, F as FormShape, V as ValidateResult } from './types-B7YRTQKt.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
package/dist/index.js
CHANGED
|
@@ -318,14 +318,7 @@ function serializeAttributes(attrs) {
|
|
|
318
318
|
return parts.join(" ");
|
|
319
319
|
}
|
|
320
320
|
function escapeHtml(text) {
|
|
321
|
-
|
|
322
|
-
"&": "&",
|
|
323
|
-
"<": "<",
|
|
324
|
-
">": ">",
|
|
325
|
-
'"': """,
|
|
326
|
-
"'": "'"
|
|
327
|
-
};
|
|
328
|
-
return text.replace(/[&<>"']/g, (char) => escapeMap[char] || char);
|
|
321
|
+
return text.replace(/</g, "<").replace(/>/g, ">");
|
|
329
322
|
}
|
|
330
323
|
function isMathMLElement(tagName) {
|
|
331
324
|
const mathMLTags = [
|