@citolab/qti-components 6.3.1 → 6.3.2

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.
@@ -131,67 +131,6 @@
131
131
  }
132
132
  ]
133
133
  },
134
- {
135
- "kind": "javascript-module",
136
- "path": "src/lib/qti-item/index.ts",
137
- "declarations": [],
138
- "exports": [
139
- {
140
- "kind": "js",
141
- "name": "*",
142
- "declaration": {
143
- "name": "*",
144
- "package": "./qti-item"
145
- }
146
- }
147
- ]
148
- },
149
- {
150
- "kind": "javascript-module",
151
- "path": "src/lib/qti-item/qti-item.ts",
152
- "declarations": [
153
- {
154
- "kind": "class",
155
- "description": "",
156
- "name": "QtiItem",
157
- "members": [],
158
- "attributes": [
159
- {
160
- "name": "item-location",
161
- "type": {
162
- "text": "string"
163
- },
164
- "default": "''",
165
- "fieldName": "itemLocation"
166
- }
167
- ],
168
- "superclass": {
169
- "name": "LitElement",
170
- "package": "lit"
171
- },
172
- "tagName": "qti-item",
173
- "customElement": true
174
- }
175
- ],
176
- "exports": [
177
- {
178
- "kind": "js",
179
- "name": "QtiItem",
180
- "declaration": {
181
- "name": "QtiItem",
182
- "module": "src/lib/qti-item/qti-item.ts"
183
- }
184
- },
185
- {
186
- "kind": "custom-element-definition",
187
- "name": "qti-item",
188
- "declaration": {
189
- "name": "QtiItem",
190
- "module": "src/lib/qti-item/qti-item.ts"
191
- }
192
- }
193
- ]
194
- },
195
134
  {
196
135
  "kind": "javascript-module",
197
136
  "path": "src/lib/qti-components/index.ts",
@@ -635,6 +574,42 @@
635
574
  }
636
575
  ]
637
576
  },
577
+ {
578
+ "kind": "javascript-module",
579
+ "path": "src/lib/qti-test-react/index.ts",
580
+ "declarations": [],
581
+ "exports": [
582
+ {
583
+ "kind": "js",
584
+ "name": "*",
585
+ "declaration": {
586
+ "name": "*",
587
+ "package": "./qti-test.react"
588
+ }
589
+ }
590
+ ]
591
+ },
592
+ {
593
+ "kind": "javascript-module",
594
+ "path": "src/lib/qti-test-react/qti-test.react.ts",
595
+ "declarations": [
596
+ {
597
+ "kind": "variable",
598
+ "name": "QtiTest",
599
+ "default": "createComponent({\n tagName: 'qti-item',\n react: React,\n elementClass: QtiAssessmentTestWebComponent,\n events: {\n onOutcomeChanged: 'qti-outcome-changed', // as EventName<Event>\n onInteractionChanged: 'qti-interaction-changed',\n onItemConnected: 'qti-item-connected',\n onRegisterItem: 'register-item-ref',\n onTestRequestItem: 'on-test-request-item'\n }\n})"
600
+ }
601
+ ],
602
+ "exports": [
603
+ {
604
+ "kind": "js",
605
+ "name": "QtiTest",
606
+ "declaration": {
607
+ "name": "QtiTest",
608
+ "module": "src/lib/qti-test-react/qti-test.react.ts"
609
+ }
610
+ }
611
+ ]
612
+ },
638
613
  {
639
614
  "kind": "javascript-module",
640
615
  "path": "src/lib/qti-test/index.ts",
@@ -929,42 +904,6 @@
929
904
  }
930
905
  ]
931
906
  },
932
- {
933
- "kind": "javascript-module",
934
- "path": "src/lib/qti-test-react/index.ts",
935
- "declarations": [],
936
- "exports": [
937
- {
938
- "kind": "js",
939
- "name": "*",
940
- "declaration": {
941
- "name": "*",
942
- "package": "./qti-test.react"
943
- }
944
- }
945
- ]
946
- },
947
- {
948
- "kind": "javascript-module",
949
- "path": "src/lib/qti-test-react/qti-test.react.ts",
950
- "declarations": [
951
- {
952
- "kind": "variable",
953
- "name": "QtiTest",
954
- "default": "createComponent({\n tagName: 'qti-item',\n react: React,\n elementClass: QtiAssessmentTestWebComponent,\n events: {\n onOutcomeChanged: 'qti-outcome-changed', // as EventName<Event>\n onInteractionChanged: 'qti-interaction-changed',\n onItemConnected: 'qti-item-connected',\n onRegisterItem: 'register-item-ref',\n onTestRequestItem: 'on-test-request-item'\n }\n})"
955
- }
956
- ],
957
- "exports": [
958
- {
959
- "kind": "js",
960
- "name": "QtiTest",
961
- "declaration": {
962
- "name": "QtiTest",
963
- "module": "src/lib/qti-test-react/qti-test.react.ts"
964
- }
965
- }
966
- ]
967
- },
968
907
  {
969
908
  "kind": "javascript-module",
970
909
  "path": "src/lib/qti-transform/index.ts",
@@ -1010,35 +949,61 @@
1010
949
  },
1011
950
  {
1012
951
  "kind": "javascript-module",
1013
- "path": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts",
952
+ "path": "src/lib/qti-item/index.ts",
953
+ "declarations": [],
954
+ "exports": [
955
+ {
956
+ "kind": "js",
957
+ "name": "*",
958
+ "declaration": {
959
+ "name": "*",
960
+ "package": "./qti-item"
961
+ }
962
+ }
963
+ ]
964
+ },
965
+ {
966
+ "kind": "javascript-module",
967
+ "path": "src/lib/qti-item/qti-item.ts",
1014
968
  "declarations": [
1015
969
  {
1016
970
  "kind": "class",
1017
971
  "description": "",
1018
- "name": "QtiCompanionMaterialsInfo",
972
+ "name": "QtiItem",
973
+ "members": [],
974
+ "attributes": [
975
+ {
976
+ "name": "item-location",
977
+ "type": {
978
+ "text": "string"
979
+ },
980
+ "default": "''",
981
+ "fieldName": "itemLocation"
982
+ }
983
+ ],
1019
984
  "superclass": {
1020
985
  "name": "LitElement",
1021
986
  "package": "lit"
1022
987
  },
1023
- "tagName": "qti-companion-materials-info",
988
+ "tagName": "qti-item",
1024
989
  "customElement": true
1025
990
  }
1026
991
  ],
1027
992
  "exports": [
1028
993
  {
1029
994
  "kind": "js",
1030
- "name": "QtiCompanionMaterialsInfo",
995
+ "name": "QtiItem",
1031
996
  "declaration": {
1032
- "name": "QtiCompanionMaterialsInfo",
1033
- "module": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts"
997
+ "name": "QtiItem",
998
+ "module": "src/lib/qti-item/qti-item.ts"
1034
999
  }
1035
1000
  },
1036
1001
  {
1037
1002
  "kind": "custom-element-definition",
1038
- "name": "qti-companion-materials-info",
1003
+ "name": "qti-item",
1039
1004
  "declaration": {
1040
- "name": "QtiCompanionMaterialsInfo",
1041
- "module": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts"
1005
+ "name": "QtiItem",
1006
+ "module": "src/lib/qti-item/qti-item.ts"
1042
1007
  }
1043
1008
  }
1044
1009
  ]
@@ -1176,6 +1141,41 @@
1176
1141
  }
1177
1142
  ]
1178
1143
  },
1144
+ {
1145
+ "kind": "javascript-module",
1146
+ "path": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts",
1147
+ "declarations": [
1148
+ {
1149
+ "kind": "class",
1150
+ "description": "",
1151
+ "name": "QtiCompanionMaterialsInfo",
1152
+ "superclass": {
1153
+ "name": "LitElement",
1154
+ "package": "lit"
1155
+ },
1156
+ "tagName": "qti-companion-materials-info",
1157
+ "customElement": true
1158
+ }
1159
+ ],
1160
+ "exports": [
1161
+ {
1162
+ "kind": "js",
1163
+ "name": "QtiCompanionMaterialsInfo",
1164
+ "declaration": {
1165
+ "name": "QtiCompanionMaterialsInfo",
1166
+ "module": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts"
1167
+ }
1168
+ },
1169
+ {
1170
+ "kind": "custom-element-definition",
1171
+ "name": "qti-companion-materials-info",
1172
+ "declaration": {
1173
+ "name": "QtiCompanionMaterialsInfo",
1174
+ "module": "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts"
1175
+ }
1176
+ }
1177
+ ]
1178
+ },
1179
1179
  {
1180
1180
  "kind": "javascript-module",
1181
1181
  "path": "src/lib/qti-components/qti-custom-operator/qti-custom-operator.ts",
@@ -1284,53 +1284,6 @@
1284
1284
  }
1285
1285
  ]
1286
1286
  },
1287
- {
1288
- "kind": "javascript-module",
1289
- "path": "src/lib/qti-components/qti-item-body/qti-item-body.ts",
1290
- "declarations": [
1291
- {
1292
- "kind": "class",
1293
- "description": "",
1294
- "name": "QtiItemBody",
1295
- "slots": [
1296
- {
1297
- "description": "item body content.",
1298
- "name": ""
1299
- },
1300
- {
1301
- "description": "the qti rubric block is placed above the item",
1302
- "name": "qti-rubric-block"
1303
- }
1304
- ],
1305
- "members": [],
1306
- "superclass": {
1307
- "name": "LitElement",
1308
- "package": "lit"
1309
- },
1310
- "summary": "The qti-item-body node contains the text, graphics, media objects and interactions that describe the item's content and information about how it is structured.",
1311
- "tagName": "qti-item-body",
1312
- "customElement": true
1313
- }
1314
- ],
1315
- "exports": [
1316
- {
1317
- "kind": "js",
1318
- "name": "default",
1319
- "declaration": {
1320
- "name": "QtiItemBody",
1321
- "module": "src/lib/qti-components/qti-item-body/qti-item-body.ts"
1322
- }
1323
- },
1324
- {
1325
- "kind": "custom-element-definition",
1326
- "name": "qti-item-body",
1327
- "declaration": {
1328
- "name": "QtiItemBody",
1329
- "module": "src/lib/qti-components/qti-item-body/qti-item-body.ts"
1330
- }
1331
- }
1332
- ]
1333
- },
1334
1287
  {
1335
1288
  "kind": "javascript-module",
1336
1289
  "path": "src/lib/qti-components/qti-interaction/qti-associable-hotspot.ts",
@@ -1994,6 +1947,53 @@
1994
1947
  }
1995
1948
  ]
1996
1949
  },
1950
+ {
1951
+ "kind": "javascript-module",
1952
+ "path": "src/lib/qti-components/qti-item-body/qti-item-body.ts",
1953
+ "declarations": [
1954
+ {
1955
+ "kind": "class",
1956
+ "description": "",
1957
+ "name": "QtiItemBody",
1958
+ "slots": [
1959
+ {
1960
+ "description": "item body content.",
1961
+ "name": ""
1962
+ },
1963
+ {
1964
+ "description": "the qti rubric block is placed above the item",
1965
+ "name": "qti-rubric-block"
1966
+ }
1967
+ ],
1968
+ "members": [],
1969
+ "superclass": {
1970
+ "name": "LitElement",
1971
+ "package": "lit"
1972
+ },
1973
+ "summary": "The qti-item-body node contains the text, graphics, media objects and interactions that describe the item's content and information about how it is structured.",
1974
+ "tagName": "qti-item-body",
1975
+ "customElement": true
1976
+ }
1977
+ ],
1978
+ "exports": [
1979
+ {
1980
+ "kind": "js",
1981
+ "name": "default",
1982
+ "declaration": {
1983
+ "name": "QtiItemBody",
1984
+ "module": "src/lib/qti-components/qti-item-body/qti-item-body.ts"
1985
+ }
1986
+ },
1987
+ {
1988
+ "kind": "custom-element-definition",
1989
+ "name": "qti-item-body",
1990
+ "declaration": {
1991
+ "name": "QtiItemBody",
1992
+ "module": "src/lib/qti-components/qti-item-body/qti-item-body.ts"
1993
+ }
1994
+ }
1995
+ ]
1996
+ },
1997
1997
  {
1998
1998
  "kind": "javascript-module",
1999
1999
  "path": "src/lib/qti-components/qti-prompt/qti-prompt.ts",
@@ -3571,40 +3571,56 @@
3571
3571
  },
3572
3572
  {
3573
3573
  "kind": "javascript-module",
3574
- "path": "src/lib/qti-components/qti-interaction/qti-extended-text-interaction/qti-extended-text-interaction.ts",
3574
+ "path": "src/lib/qti-components/qti-interaction/qti-end-attempt-interaction/qti-end-attempt-interaction.ts",
3575
3575
  "declarations": [
3576
3576
  {
3577
3577
  "kind": "class",
3578
3578
  "description": "",
3579
- "name": "QtiExtendedTextInteraction",
3579
+ "name": "QtiEndAttemptInteraction",
3580
3580
  "members": [],
3581
- "attributes": [
3581
+ "events": [
3582
3582
  {
3583
- "name": "expected-length",
3583
+ "name": "end-attempt",
3584
3584
  "type": {
3585
- "text": "number"
3586
- },
3587
- "description": "expected length is mapped to the property maxlength on the textarea",
3588
- "fieldName": "expectedLength"
3585
+ "text": "CustomEvent"
3586
+ }
3589
3587
  },
3590
3588
  {
3591
- "name": "pattern-mask",
3589
+ "name": "qti-register-interaction",
3592
3590
  "type": {
3593
- "text": "string"
3591
+ "text": "CustomEvent"
3594
3592
  },
3595
- "fieldName": "patternMask"
3593
+ "inheritedFrom": {
3594
+ "name": "Interaction",
3595
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3596
+ }
3596
3597
  },
3597
3598
  {
3598
- "name": "placeholder-text",
3599
+ "name": "qti-interaction-response",
3600
+ "type": {
3601
+ "text": "CustomEvent"
3602
+ },
3603
+ "inheritedFrom": {
3604
+ "name": "Interaction",
3605
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3606
+ }
3607
+ }
3608
+ ],
3609
+ "attributes": [
3610
+ {
3611
+ "name": "count-attempt",
3599
3612
  "type": {
3600
3613
  "text": "string"
3601
3614
  },
3602
- "description": "text appearing in the extended-text-nteraction if it is empty",
3603
- "fieldName": "placeholderText"
3615
+ "default": "'true'",
3616
+ "fieldName": "countAttempt"
3604
3617
  },
3605
3618
  {
3606
- "name": "class",
3607
- "fieldName": "classNames"
3619
+ "name": "title",
3620
+ "type": {
3621
+ "text": "'end attempt'"
3622
+ },
3623
+ "fieldName": "title"
3608
3624
  },
3609
3625
  {
3610
3626
  "name": "response-identifier",
@@ -3649,103 +3665,71 @@
3649
3665
  "name": "Interaction",
3650
3666
  "module": "/src/lib/qti-components/qti-interaction/internal/interaction/interaction"
3651
3667
  },
3652
- "tagName": "qti-extended-text-interaction",
3653
- "customElement": true,
3654
- "events": [
3655
- {
3656
- "name": "qti-register-interaction",
3657
- "type": {
3658
- "text": "CustomEvent"
3659
- },
3660
- "inheritedFrom": {
3661
- "name": "Interaction",
3662
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3663
- }
3664
- },
3665
- {
3666
- "name": "qti-interaction-response",
3667
- "type": {
3668
- "text": "CustomEvent"
3669
- },
3670
- "inheritedFrom": {
3671
- "name": "Interaction",
3672
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3673
- }
3674
- }
3675
- ]
3668
+ "tagName": "qti-end-attempt-interaction",
3669
+ "customElement": true
3676
3670
  }
3677
3671
  ],
3678
3672
  "exports": [
3679
3673
  {
3680
3674
  "kind": "js",
3681
- "name": "QtiExtendedTextInteraction",
3675
+ "name": "QtiEndAttemptInteraction",
3682
3676
  "declaration": {
3683
- "name": "QtiExtendedTextInteraction",
3684
- "module": "src/lib/qti-components/qti-interaction/qti-extended-text-interaction/qti-extended-text-interaction.ts"
3677
+ "name": "QtiEndAttemptInteraction",
3678
+ "module": "src/lib/qti-components/qti-interaction/qti-end-attempt-interaction/qti-end-attempt-interaction.ts"
3685
3679
  }
3686
3680
  },
3687
3681
  {
3688
3682
  "kind": "custom-element-definition",
3689
- "name": "qti-extended-text-interaction",
3683
+ "name": "qti-end-attempt-interaction",
3690
3684
  "declaration": {
3691
- "name": "QtiExtendedTextInteraction",
3692
- "module": "src/lib/qti-components/qti-interaction/qti-extended-text-interaction/qti-extended-text-interaction.ts"
3685
+ "name": "QtiEndAttemptInteraction",
3686
+ "module": "src/lib/qti-components/qti-interaction/qti-end-attempt-interaction/qti-end-attempt-interaction.ts"
3693
3687
  }
3694
3688
  }
3695
3689
  ]
3696
3690
  },
3697
3691
  {
3698
3692
  "kind": "javascript-module",
3699
- "path": "src/lib/qti-components/qti-interaction/qti-end-attempt-interaction/qti-end-attempt-interaction.ts",
3693
+ "path": "src/lib/qti-components/qti-interaction/qti-end-attempt-interaction/qti-end-attempt-interaction.xml",
3694
+ "declarations": [],
3695
+ "exports": []
3696
+ },
3697
+ {
3698
+ "kind": "javascript-module",
3699
+ "path": "src/lib/qti-components/qti-interaction/qti-extended-text-interaction/qti-extended-text-interaction.ts",
3700
3700
  "declarations": [
3701
3701
  {
3702
3702
  "kind": "class",
3703
3703
  "description": "",
3704
- "name": "QtiEndAttemptInteraction",
3704
+ "name": "QtiExtendedTextInteraction",
3705
3705
  "members": [],
3706
- "events": [
3707
- {
3708
- "name": "end-attempt",
3709
- "type": {
3710
- "text": "CustomEvent"
3711
- }
3712
- },
3706
+ "attributes": [
3713
3707
  {
3714
- "name": "qti-register-interaction",
3708
+ "name": "expected-length",
3715
3709
  "type": {
3716
- "text": "CustomEvent"
3710
+ "text": "number"
3717
3711
  },
3718
- "inheritedFrom": {
3719
- "name": "Interaction",
3720
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3721
- }
3712
+ "description": "expected length is mapped to the property maxlength on the textarea",
3713
+ "fieldName": "expectedLength"
3722
3714
  },
3723
3715
  {
3724
- "name": "qti-interaction-response",
3716
+ "name": "pattern-mask",
3725
3717
  "type": {
3726
- "text": "CustomEvent"
3718
+ "text": "string"
3727
3719
  },
3728
- "inheritedFrom": {
3729
- "name": "Interaction",
3730
- "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3731
- }
3732
- }
3733
- ],
3734
- "attributes": [
3720
+ "fieldName": "patternMask"
3721
+ },
3735
3722
  {
3736
- "name": "count-attempt",
3723
+ "name": "placeholder-text",
3737
3724
  "type": {
3738
3725
  "text": "string"
3739
3726
  },
3740
- "default": "'true'",
3741
- "fieldName": "countAttempt"
3727
+ "description": "text appearing in the extended-text-nteraction if it is empty",
3728
+ "fieldName": "placeholderText"
3742
3729
  },
3743
3730
  {
3744
- "name": "title",
3745
- "type": {
3746
- "text": "'end attempt'"
3747
- },
3748
- "fieldName": "title"
3731
+ "name": "class",
3732
+ "fieldName": "classNames"
3749
3733
  },
3750
3734
  {
3751
3735
  "name": "response-identifier",
@@ -3790,34 +3774,50 @@
3790
3774
  "name": "Interaction",
3791
3775
  "module": "/src/lib/qti-components/qti-interaction/internal/interaction/interaction"
3792
3776
  },
3793
- "tagName": "qti-end-attempt-interaction",
3794
- "customElement": true
3777
+ "tagName": "qti-extended-text-interaction",
3778
+ "customElement": true,
3779
+ "events": [
3780
+ {
3781
+ "name": "qti-register-interaction",
3782
+ "type": {
3783
+ "text": "CustomEvent"
3784
+ },
3785
+ "inheritedFrom": {
3786
+ "name": "Interaction",
3787
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3788
+ }
3789
+ },
3790
+ {
3791
+ "name": "qti-interaction-response",
3792
+ "type": {
3793
+ "text": "CustomEvent"
3794
+ },
3795
+ "inheritedFrom": {
3796
+ "name": "Interaction",
3797
+ "module": "src/lib/qti-components/qti-interaction/internal/interaction/interaction.ts"
3798
+ }
3799
+ }
3800
+ ]
3795
3801
  }
3796
3802
  ],
3797
3803
  "exports": [
3798
3804
  {
3799
3805
  "kind": "js",
3800
- "name": "QtiEndAttemptInteraction",
3806
+ "name": "QtiExtendedTextInteraction",
3801
3807
  "declaration": {
3802
- "name": "QtiEndAttemptInteraction",
3803
- "module": "src/lib/qti-components/qti-interaction/qti-end-attempt-interaction/qti-end-attempt-interaction.ts"
3808
+ "name": "QtiExtendedTextInteraction",
3809
+ "module": "src/lib/qti-components/qti-interaction/qti-extended-text-interaction/qti-extended-text-interaction.ts"
3804
3810
  }
3805
3811
  },
3806
3812
  {
3807
3813
  "kind": "custom-element-definition",
3808
- "name": "qti-end-attempt-interaction",
3814
+ "name": "qti-extended-text-interaction",
3809
3815
  "declaration": {
3810
- "name": "QtiEndAttemptInteraction",
3811
- "module": "src/lib/qti-components/qti-interaction/qti-end-attempt-interaction/qti-end-attempt-interaction.ts"
3816
+ "name": "QtiExtendedTextInteraction",
3817
+ "module": "src/lib/qti-components/qti-interaction/qti-extended-text-interaction/qti-extended-text-interaction.ts"
3812
3818
  }
3813
- }
3814
- ]
3815
- },
3816
- {
3817
- "kind": "javascript-module",
3818
- "path": "src/lib/qti-components/qti-interaction/qti-end-attempt-interaction/qti-end-attempt-interaction.xml",
3819
- "declarations": [],
3820
- "exports": []
3819
+ }
3820
+ ]
3821
3821
  },
3822
3822
  {
3823
3823
  "kind": "javascript-module",
@@ -5637,47 +5637,6 @@
5637
5637
  }
5638
5638
  ]
5639
5639
  },
5640
- {
5641
- "kind": "javascript-module",
5642
- "path": "src/lib/qti-components/qti-responseprocessing/qti-responseprocessing/qti-responseprocessing.ts",
5643
- "declarations": [
5644
- {
5645
- "kind": "class",
5646
- "description": "",
5647
- "name": "QtiResponseProcessing",
5648
- "members": [],
5649
- "attributes": [
5650
- {
5651
- "name": "identifier"
5652
- }
5653
- ],
5654
- "superclass": {
5655
- "name": "LitElement",
5656
- "package": "lit"
5657
- },
5658
- "tagName": "qti-response-processing",
5659
- "customElement": true
5660
- }
5661
- ],
5662
- "exports": [
5663
- {
5664
- "kind": "js",
5665
- "name": "default",
5666
- "declaration": {
5667
- "name": "QtiResponseProcessing",
5668
- "module": "src/lib/qti-components/qti-responseprocessing/qti-responseprocessing/qti-responseprocessing.ts"
5669
- }
5670
- },
5671
- {
5672
- "kind": "custom-element-definition",
5673
- "name": "qti-response-processing",
5674
- "declaration": {
5675
- "name": "QtiResponseProcessing",
5676
- "module": "src/lib/qti-components/qti-responseprocessing/qti-responseprocessing/qti-responseprocessing.ts"
5677
- }
5678
- }
5679
- ]
5680
- },
5681
5640
  {
5682
5641
  "kind": "javascript-module",
5683
5642
  "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/index.ts",
@@ -5946,6 +5905,47 @@
5946
5905
  }
5947
5906
  ]
5948
5907
  },
5908
+ {
5909
+ "kind": "javascript-module",
5910
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-responseprocessing/qti-responseprocessing.ts",
5911
+ "declarations": [
5912
+ {
5913
+ "kind": "class",
5914
+ "description": "",
5915
+ "name": "QtiResponseProcessing",
5916
+ "members": [],
5917
+ "attributes": [
5918
+ {
5919
+ "name": "identifier"
5920
+ }
5921
+ ],
5922
+ "superclass": {
5923
+ "name": "LitElement",
5924
+ "package": "lit"
5925
+ },
5926
+ "tagName": "qti-response-processing",
5927
+ "customElement": true
5928
+ }
5929
+ ],
5930
+ "exports": [
5931
+ {
5932
+ "kind": "js",
5933
+ "name": "default",
5934
+ "declaration": {
5935
+ "name": "QtiResponseProcessing",
5936
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-responseprocessing/qti-responseprocessing.ts"
5937
+ }
5938
+ },
5939
+ {
5940
+ "kind": "custom-element-definition",
5941
+ "name": "qti-response-processing",
5942
+ "declaration": {
5943
+ "name": "QtiResponseProcessing",
5944
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-responseprocessing/qti-responseprocessing.ts"
5945
+ }
5946
+ }
5947
+ ]
5948
+ },
5949
5949
  {
5950
5950
  "kind": "javascript-module",
5951
5951
  "path": "src/lib/qti-components/qti-responseprocessing/qti-rule/qti-rule.ts",
@@ -7058,128 +7058,128 @@
7058
7058
  },
7059
7059
  {
7060
7060
  "kind": "javascript-module",
7061
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-correct/qti-correct.ts",
7061
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal/qti-equal.ts",
7062
7062
  "declarations": [
7063
7063
  {
7064
7064
  "kind": "class",
7065
7065
  "description": "",
7066
- "name": "QtiCorrect",
7066
+ "name": "QtiEqual",
7067
7067
  "members": [],
7068
+ "attributes": [
7069
+ {
7070
+ "name": "toleranceMode",
7071
+ "type": {
7072
+ "text": "'exact' | 'relative' | 'absolute'"
7073
+ },
7074
+ "default": "'exact'",
7075
+ "fieldName": "toleranceMode"
7076
+ }
7077
+ ],
7068
7078
  "superclass": {
7069
7079
  "name": "QtiExpression",
7070
7080
  "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7071
7081
  },
7072
- "tagName": "qti-correct",
7082
+ "tagName": "qti-equal",
7073
7083
  "customElement": true
7074
7084
  }
7075
7085
  ],
7076
7086
  "exports": [
7077
7087
  {
7078
7088
  "kind": "js",
7079
- "name": "QtiCorrect",
7089
+ "name": "QtiEqual",
7080
7090
  "declaration": {
7081
- "name": "QtiCorrect",
7082
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-correct/qti-correct.ts"
7091
+ "name": "QtiEqual",
7092
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal/qti-equal.ts"
7083
7093
  }
7084
7094
  },
7085
7095
  {
7086
7096
  "kind": "custom-element-definition",
7087
- "name": "qti-correct",
7097
+ "name": "qti-equal",
7088
7098
  "declaration": {
7089
- "name": "QtiCorrect",
7090
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-correct/qti-correct.ts"
7099
+ "name": "QtiEqual",
7100
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal/qti-equal.ts"
7091
7101
  }
7092
7102
  }
7093
7103
  ]
7094
7104
  },
7095
7105
  {
7096
7106
  "kind": "javascript-module",
7097
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts",
7107
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-correct/qti-correct.ts",
7098
7108
  "declarations": [
7099
7109
  {
7100
7110
  "kind": "class",
7101
7111
  "description": "",
7102
- "name": "QtiEqualRounded",
7112
+ "name": "QtiCorrect",
7103
7113
  "members": [],
7104
- "attributes": [
7105
- {
7106
- "name": "roundingMode",
7107
- "type": {
7108
- "text": "'decimalPlaces' | 'significantFigures'"
7109
- },
7110
- "default": "'significantFigures'",
7111
- "fieldName": "roundingMode"
7112
- }
7113
- ],
7114
7114
  "superclass": {
7115
7115
  "name": "QtiExpression",
7116
7116
  "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7117
7117
  },
7118
- "tagName": "qti-equal-rounded",
7118
+ "tagName": "qti-correct",
7119
7119
  "customElement": true
7120
7120
  }
7121
7121
  ],
7122
7122
  "exports": [
7123
7123
  {
7124
7124
  "kind": "js",
7125
- "name": "QtiEqualRounded",
7125
+ "name": "QtiCorrect",
7126
7126
  "declaration": {
7127
- "name": "QtiEqualRounded",
7128
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts"
7127
+ "name": "QtiCorrect",
7128
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-correct/qti-correct.ts"
7129
7129
  }
7130
7130
  },
7131
7131
  {
7132
7132
  "kind": "custom-element-definition",
7133
- "name": "qti-equal-rounded",
7133
+ "name": "qti-correct",
7134
7134
  "declaration": {
7135
- "name": "QtiEqualRounded",
7136
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts"
7135
+ "name": "QtiCorrect",
7136
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-correct/qti-correct.ts"
7137
7137
  }
7138
7138
  }
7139
7139
  ]
7140
7140
  },
7141
7141
  {
7142
7142
  "kind": "javascript-module",
7143
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal/qti-equal.ts",
7143
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts",
7144
7144
  "declarations": [
7145
7145
  {
7146
7146
  "kind": "class",
7147
7147
  "description": "",
7148
- "name": "QtiEqual",
7148
+ "name": "QtiEqualRounded",
7149
7149
  "members": [],
7150
7150
  "attributes": [
7151
7151
  {
7152
- "name": "toleranceMode",
7152
+ "name": "roundingMode",
7153
7153
  "type": {
7154
- "text": "'exact' | 'relative' | 'absolute'"
7154
+ "text": "'decimalPlaces' | 'significantFigures'"
7155
7155
  },
7156
- "default": "'exact'",
7157
- "fieldName": "toleranceMode"
7156
+ "default": "'significantFigures'",
7157
+ "fieldName": "roundingMode"
7158
7158
  }
7159
7159
  ],
7160
7160
  "superclass": {
7161
7161
  "name": "QtiExpression",
7162
7162
  "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7163
7163
  },
7164
- "tagName": "qti-equal",
7164
+ "tagName": "qti-equal-rounded",
7165
7165
  "customElement": true
7166
7166
  }
7167
7167
  ],
7168
7168
  "exports": [
7169
7169
  {
7170
7170
  "kind": "js",
7171
- "name": "QtiEqual",
7171
+ "name": "QtiEqualRounded",
7172
7172
  "declaration": {
7173
- "name": "QtiEqual",
7174
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal/qti-equal.ts"
7173
+ "name": "QtiEqualRounded",
7174
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts"
7175
7175
  }
7176
7176
  },
7177
7177
  {
7178
7178
  "kind": "custom-element-definition",
7179
- "name": "qti-equal",
7179
+ "name": "qti-equal-rounded",
7180
7180
  "declaration": {
7181
- "name": "QtiEqual",
7182
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal/qti-equal.ts"
7181
+ "name": "QtiEqualRounded",
7182
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts"
7183
7183
  }
7184
7184
  }
7185
7185
  ]
@@ -7426,81 +7426,81 @@
7426
7426
  },
7427
7427
  {
7428
7428
  "kind": "javascript-module",
7429
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-match/qti-match.ts",
7429
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-mapresponse/qti-mapresponse.ts",
7430
7430
  "declarations": [
7431
7431
  {
7432
7432
  "kind": "class",
7433
7433
  "description": "",
7434
- "name": "QtiMatch",
7434
+ "name": "QtiMapResponse",
7435
7435
  "members": [],
7436
+ "attributes": [
7437
+ {
7438
+ "name": "identifier",
7439
+ "type": {
7440
+ "text": "string"
7441
+ },
7442
+ "fieldName": "identifier"
7443
+ }
7444
+ ],
7436
7445
  "superclass": {
7437
7446
  "name": "QtiExpression",
7438
7447
  "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7439
7448
  },
7440
- "tagName": "qti-match",
7449
+ "tagName": "qti-map-response",
7441
7450
  "customElement": true
7442
7451
  }
7443
7452
  ],
7444
7453
  "exports": [
7445
7454
  {
7446
7455
  "kind": "js",
7447
- "name": "QtiMatch",
7456
+ "name": "QtiMapResponse",
7448
7457
  "declaration": {
7449
- "name": "QtiMatch",
7450
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-match/qti-match.ts"
7458
+ "name": "QtiMapResponse",
7459
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-mapresponse/qti-mapresponse.ts"
7451
7460
  }
7452
7461
  },
7453
7462
  {
7454
7463
  "kind": "custom-element-definition",
7455
- "name": "qti-match",
7464
+ "name": "qti-map-response",
7456
7465
  "declaration": {
7457
- "name": "QtiMatch",
7458
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-match/qti-match.ts"
7466
+ "name": "QtiMapResponse",
7467
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-mapresponse/qti-mapresponse.ts"
7459
7468
  }
7460
7469
  }
7461
7470
  ]
7462
7471
  },
7463
7472
  {
7464
7473
  "kind": "javascript-module",
7465
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-mapresponse/qti-mapresponse.ts",
7474
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-match/qti-match.ts",
7466
7475
  "declarations": [
7467
7476
  {
7468
7477
  "kind": "class",
7469
7478
  "description": "",
7470
- "name": "QtiMapResponse",
7479
+ "name": "QtiMatch",
7471
7480
  "members": [],
7472
- "attributes": [
7473
- {
7474
- "name": "identifier",
7475
- "type": {
7476
- "text": "string"
7477
- },
7478
- "fieldName": "identifier"
7479
- }
7480
- ],
7481
7481
  "superclass": {
7482
7482
  "name": "QtiExpression",
7483
7483
  "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7484
7484
  },
7485
- "tagName": "qti-map-response",
7485
+ "tagName": "qti-match",
7486
7486
  "customElement": true
7487
7487
  }
7488
7488
  ],
7489
7489
  "exports": [
7490
7490
  {
7491
7491
  "kind": "js",
7492
- "name": "QtiMapResponse",
7492
+ "name": "QtiMatch",
7493
7493
  "declaration": {
7494
- "name": "QtiMapResponse",
7495
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-mapresponse/qti-mapresponse.ts"
7494
+ "name": "QtiMatch",
7495
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-match/qti-match.ts"
7496
7496
  }
7497
7497
  },
7498
7498
  {
7499
7499
  "kind": "custom-element-definition",
7500
- "name": "qti-map-response",
7500
+ "name": "qti-match",
7501
7501
  "declaration": {
7502
- "name": "QtiMapResponse",
7503
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-mapresponse/qti-mapresponse.ts"
7502
+ "name": "QtiMatch",
7503
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-match/qti-match.ts"
7504
7504
  }
7505
7505
  }
7506
7506
  ]
@@ -7543,72 +7543,72 @@
7543
7543
  },
7544
7544
  {
7545
7545
  "kind": "javascript-module",
7546
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-not/qti-not.ts",
7546
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-multiple/qti-multiple.ts",
7547
7547
  "declarations": [
7548
7548
  {
7549
7549
  "kind": "class",
7550
7550
  "description": "",
7551
- "name": "QtiNot",
7551
+ "name": "QtiMultiple",
7552
7552
  "members": [],
7553
7553
  "superclass": {
7554
7554
  "name": "QtiExpression",
7555
7555
  "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7556
7556
  },
7557
- "tagName": "qti-not",
7557
+ "tagName": "qti-multiple",
7558
7558
  "customElement": true
7559
7559
  }
7560
7560
  ],
7561
7561
  "exports": [
7562
7562
  {
7563
7563
  "kind": "js",
7564
- "name": "QtiNot",
7564
+ "name": "QtiMultiple",
7565
7565
  "declaration": {
7566
- "name": "QtiNot",
7567
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-not/qti-not.ts"
7566
+ "name": "QtiMultiple",
7567
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-multiple/qti-multiple.ts"
7568
7568
  }
7569
7569
  },
7570
7570
  {
7571
7571
  "kind": "custom-element-definition",
7572
- "name": "qti-not",
7572
+ "name": "qti-multiple",
7573
7573
  "declaration": {
7574
- "name": "QtiNot",
7575
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-not/qti-not.ts"
7574
+ "name": "QtiMultiple",
7575
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-multiple/qti-multiple.ts"
7576
7576
  }
7577
7577
  }
7578
7578
  ]
7579
7579
  },
7580
7580
  {
7581
7581
  "kind": "javascript-module",
7582
- "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-multiple/qti-multiple.ts",
7582
+ "path": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-not/qti-not.ts",
7583
7583
  "declarations": [
7584
7584
  {
7585
7585
  "kind": "class",
7586
7586
  "description": "",
7587
- "name": "QtiMultiple",
7587
+ "name": "QtiNot",
7588
7588
  "members": [],
7589
7589
  "superclass": {
7590
7590
  "name": "QtiExpression",
7591
7591
  "module": "/src/lib/qti-components/qti-responseprocessing/qti-expression/qti-expression"
7592
7592
  },
7593
- "tagName": "qti-multiple",
7593
+ "tagName": "qti-not",
7594
7594
  "customElement": true
7595
7595
  }
7596
7596
  ],
7597
7597
  "exports": [
7598
7598
  {
7599
7599
  "kind": "js",
7600
- "name": "QtiMultiple",
7600
+ "name": "QtiNot",
7601
7601
  "declaration": {
7602
- "name": "QtiMultiple",
7603
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-multiple/qti-multiple.ts"
7602
+ "name": "QtiNot",
7603
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-not/qti-not.ts"
7604
7604
  }
7605
7605
  },
7606
7606
  {
7607
7607
  "kind": "custom-element-definition",
7608
- "name": "qti-multiple",
7608
+ "name": "qti-not",
7609
7609
  "declaration": {
7610
- "name": "QtiMultiple",
7611
- "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-multiple/qti-multiple.ts"
7610
+ "name": "QtiNot",
7611
+ "module": "src/lib/qti-components/qti-responseprocessing/qti-expression/qti-not/qti-not.ts"
7612
7612
  }
7613
7613
  }
7614
7614
  ]
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "engines": {
13
13
  "node": ">=16.0.0"
14
14
  },
15
- "version": "6.3.1",
15
+ "version": "6.3.2",
16
16
  "type": "module",
17
17
  "main": "dist/index.js",
18
18
  "exports": {
@@ -80,6 +80,9 @@
80
80
  "react/qti-item": [
81
81
  "./dist/qti-item-react/index.d.ts"
82
82
  ],
83
+ "react/qti-test": [
84
+ "./dist/qti-item-react/index.d.ts"
85
+ ],
83
86
  "qti-transform": [
84
87
  "./dist/qti-transform/index.d.ts"
85
88
  ]
@@ -108,7 +111,7 @@
108
111
  "kill 6006": "sudo lsof -i :6006 | grep LISTEN | awk '{print $2}' | xargs kill",
109
112
  "list-outdated-dependencies": "npx npm-check-updates --format repo --peer",
110
113
  "update-dependencies": "npx npm-check-updates --peer -u && npm install",
111
- "arethetypeswrong": "attw --pack",
114
+ "arethetypeswrong": "npm run build-lib && attw --pack",
112
115
  "----hooks----": "",
113
116
  "prepublishOnly": "echo 'calling prepublishOnly as npm lifecycle hook to build-lib!' && npm run build-lib",
114
117
  "postpublish": "npm run deploy"
@@ -130,8 +133,8 @@
130
133
  "react": "> 18"
131
134
  },
132
135
  "devDependencies": {
133
- "@arethetypeswrong/cli": "^0.12.1",
134
- "@custom-elements-manifest/analyzer": "^0.8.4",
136
+ "@arethetypeswrong/cli": "^0.12.2",
137
+ "@custom-elements-manifest/analyzer": "^0.9.0",
135
138
  "@jest/globals": "^29.7.0",
136
139
  "@storybook/addon-a11y": "^7.5.0",
137
140
  "@storybook/addon-essentials": "^7.5.0",
@@ -146,8 +149,8 @@
146
149
  "@storybook/web-components": "^7.5.0",
147
150
  "@storybook/web-components-vite": "^7.5.0",
148
151
  "@tailwindcss/typography": "^0.5.10",
149
- "@types/node": "^20.8.5",
150
- "@typescript-eslint/eslint-plugin": "^6.7.5",
152
+ "@types/node": "^20.8.7",
153
+ "@typescript-eslint/eslint-plugin": "^6.8.0",
151
154
  "autoprefixer": "^10.4.16",
152
155
  "cem-plugin-vs-code-custom-data-generator": "^1.4.2",
153
156
  "eslint": "^8.51.0",
@@ -175,7 +178,7 @@
175
178
  "ts-node": "^10.9.1",
176
179
  "tsup": "^7.2.0",
177
180
  "typescript": "^5.2.2",
178
- "vite": "^4.4.11"
181
+ "vite": "^4.5.0"
179
182
  },
180
183
  "customElements": "custom-elements.json"
181
184
  }