@citolab/qti-components 6.9.1-beta.70 → 6.9.1-beta.72
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/custom-elements.json +92 -92
- package/dist/index.global.js +1 -1
- package/dist/index.js +3 -3
- package/dist/index.min.js +1 -1
- package/dist/item.css +12 -5
- package/dist/qti-components/index.cjs +3 -3
- package/dist/qti-components/index.js +3 -3
- package/dist/qti-components-jsx.d.ts +17 -17
- package/dist/vscode.html-custom-data.json +17 -17
- package/package.json +1 -2
|
@@ -60,13 +60,6 @@ type BaseProps = {
|
|
|
60
60
|
|
|
61
61
|
type BaseEvents = {};
|
|
62
62
|
|
|
63
|
-
export type QtiAssessmentStimulusRefProps = {
|
|
64
|
-
/** The identifier of the stimulus. */
|
|
65
|
-
identifier?: string;
|
|
66
|
-
/** The href of the stimulus. */
|
|
67
|
-
href?: string;
|
|
68
|
-
};
|
|
69
|
-
|
|
70
63
|
export type ItemPrintVariablesProps = {
|
|
71
64
|
/** */
|
|
72
65
|
itemContext?: ItemContext | undefined;
|
|
@@ -103,6 +96,13 @@ export type QtiAssessmentItemProps = {
|
|
|
103
96
|
"onqti-response-processing"?: (e: CustomEvent<never>) => void;
|
|
104
97
|
};
|
|
105
98
|
|
|
99
|
+
export type QtiAssessmentStimulusRefProps = {
|
|
100
|
+
/** The identifier of the stimulus. */
|
|
101
|
+
identifier?: string;
|
|
102
|
+
/** The href of the stimulus. */
|
|
103
|
+
href?: string;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
106
|
export type QtiCompanionMaterialsInfoProps = {};
|
|
107
107
|
|
|
108
108
|
export type QtiCustomOperatorProps = {
|
|
@@ -1104,16 +1104,6 @@ export type QtiItemProps = {
|
|
|
1104
1104
|
};
|
|
1105
1105
|
|
|
1106
1106
|
export type CustomElements = {
|
|
1107
|
-
/**
|
|
1108
|
-
* Represents a custom element for referencing an assessment stimulus.
|
|
1109
|
-
* ---
|
|
1110
|
-
*
|
|
1111
|
-
*
|
|
1112
|
-
* ### **Methods:**
|
|
1113
|
-
* - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.
|
|
1114
|
-
*/
|
|
1115
|
-
"qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps & BaseEvents>;
|
|
1116
|
-
|
|
1117
1107
|
/**
|
|
1118
1108
|
*
|
|
1119
1109
|
* ---
|
|
@@ -1137,6 +1127,16 @@ export type CustomElements = {
|
|
|
1137
1127
|
*/
|
|
1138
1128
|
"qti-assessment-item": Partial<QtiAssessmentItemProps & BaseProps & BaseEvents>;
|
|
1139
1129
|
|
|
1130
|
+
/**
|
|
1131
|
+
* Represents a custom element for referencing an assessment stimulus.
|
|
1132
|
+
* ---
|
|
1133
|
+
*
|
|
1134
|
+
*
|
|
1135
|
+
* ### **Methods:**
|
|
1136
|
+
* - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.
|
|
1137
|
+
*/
|
|
1138
|
+
"qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps & BaseEvents>;
|
|
1139
|
+
|
|
1140
1140
|
/**
|
|
1141
1141
|
*
|
|
1142
1142
|
* ---
|
|
@@ -2,23 +2,6 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
|
|
3
3
|
"version": 1.1,
|
|
4
4
|
"tags": [
|
|
5
|
-
{
|
|
6
|
-
"name": "qti-assessment-stimulus-ref",
|
|
7
|
-
"description": "Represents a custom element for referencing an assessment stimulus.\n---\n\n\n### **Methods:**\n - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.",
|
|
8
|
-
"attributes": [
|
|
9
|
-
{
|
|
10
|
-
"name": "identifier",
|
|
11
|
-
"description": "The identifier of the stimulus.",
|
|
12
|
-
"values": []
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"name": "href",
|
|
16
|
-
"description": "The href of the stimulus.",
|
|
17
|
-
"values": []
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"references": []
|
|
21
|
-
},
|
|
22
5
|
{
|
|
23
6
|
"name": "item-print-variables",
|
|
24
7
|
"description": "\n---\n",
|
|
@@ -44,6 +27,23 @@
|
|
|
44
27
|
],
|
|
45
28
|
"references": []
|
|
46
29
|
},
|
|
30
|
+
{
|
|
31
|
+
"name": "qti-assessment-stimulus-ref",
|
|
32
|
+
"description": "Represents a custom element for referencing an assessment stimulus.\n---\n\n\n### **Methods:**\n - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.",
|
|
33
|
+
"attributes": [
|
|
34
|
+
{
|
|
35
|
+
"name": "identifier",
|
|
36
|
+
"description": "The identifier of the stimulus.",
|
|
37
|
+
"values": []
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "href",
|
|
41
|
+
"description": "The href of the stimulus.",
|
|
42
|
+
"values": []
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"references": []
|
|
46
|
+
},
|
|
47
47
|
{
|
|
48
48
|
"name": "qti-companion-materials-info",
|
|
49
49
|
"description": "\n---\n",
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"engines": {
|
|
22
22
|
"node": ">=20.0.0"
|
|
23
23
|
},
|
|
24
|
-
"version": "6.9.1-beta.
|
|
24
|
+
"version": "6.9.1-beta.72",
|
|
25
25
|
"type": "module",
|
|
26
26
|
"exports": {
|
|
27
27
|
"./qti-components": {
|
|
@@ -189,7 +189,6 @@
|
|
|
189
189
|
"typescript": "^5.7.2",
|
|
190
190
|
"typescript-eslint": "^8.15.0",
|
|
191
191
|
"vite": "^5.4.11",
|
|
192
|
-
"vite-tsconfig-paths": "^5.1.3",
|
|
193
192
|
"vitest": "^2.1.5",
|
|
194
193
|
"wireit": "^0.14.9"
|
|
195
194
|
},
|