@citolab/qti-components 6.9.1-beta.71 → 6.9.1-beta.73
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 +4 -4
- package/dist/index.min.js +2 -2
- package/dist/item.css +61 -57
- package/dist/qti-components/index.cjs +4 -4
- package/dist/qti-components/index.js +4 -4
- package/dist/qti-components-jsx.d.ts +17 -17
- package/dist/vscode.html-custom-data.json +17 -17
- package/package.json +2 -1
|
@@ -60,6 +60,13 @@ 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
|
+
|
|
63
70
|
export type ItemPrintVariablesProps = {
|
|
64
71
|
/** */
|
|
65
72
|
itemContext?: ItemContext | undefined;
|
|
@@ -96,13 +103,6 @@ export type QtiAssessmentItemProps = {
|
|
|
96
103
|
"onqti-response-processing"?: (e: CustomEvent<never>) => void;
|
|
97
104
|
};
|
|
98
105
|
|
|
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,6 +1104,16 @@ 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
|
+
|
|
1107
1117
|
/**
|
|
1108
1118
|
*
|
|
1109
1119
|
* ---
|
|
@@ -1127,16 +1137,6 @@ export type CustomElements = {
|
|
|
1127
1137
|
*/
|
|
1128
1138
|
"qti-assessment-item": Partial<QtiAssessmentItemProps & BaseProps & BaseEvents>;
|
|
1129
1139
|
|
|
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,6 +2,23 @@
|
|
|
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
|
+
},
|
|
5
22
|
{
|
|
6
23
|
"name": "item-print-variables",
|
|
7
24
|
"description": "\n---\n",
|
|
@@ -27,23 +44,6 @@
|
|
|
27
44
|
],
|
|
28
45
|
"references": []
|
|
29
46
|
},
|
|
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.73",
|
|
25
25
|
"type": "module",
|
|
26
26
|
"exports": {
|
|
27
27
|
"./qti-components": {
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
"lint": "wireit",
|
|
77
77
|
"cem": "wireit",
|
|
78
78
|
"css": "wireit",
|
|
79
|
+
"stylelint": "stylelint \"src/**/*.css\"",
|
|
79
80
|
"storybook": "storybook dev -p 6006",
|
|
80
81
|
"build-storybook": "storybook build",
|
|
81
82
|
"storybook:test": "test-storybook",
|