@citolab/qti-components 6.9.1-beta.74 → 6.9.1-beta.76

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.
@@ -578,98 +578,6 @@
578
578
  "declarations": [],
579
579
  "exports": []
580
580
  },
581
- {
582
- "kind": "javascript-module",
583
- "path": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts",
584
- "declarations": [
585
- {
586
- "kind": "class",
587
- "description": "Represents a custom element for referencing an assessment stimulus.",
588
- "name": "QtiAssessmentStimulusRef",
589
- "members": [
590
- {
591
- "kind": "field",
592
- "name": "identifier",
593
- "type": {
594
- "text": "string"
595
- },
596
- "default": "''",
597
- "description": "The identifier of the stimulus.",
598
- "attribute": "identifier"
599
- },
600
- {
601
- "kind": "field",
602
- "name": "href",
603
- "type": {
604
- "text": "string"
605
- },
606
- "default": "''",
607
- "description": "The href of the stimulus.",
608
- "attribute": "href"
609
- },
610
- {
611
- "kind": "method",
612
- "name": "updateStimulusRef",
613
- "privacy": "public",
614
- "parameters": [
615
- {
616
- "name": "stimulusRef",
617
- "type": {
618
- "text": "Element"
619
- },
620
- "description": "The element to which the stimulus will be appended."
621
- }
622
- ],
623
- "description": "Loads and appends the stimulus to the specified element."
624
- }
625
- ],
626
- "attributes": [
627
- {
628
- "name": "identifier",
629
- "type": {
630
- "text": "string"
631
- },
632
- "default": "''",
633
- "description": "The identifier of the stimulus.",
634
- "fieldName": "identifier"
635
- },
636
- {
637
- "name": "href",
638
- "type": {
639
- "text": "string"
640
- },
641
- "default": "''",
642
- "description": "The href of the stimulus.",
643
- "fieldName": "href"
644
- }
645
- ],
646
- "superclass": {
647
- "name": "LitElement",
648
- "package": "lit"
649
- },
650
- "tagName": "qti-assessment-stimulus-ref",
651
- "customElement": true
652
- }
653
- ],
654
- "exports": [
655
- {
656
- "kind": "js",
657
- "name": "QtiAssessmentStimulusRef",
658
- "declaration": {
659
- "name": "QtiAssessmentStimulusRef",
660
- "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
661
- }
662
- },
663
- {
664
- "kind": "custom-element-definition",
665
- "name": "qti-assessment-stimulus-ref",
666
- "declaration": {
667
- "name": "QtiAssessmentStimulusRef",
668
- "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
669
- }
670
- }
671
- ]
672
- },
673
581
  {
674
582
  "kind": "javascript-module",
675
583
  "path": "src/lib/qti-components/qti-assessment-item/qti-assessment-item.context.ts",
@@ -1088,6 +996,98 @@
1088
996
  }
1089
997
  ]
1090
998
  },
999
+ {
1000
+ "kind": "javascript-module",
1001
+ "path": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts",
1002
+ "declarations": [
1003
+ {
1004
+ "kind": "class",
1005
+ "description": "Represents a custom element for referencing an assessment stimulus.",
1006
+ "name": "QtiAssessmentStimulusRef",
1007
+ "members": [
1008
+ {
1009
+ "kind": "field",
1010
+ "name": "identifier",
1011
+ "type": {
1012
+ "text": "string"
1013
+ },
1014
+ "default": "''",
1015
+ "description": "The identifier of the stimulus.",
1016
+ "attribute": "identifier"
1017
+ },
1018
+ {
1019
+ "kind": "field",
1020
+ "name": "href",
1021
+ "type": {
1022
+ "text": "string"
1023
+ },
1024
+ "default": "''",
1025
+ "description": "The href of the stimulus.",
1026
+ "attribute": "href"
1027
+ },
1028
+ {
1029
+ "kind": "method",
1030
+ "name": "updateStimulusRef",
1031
+ "privacy": "public",
1032
+ "parameters": [
1033
+ {
1034
+ "name": "stimulusRef",
1035
+ "type": {
1036
+ "text": "Element"
1037
+ },
1038
+ "description": "The element to which the stimulus will be appended."
1039
+ }
1040
+ ],
1041
+ "description": "Loads and appends the stimulus to the specified element."
1042
+ }
1043
+ ],
1044
+ "attributes": [
1045
+ {
1046
+ "name": "identifier",
1047
+ "type": {
1048
+ "text": "string"
1049
+ },
1050
+ "default": "''",
1051
+ "description": "The identifier of the stimulus.",
1052
+ "fieldName": "identifier"
1053
+ },
1054
+ {
1055
+ "name": "href",
1056
+ "type": {
1057
+ "text": "string"
1058
+ },
1059
+ "default": "''",
1060
+ "description": "The href of the stimulus.",
1061
+ "fieldName": "href"
1062
+ }
1063
+ ],
1064
+ "superclass": {
1065
+ "name": "LitElement",
1066
+ "package": "lit"
1067
+ },
1068
+ "tagName": "qti-assessment-stimulus-ref",
1069
+ "customElement": true
1070
+ }
1071
+ ],
1072
+ "exports": [
1073
+ {
1074
+ "kind": "js",
1075
+ "name": "QtiAssessmentStimulusRef",
1076
+ "declaration": {
1077
+ "name": "QtiAssessmentStimulusRef",
1078
+ "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
1079
+ }
1080
+ },
1081
+ {
1082
+ "kind": "custom-element-definition",
1083
+ "name": "qti-assessment-stimulus-ref",
1084
+ "declaration": {
1085
+ "name": "QtiAssessmentStimulusRef",
1086
+ "module": "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts"
1087
+ }
1088
+ }
1089
+ ]
1090
+ },
1091
1091
  {
1092
1092
  "kind": "javascript-module",
1093
1093
  "path": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts",
package/dist/item.css CHANGED
@@ -2085,6 +2085,15 @@ qti-response-declaration {
2085
2085
  }
2086
2086
  }
2087
2087
 
2088
+ qti-graphic-gap-match-interaction {
2089
+ position: relative;
2090
+
2091
+ & img {
2092
+ margin: 0;
2093
+ padding: 0;
2094
+ }
2095
+ }
2096
+
2088
2097
  qti-text-entry-interaction {
2089
2098
  &::part(input) {
2090
2099
  border-radius: 0;
@@ -3090,15 +3099,6 @@ qti-response-declaration {
3090
3099
  }
3091
3100
  }
3092
3101
 
3093
- qti-graphic-gap-match-interaction {
3094
- position: relative;
3095
-
3096
- &img {
3097
- margin: 0;
3098
- padding: 0;
3099
- }
3100
- }
3101
-
3102
3102
  qti-slider-interaction {
3103
3103
  display: block;
3104
3104
 
@@ -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 QtiAssessmentItemProps = {
71
64
  /** */
72
65
  title?: string;
@@ -98,6 +91,13 @@ export type QtiAssessmentItemProps = {
98
91
  "onqti-response-processing"?: (e: CustomEvent<never>) => void;
99
92
  };
100
93
 
94
+ export type QtiAssessmentStimulusRefProps = {
95
+ /** The identifier of the stimulus. */
96
+ identifier?: string;
97
+ /** The href of the stimulus. */
98
+ href?: string;
99
+ };
100
+
101
101
  export type QtiCompanionMaterialsInfoProps = {};
102
102
 
103
103
  export type QtiCustomOperatorProps = {
@@ -1099,16 +1099,6 @@ export type QtiItemProps = {
1099
1099
  };
1100
1100
 
1101
1101
  export type CustomElements = {
1102
- /**
1103
- * Represents a custom element for referencing an assessment stimulus.
1104
- * ---
1105
- *
1106
- *
1107
- * ### **Methods:**
1108
- * - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.
1109
- */
1110
- "qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps & BaseEvents>;
1111
-
1112
1102
  /**
1113
1103
  * The qti-assessment-item element contains all the other QTI 3 item structures.
1114
1104
  * ---
@@ -1125,6 +1115,16 @@ export type CustomElements = {
1125
1115
  */
1126
1116
  "qti-assessment-item": Partial<QtiAssessmentItemProps & BaseProps & BaseEvents>;
1127
1117
 
1118
+ /**
1119
+ * Represents a custom element for referencing an assessment stimulus.
1120
+ * ---
1121
+ *
1122
+ *
1123
+ * ### **Methods:**
1124
+ * - **updateStimulusRef(stimulusRef: _Element_)** - Loads and appends the stimulus to the specified element.
1125
+ */
1126
+ "qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps & BaseEvents>;
1127
+
1128
1128
  /**
1129
1129
  *
1130
1130
  * ---
@@ -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": "qti-assessment-item",
24
7
  "description": "The qti-assessment-item element contains all the other QTI 3 item structures.\n---\n\n\n### **Events:**\n - **name**\n- **qti-interaction-changed** - Emitted when an interaction is changed.\n- **qti-outcome-changed** - Emitted when an outcome has changed.\n- **qti-response-processing** - Emitted when response-processing is called.\n\n### **Slots:**\n - _default_ - The default slot where all the other QTI 3 item structures go.",
@@ -38,6 +21,23 @@
38
21
  ],
39
22
  "references": []
40
23
  },
24
+ {
25
+ "name": "qti-assessment-stimulus-ref",
26
+ "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.",
27
+ "attributes": [
28
+ {
29
+ "name": "identifier",
30
+ "description": "The identifier of the stimulus.",
31
+ "values": []
32
+ },
33
+ {
34
+ "name": "href",
35
+ "description": "The href of the stimulus.",
36
+ "values": []
37
+ }
38
+ ],
39
+ "references": []
40
+ },
41
41
  {
42
42
  "name": "qti-companion-materials-info",
43
43
  "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.74",
24
+ "version": "6.9.1-beta.76",
25
25
  "type": "module",
26
26
  "exports": {
27
27
  "./qti-components": {