@citolab/qti-components 6.3.8 → 6.4.0

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.
Files changed (43) hide show
  1. package/dist/{chunk-OMMRIRZN.cjs → chunk-4UAPG3LE.cjs} +59 -312
  2. package/dist/{chunk-DHQGPGHW.js → chunk-C4LCNAWX.js} +59 -312
  3. package/dist/chunk-DMECNMIP.js +405 -0
  4. package/dist/chunk-W7PJYSDO.cjs +405 -0
  5. package/dist/context/index.cjs +1 -1
  6. package/dist/context/index.d.cts +3 -3
  7. package/dist/context/index.d.ts +3 -3
  8. package/dist/context/index.js +1 -1
  9. package/dist/custom-elements.json +776 -566
  10. package/dist/index.bundled.css +487 -0
  11. package/dist/index.cjs +189 -433
  12. package/dist/index.css +48 -310
  13. package/dist/index.d.cts +36 -11
  14. package/dist/index.d.ts +36 -11
  15. package/dist/index.js +194 -438
  16. package/dist/qti-components/index.cjs +39 -38
  17. package/dist/qti-components/index.d.cts +4 -7
  18. package/dist/qti-components/index.d.ts +4 -7
  19. package/dist/qti-components/index.js +66 -65
  20. package/dist/qti-item/index.cjs +1 -1
  21. package/dist/qti-item/index.d.cts +5 -1
  22. package/dist/qti-item/index.d.ts +5 -1
  23. package/dist/qti-item/index.js +1 -1
  24. package/dist/qti-item-react/index.cjs +1 -1
  25. package/dist/qti-item-react/index.d.cts +2 -2
  26. package/dist/qti-item-react/index.d.ts +2 -2
  27. package/dist/qti-item-react/index.js +1 -1
  28. package/dist/{qti-simple-choice-1e52645f.d.ts → qti-simple-choice-216b88b7.d.ts} +3 -1
  29. package/dist/qti-test/index.cjs +1 -1
  30. package/dist/qti-test/index.d.cts +23 -4
  31. package/dist/qti-test/index.d.ts +23 -4
  32. package/dist/qti-test/index.js +1 -1
  33. package/dist/qti-test-react/index.cjs +1 -1
  34. package/dist/qti-test-react/index.d.cts +2 -2
  35. package/dist/qti-test-react/index.d.ts +2 -2
  36. package/dist/qti-test-react/index.js +1 -1
  37. package/dist/{test-print-variables-9f2390d5.d.ts → test-print-variables-7ec6a0d5.d.ts} +5 -2
  38. package/dist/{test-print-variables-9b4289a6.d.ts → test-print-variables-d61937ce.d.ts} +5 -2
  39. package/package.json +1 -1
  40. package/dist/chunk-BKBZWUX6.cjs +0 -1
  41. package/dist/chunk-DPSTDDQZ.js +0 -1
  42. package/dist/chunk-GHNL64KC.js +0 -397
  43. package/dist/chunk-QGPCSWAA.cjs +0 -397
@@ -1,49 +1,5 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkBKBZWUX6cjs = require('./chunk-BKBZWUX6.cjs');var _chunkCCQXZDO6cjs = require('./chunk-CCQXZDO6.cjs');var _chunkHYQC3D4Zcjs = require('./chunk-HYQC3D4Z.cjs');var _lit = require('lit');var _decoratorsjs = require('lit/decorators.js');var _unsafehtmljs = require('lit/directives/unsafe-html.js');var _context = require('@lit/context');var s=`/* PK: Tailwind theming file for all qti-components
2
- Uses tailwind components and utilities from the other files
3
-
4
- https://play.tailwindcss.com/OFThGk8CbR
5
- https://play.tailwindcss.com/CeHVrnwgXR
6
- https://play.tailwindcss.com/JOgoCf81JM
7
-
8
- You should in you project include modern-normalize.css
9
-
10
- Then we create tailwind components
11
- Then we consume these components in our qti-webcomponents
12
-
13
- outline: used for focus
14
- ring: used for border around the elements, can be active, its an inner ring, except for
15
- the dropping well, because that has to surround the drag with the inner ring
16
-
17
- There are 6 types
18
- - text : text-entry and extended-text
19
- - select : inline-choice
20
- - button : .input-control-hidden qti-choice, qti-hotspot
21
- - check : qti-choice, qti-hotspot
22
- - drag : gap-match, match, order, associate
23
- - drop : gap-match, match, order, associate
24
- - spot : gap-select-point, graphic-order, qti-graphic-associate
25
-
26
- trying to get the follower modifiers to work:
27
-
28
- - sm , for elements inside text
29
- - lg, , for large readable containers
30
- - in , inline in text
31
-
32
- taking into account cursors, select-none for some of the elements
33
- */
34
-
35
- /* FIXMEs
36
- Outline always on top, sometimes it slips under the hover background
37
- Intext with inline gaps does not align nicely with existing text https://play.tailwindcss.com/cJEGhvANwM
38
- modifiers can not be in components, like this example where red should be a modifier inside base https://play.tailwindcss.com/JSnnv1Vvab?file=css
39
- */
40
-
41
- /* @layer base, components, utilities, variants; */
42
-
43
- /* layout, dimensions, design */
44
-
45
- /** default styles for all components */
46
-
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkCCQXZDO6cjs = require('./chunk-CCQXZDO6.cjs');var _chunkHYQC3D4Zcjs = require('./chunk-HYQC3D4Z.cjs');var _lit = require('lit');var _decoratorsjs = require('lit/decorators.js');var _unsafehtmljs = require('lit/directives/unsafe-html.js');var w=`
2
+ /** default styles for all components */
47
3
  *, ::before, ::after{
48
4
  --tw-border-spacing-x: 0;
49
5
  --tw-border-spacing-y: 0;
@@ -93,7 +49,6 @@
93
49
  --tw-backdrop-saturate: ;
94
50
  --tw-backdrop-sepia: ;
95
51
  }
96
-
97
52
  ::backdrop{
98
53
  --tw-border-spacing-x: 0;
99
54
  --tw-border-spacing-y: 0;
@@ -143,100 +98,106 @@
143
98
  --tw-backdrop-saturate: ;
144
99
  --tw-backdrop-sepia: ;
145
100
  }
146
-
147
101
  /** The different components, you can choose only one */
148
-
149
102
  /* - button : .input-control-hidden qti-choice, qti-hotspot */
150
-
151
103
  /* - select : inline-choice */
152
-
153
104
  /* - check : qti-choice, qti-hotspot */
154
-
155
105
  /* !important, remove for checkbox and radio the active ring, the radio and checkbox will be selected instead */
156
-
157
106
  /* @apply select-none; */
158
-
159
107
  /* - text : text-entry and extended-text */
160
-
161
108
  /* - spot : gap-select-point, graphic-order, qti-graphic-associate */
162
-
163
109
  /* - drag : gap-match, match, order, associate */
164
-
165
110
  /* - drop : gap-match, match, order, associate */
166
-
167
111
  /** End components */
168
-
169
112
  /* hover, every element has a hover, except disabled( which overrides hover */
170
-
171
113
  /* focus, every element has a focus, even drop ( for keyboard access, eventually ) */
172
-
173
114
  /* active, choice active class and, used on checkbox and radio where not .qti-input-choice-hidden */
174
-
175
115
  /* readonly, overwrites cursor, hover background, outline for focus and ring */
176
-
177
116
  /* disabled, make gray state */
178
-
179
117
  /* drag in the drop, else the drag in the drop was black and not gray */
180
-
181
118
  /** Modifiers */
182
-
183
119
  /* PK: There was no utility to reset the ring-inset
184
120
  We use this for the drop container, where we want the ring to have an outset
185
121
  So the drag, with ring-inset, snugs neatly into the drop with ring-'outset'
186
122
  by unsetting the ring-inset */
187
-
188
123
  /* intext for elements which has to appear in text
189
124
  - intext : gap-match > qti-gap, hottext > hottext, select
190
125
  */
191
-
192
126
  /* small for elements which has to appear in text
193
127
  - intext : gap-match > qti-gap, hottext > hottext, select
194
128
  */
195
-
196
129
  /* @apply gap-0.5 rounded !px-1 !py-0 outline-offset-0 ring-1; */
130
+ /* PK: Tailwind theming file for all qti-components
131
+ Uses tailwind components and utilities from the other files
197
132
 
198
- /* QTI Interactions */
133
+ https://play.tailwindcss.com/OFThGk8CbR
134
+ https://play.tailwindcss.com/CeHVrnwgXR
135
+ https://play.tailwindcss.com/JOgoCf81JM
136
+
137
+ You should in you project include modern-normalize.css
138
+
139
+ Then we create tailwind components
140
+ Then we consume these components in our qti-webcomponents
199
141
 
142
+ outline: used for focus
143
+ ring: used for border around the elements, can be active, its an inner ring, except for
144
+ the dropping well, because that has to surround the drag with the inner ring
145
+
146
+ There are 6 types
147
+ - text : text-entry and extended-text
148
+ - select : inline-choice
149
+ - button : .input-control-hidden qti-choice, qti-hotspot
150
+ - check : qti-choice, qti-hotspot
151
+ - drag : gap-match, match, order, associate
152
+ - drop : gap-match, match, order, associate
153
+ - spot : gap-select-point, graphic-order, qti-graphic-associate
154
+
155
+ trying to get the follower modifiers to work:
156
+
157
+ - sm , for elements inside text
158
+ - lg, , for large readable containers
159
+ - in , inline in text
160
+
161
+ taking into account cursors, select-none for some of the elements
162
+ */
163
+ /* FIXMEs
164
+ Outline always on top, sometimes it slips under the hover background
165
+ Intext with inline gaps does not align nicely with existing text https://play.tailwindcss.com/cJEGhvANwM
166
+ modifiers can not be in components, like this example where red should be a modifier inside base https://play.tailwindcss.com/JSnnv1Vvab?file=css
167
+ */
168
+ /* @layer base, components, utilities, variants; */
169
+ /* layout, dimensions, design */
170
+ /* QTI Interactions */
200
171
  .qti-underline {
201
172
  text-decoration: underline;
202
173
  }
203
-
204
174
  .qti-align-left {
205
175
  text-align: left;
206
176
  }
207
-
208
177
  .qti-align-center {
209
178
  text-align: center;
210
179
  }
211
-
212
180
  .qti-align-right {
213
181
  text-align: right;
214
182
  }
215
-
216
183
  .qti-valign-top {
217
184
  vertical-align: top;
218
185
  }
219
-
220
186
  .qti-valign-middle {
221
187
  vertical-align: middle;
222
188
  }
223
-
224
189
  .qti-valign-baseline {
225
190
  vertical-align: baseline;
226
191
  }
227
-
228
192
  .qti-valign-bottom {
229
193
  vertical-align: bottom;
230
194
  }
231
-
232
195
  .qti-fullwidth {
233
196
  width: 100%;
234
197
  }
235
-
236
198
  .qti-hidden {
237
199
  display: none;
238
200
  }
239
-
240
201
  .qti-visually-hidden {
241
202
  position: fixed !important;
242
203
  overflow: hidden;
@@ -246,12 +207,10 @@
246
207
  margin: -1px;
247
208
  clip: rect(1px 1px 1px 1px);
248
209
  }
249
-
250
210
  .qti-bordered {
251
211
  padding: 2px;
252
212
  border: 1px solid #888;
253
213
  }
254
-
255
214
  .qti-well{
256
215
  cursor: pointer;
257
216
  outline: 2px solid transparent;
@@ -276,165 +235,125 @@
276
235
  --tw-text-opacity: 1;
277
236
  color: rgb(75 85 99 / var(--tw-text-opacity));
278
237
  }
279
-
280
238
  .qti-layout-row {
281
239
  display: flow-root;
282
240
  width: 100%;
283
241
  }
284
-
285
242
  .qti-layout-row [class*='qti-layout-col'] {
286
243
  margin-left: 2.1276595745%;
287
244
  float: left;
288
245
  }
289
-
290
246
  .qti-layout-row [class*='qti-layout-col']:first-child {
291
247
  margin-left: 0;
292
248
  }
293
-
294
249
  .qti-layout-row .qti-layout-col12 {
295
250
  width: 100%;
296
251
  }
297
-
298
252
  .qti-layout-row .qti-layout-offset12 {
299
253
  margin-left: 104.2553191489%;
300
254
  }
301
-
302
255
  .qti-layout-row .qti-layout-offset12:first-child {
303
256
  margin-left: 102.1276595745%;
304
257
  }
305
-
306
258
  .qti-layout-row .qti-layout-col11 {
307
259
  width: 91.4893617021%;
308
260
  }
309
-
310
261
  .qti-layout-row .qti-layout-offset11 {
311
262
  margin-left: 95.7446808511%;
312
263
  }
313
-
314
264
  .qti-layout-row .qti-layout-offset11:first-child {
315
265
  margin-left: 93.6170212766%;
316
266
  }
317
-
318
267
  .qti-layout-row .qti-layout-col10 {
319
268
  width: 82.9787234043%;
320
269
  }
321
-
322
270
  .qti-layout-row .qti-layout-offset10 {
323
271
  margin-left: 87.2340425532%;
324
272
  }
325
-
326
273
  .qti-layout-row .qti-layout-offset10:first-child {
327
274
  margin-left: 85.1063829787%;
328
275
  }
329
-
330
276
  .qti-layout-row .qti-layout-col9 {
331
277
  width: 74.4680851064%;
332
278
  }
333
-
334
279
  .qti-layout-row .qti-layout-offset9 {
335
280
  margin-left: 78.7234042553%;
336
281
  }
337
-
338
282
  .qti-layout-row .qti-layout-offset9:first-child {
339
283
  margin-left: 76.5957446809%;
340
284
  }
341
-
342
285
  .qti-layout-row .qti-layout-col8 {
343
286
  width: 65.9574468085%;
344
287
  }
345
-
346
288
  .qti-layout-row .qti-layout-offset8 {
347
289
  margin-left: 70.2127659574%;
348
290
  }
349
-
350
291
  .qti-layout-row .qti-layout-offset8:first-child {
351
292
  margin-left: 68.085106383%;
352
293
  }
353
-
354
294
  .qti-layout-row .qti-layout-col7 {
355
295
  width: 57.4468085106%;
356
296
  }
357
-
358
297
  .qti-layout-row .qti-layout-offset7 {
359
298
  margin-left: 61.7021276596%;
360
299
  }
361
-
362
300
  .qti-layout-row .qti-layout-offset7:first-child {
363
301
  margin-left: 59.5744680851%;
364
302
  }
365
-
366
303
  .qti-layout-row .qti-layout-col6 {
367
304
  width: 48.9361702128%;
368
305
  }
369
-
370
306
  .qti-layout-row .qti-layout-offset6 {
371
307
  margin-left: 53.1914893617%;
372
308
  }
373
-
374
309
  .qti-layout-row .qti-layout-offset6:first-child {
375
310
  margin-left: 51.0638297872%;
376
311
  }
377
-
378
312
  .qti-layout-row .qti-layout-col5 {
379
313
  width: 40.4255319149%;
380
314
  }
381
-
382
315
  .qti-layout-row .qti-layout-offset5 {
383
316
  margin-left: 44.6808510638%;
384
317
  }
385
-
386
318
  .qti-layout-row .qti-layout-offset5:first-child {
387
319
  margin-left: 42.5531914894%;
388
320
  }
389
-
390
321
  .qti-layout-row .qti-layout-col4 {
391
322
  width: 31.914893617%;
392
323
  }
393
-
394
324
  .qti-layout-row .qti-layout-offset4 {
395
325
  margin-left: 36.170212766%;
396
326
  }
397
-
398
327
  .qti-layout-row .qti-layout-offset4:first-child {
399
328
  margin-left: 34.0425531915%;
400
329
  }
401
-
402
330
  .qti-layout-row .qti-layout-col3 {
403
331
  width: 23.4042553191%;
404
332
  }
405
-
406
333
  .qti-layout-row .qti-layout-offset3 {
407
334
  margin-left: 27.6595744681%;
408
335
  }
409
-
410
336
  .qti-layout-row .qti-layout-offset3:first-child {
411
337
  margin-left: 25.5319148936%;
412
338
  }
413
-
414
339
  .qti-layout-row .qti-layout-col2 {
415
340
  width: 14.8936170213%;
416
341
  }
417
-
418
342
  .qti-layout-row .qti-layout-offset2 {
419
343
  margin-left: 19.1489361702%;
420
344
  }
421
-
422
345
  .qti-layout-row .qti-layout-offset2:first-child {
423
346
  margin-left: 17.0212765957%;
424
347
  }
425
-
426
348
  .qti-layout-row .qti-layout-col1 {
427
349
  width: 6.3829787234%;
428
350
  }
429
-
430
351
  .qti-layout-row .qti-layout-offset1 {
431
352
  margin-left: 10.6382978723%;
432
353
  }
433
-
434
354
  .qti-layout-row .qti-layout-offset1:first-child {
435
355
  margin-left: 8.5106382979%;
436
356
  }
437
-
438
357
  /* .qti-input-width-1 {
439
358
  width: 1ch;
440
359
  min-width: 1ch;
@@ -471,13 +390,11 @@
471
390
  width: 72ch;
472
391
  min-width: 72ch;
473
392
  } */
474
-
475
393
  qti-choice-interaction{
476
394
  margin-top: 0.5rem;
477
395
  margin-bottom: 0.5rem;
478
396
  gap: 0.5rem;
479
397
  }
480
-
481
398
  qti-choice-interaction.qti-input-control-hidden qti-simple-choice{
482
399
  cursor: pointer;
483
400
  border-radius: 0.375rem;
@@ -499,17 +416,14 @@ qti-choice-interaction.qti-input-control-hidden qti-simple-choice{
499
416
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
500
417
  /* @apply select-none; */
501
418
  }
502
-
503
419
  qti-choice-interaction.qti-input-control-hidden qti-simple-choice:hover{
504
420
  --tw-bg-opacity: 1;
505
421
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
506
422
  }
507
-
508
423
  qti-choice-interaction.qti-input-control-hidden qti-simple-choice:focus{
509
424
  outline-width: 2px;
510
425
  outline-color: #93c5fd;
511
426
  }
512
-
513
427
  qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-checked="true"]{
514
428
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
515
429
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -517,7 +431,6 @@ qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-checked="
517
431
  --tw-ring-opacity: 1;
518
432
  --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
519
433
  }
520
-
521
434
  qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-disabled="true"]{
522
435
  cursor: not-allowed;
523
436
  --tw-bg-opacity: 1;
@@ -530,12 +443,10 @@ qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-disabled=
530
443
  --tw-ring-opacity: 1;
531
444
  --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
532
445
  }
533
-
534
446
  qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-disabled="true"] > *{
535
447
  --tw-text-opacity: 1 !important;
536
448
  color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
537
449
  }
538
-
539
450
  qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-readonly="true"]{
540
451
  cursor: pointer;
541
452
  --tw-bg-opacity: 1;
@@ -548,7 +459,6 @@ qti-choice-interaction.qti-input-control-hidden qti-simple-choice[aria-readonly=
548
459
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
549
460
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
550
461
  }
551
-
552
462
  qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice{
553
463
  cursor: pointer;
554
464
  border-radius: 0.375rem;
@@ -573,13 +483,11 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice{
573
483
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
574
484
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important;
575
485
  }
576
-
577
486
  qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice::part(cha) {
578
487
  /* let the checkmark or radio circle already take up space, else when checking everyhing collapses */
579
488
  height: 66.666667%;
580
489
  width: 66.666667%;
581
490
  }
582
-
583
491
  qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='radio']::part(ch){
584
492
  display: flex;
585
493
  height: 1.25rem;
@@ -598,13 +506,11 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='ra
598
506
  --tw-ring-opacity: 1;
599
507
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
600
508
  }
601
-
602
509
  qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='radio'][aria-checked='true']::part(cha){
603
510
  border-radius: 9999px;
604
511
  --tw-bg-opacity: 1;
605
512
  background-color: rgb(59 130 246 / var(--tw-bg-opacity));
606
513
  }
607
-
608
514
  qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='checkbox']::part(ch){
609
515
  display: flex;
610
516
  height: 1.25rem;
@@ -623,23 +529,19 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='ch
623
529
  --tw-ring-opacity: 1;
624
530
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
625
531
  }
626
-
627
532
  qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='checkbox'][aria-checked='true']::part(cha){
628
533
  --tw-bg-opacity: 1;
629
534
  background-color: rgb(59 130 246 / var(--tw-bg-opacity));
630
535
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
631
536
  }
632
-
633
537
  qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice:hover{
634
538
  --tw-bg-opacity: 1;
635
539
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
636
540
  }
637
-
638
541
  qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice:focus{
639
542
  outline-width: 2px;
640
543
  outline-color: #93c5fd;
641
544
  }
642
-
643
545
  qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-checked="true"]{
644
546
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
645
547
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -647,7 +549,6 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-che
647
549
  --tw-ring-opacity: 1;
648
550
  --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
649
551
  }
650
-
651
552
  qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-disabled="true"]{
652
553
  cursor: not-allowed;
653
554
  --tw-bg-opacity: 1;
@@ -660,12 +561,10 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-dis
660
561
  --tw-ring-opacity: 1;
661
562
  --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
662
563
  }
663
-
664
564
  qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-disabled="true"] > *{
665
565
  --tw-text-opacity: 1 !important;
666
566
  color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
667
567
  }
668
-
669
568
  qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-readonly="true"]{
670
569
  cursor: pointer;
671
570
  --tw-bg-opacity: 1;
@@ -678,17 +577,22 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[aria-rea
678
577
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
679
578
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
680
579
  }
681
-
580
+ qti-choice-interaction qti-simple-choice[data-correct-response='true'] {
581
+ /* @apply bg-green-100 text-green-600; */
582
+ }
583
+ qti-choice-interaction qti-simple-choice[data-correct-response='true']::after {
584
+ content: '\\02714';
585
+ --tw-text-opacity: 1;
586
+ color: rgb(22 163 74 / var(--tw-text-opacity));
587
+ }
682
588
  qti-choice-interaction qti-simple-choice > p{
683
589
  margin: 0px;
684
590
  padding: 0px;
685
591
  }
686
-
687
592
  qti-text-entry-interaction{
688
593
  margin-top: 0.5rem;
689
594
  margin-bottom: 0.5rem;
690
595
  }
691
-
692
596
  qti-text-entry-interaction::part(input){
693
597
  cursor: pointer;
694
598
  outline: 2px solid transparent;
@@ -709,22 +613,18 @@ qti-text-entry-interaction::part(input){
709
613
  --tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);
710
614
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
711
615
  }
712
-
713
616
  qti-text-entry-interaction::part(input):hover{
714
617
  --tw-bg-opacity: 1;
715
618
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
716
619
  }
717
-
718
620
  qti-text-entry-interaction::part(input):focus{
719
621
  outline-width: 2px;
720
622
  outline-color: #93c5fd;
721
623
  }
722
-
723
624
  qti-extended-text-interaction{
724
625
  margin-top: 0.5rem;
725
626
  margin-bottom: 0.5rem;
726
627
  }
727
-
728
628
  qti-extended-text-interaction::part(textarea){
729
629
  cursor: pointer;
730
630
  outline: 2px solid transparent;
@@ -745,23 +645,19 @@ qti-extended-text-interaction::part(textarea){
745
645
  --tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);
746
646
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
747
647
  }
748
-
749
648
  qti-extended-text-interaction::part(textarea):hover{
750
649
  --tw-bg-opacity: 1;
751
650
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
752
651
  }
753
-
754
652
  qti-extended-text-interaction::part(textarea):focus{
755
653
  outline-width: 2px;
756
654
  outline-color: #93c5fd;
757
655
  }
758
-
759
656
  qti-gap-match-interaction{
760
657
  margin-top: 0.5rem;
761
658
  margin-bottom: 0.5rem;
762
659
  line-height: 2rem;
763
660
  }
764
-
765
661
  qti-gap-match-interaction qti-gap-text{
766
662
  cursor: pointer;
767
663
  border-radius: 0.375rem;
@@ -798,17 +694,14 @@ qti-gap-match-interaction qti-gap-text{
798
694
  padding-right: 0.5rem;
799
695
  line-height: 1.5;
800
696
  }
801
-
802
697
  qti-gap-match-interaction qti-gap-text:hover{
803
698
  --tw-bg-opacity: 1;
804
699
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
805
700
  }
806
-
807
701
  qti-gap-match-interaction qti-gap-text:focus{
808
702
  outline-width: 2px;
809
703
  outline-color: #93c5fd;
810
704
  }
811
-
812
705
  qti-gap-match-interaction qti-gap{
813
706
  cursor: pointer;
814
707
  border-radius: 0.375rem;
@@ -833,27 +726,21 @@ qti-gap-match-interaction qti-gap{
833
726
  display: inline-flex;
834
727
  line-height: 1.5;
835
728
  }
836
-
837
729
  qti-gap-match-interaction qti-gap:hover{
838
730
  --tw-bg-opacity: 1;
839
731
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
840
732
  }
841
-
842
733
  qti-gap-match-interaction qti-gap:focus{
843
734
  outline-width: 2px;
844
735
  outline-color: #93c5fd;
845
736
  }
846
-
847
737
  qti-gap-match-interaction qti-gap{
848
738
  width: 8rem;
849
739
  }
850
-
851
740
  /* PK: should be set in the javascript, default 100px, or listening to data-width attribute according to the spec */
852
-
853
741
  qti-gap-match-interaction qti-gap:empty:after {
854
742
  content: '\\0000a0'; /* when empty, put a space in it */
855
743
  }
856
-
857
744
  qti-gap-match-interaction qti-gap:not(:empty){
858
745
  display: inline-flex;
859
746
  width: auto;
@@ -862,7 +749,6 @@ qti-gap-match-interaction qti-gap:not(:empty){
862
749
  --tw-shadow-colored: 0 0 #0000;
863
750
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
864
751
  }
865
-
866
752
  qti-gap-match-interaction qti-gap:not(:empty) > *{
867
753
  flex: 1 1 0%;
868
754
  --tw-rotate: 0deg;
@@ -873,17 +759,14 @@ qti-gap-match-interaction qti-gap:not(:empty) > *{
873
759
  --tw-ring-opacity: 1;
874
760
  --tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity));
875
761
  }
876
-
877
762
  qti-hotspot-interaction{
878
763
  margin-top: 0.5rem;
879
764
  margin-bottom: 0.5rem;
880
765
  }
881
-
882
766
  qti-hotspot-interaction qti-hotspot-choice:hover{
883
767
  background-color: rgb(219 234 254 / var(--tw-bg-opacity));
884
768
  --tw-bg-opacity: 0.3;
885
769
  }
886
-
887
770
  qti-hotspot-interaction qti-hotspot-choice {
888
771
 
889
772
  /* &::after {
@@ -894,7 +777,6 @@ qti-hotspot-interaction qti-hotspot-choice {
894
777
  clip-path: inherit;
895
778
  } */
896
779
  }
897
-
898
780
  qti-hotspot-interaction qti-hotspot-choice[shape='circle']{
899
781
  cursor: pointer;
900
782
  border-radius: 0.375rem;
@@ -914,17 +796,14 @@ qti-hotspot-interaction qti-hotspot-choice[shape='circle']{
914
796
  --tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
915
797
  border-radius: 9999px;
916
798
  }
917
-
918
799
  qti-hotspot-interaction qti-hotspot-choice[shape='circle']:hover{
919
800
  --tw-ring-opacity: 1;
920
801
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
921
802
  }
922
-
923
803
  qti-hotspot-interaction qti-hotspot-choice[shape='circle']:focus{
924
804
  outline-width: 2px;
925
805
  outline-color: #93c5fd;
926
806
  }
927
-
928
807
  qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-checked="true"]{
929
808
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
930
809
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -932,7 +811,6 @@ qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-checked="true"]{
932
811
  --tw-ring-opacity: 1;
933
812
  --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
934
813
  }
935
-
936
814
  qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-disabled="true"]{
937
815
  cursor: not-allowed;
938
816
  --tw-bg-opacity: 1;
@@ -945,12 +823,10 @@ qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-disabled="true"]
945
823
  --tw-ring-opacity: 1;
946
824
  --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
947
825
  }
948
-
949
826
  qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-disabled="true"] > *{
950
827
  --tw-text-opacity: 1 !important;
951
828
  color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
952
829
  }
953
-
954
830
  qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-readonly="true"]{
955
831
  cursor: pointer;
956
832
  --tw-bg-opacity: 1;
@@ -963,7 +839,6 @@ qti-hotspot-interaction qti-hotspot-choice[shape='circle'][aria-readonly="true"]
963
839
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
964
840
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
965
841
  }
966
-
967
842
  qti-hotspot-interaction qti-hotspot-choice[shape='rect']{
968
843
  cursor: pointer;
969
844
  border-radius: 0.375rem;
@@ -982,17 +857,14 @@ qti-hotspot-interaction qti-hotspot-choice[shape='rect']{
982
857
  --tw-ring-opacity: 1;
983
858
  --tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
984
859
  }
985
-
986
860
  qti-hotspot-interaction qti-hotspot-choice[shape='rect']:hover{
987
861
  --tw-ring-opacity: 1;
988
862
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
989
863
  }
990
-
991
864
  qti-hotspot-interaction qti-hotspot-choice[shape='rect']:focus{
992
865
  outline-width: 2px;
993
866
  outline-color: #93c5fd;
994
867
  }
995
-
996
868
  qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-checked="true"]{
997
869
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
998
870
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -1000,7 +872,6 @@ qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-checked="true"]{
1000
872
  --tw-ring-opacity: 1;
1001
873
  --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
1002
874
  }
1003
-
1004
875
  qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-disabled="true"]{
1005
876
  cursor: not-allowed;
1006
877
  --tw-bg-opacity: 1;
@@ -1013,12 +884,10 @@ qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-disabled="true"]{
1013
884
  --tw-ring-opacity: 1;
1014
885
  --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
1015
886
  }
1016
-
1017
887
  qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-disabled="true"] > *{
1018
888
  --tw-text-opacity: 1 !important;
1019
889
  color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
1020
890
  }
1021
-
1022
891
  qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-readonly="true"]{
1023
892
  cursor: pointer;
1024
893
  --tw-bg-opacity: 1;
@@ -1031,17 +900,14 @@ qti-hotspot-interaction qti-hotspot-choice[shape='rect'][aria-readonly="true"]{
1031
900
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1032
901
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1033
902
  }
1034
-
1035
903
  qti-hotspot-interaction qti-hotspot-choice[shape='poly']:hover{
1036
904
  --tw-bg-opacity: 1;
1037
905
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1038
906
  }
1039
-
1040
907
  qti-hotspot-interaction qti-hotspot-choice[shape='poly']:focus{
1041
908
  outline-width: 2px;
1042
909
  outline-color: #93c5fd;
1043
910
  }
1044
-
1045
911
  qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-checked="true"]{
1046
912
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1047
913
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -1049,7 +915,6 @@ qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-checked="true"]{
1049
915
  --tw-ring-opacity: 1;
1050
916
  --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
1051
917
  }
1052
-
1053
918
  qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-disabled="true"]{
1054
919
  cursor: not-allowed;
1055
920
  --tw-bg-opacity: 1;
@@ -1062,12 +927,10 @@ qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-disabled="true"]{
1062
927
  --tw-ring-opacity: 1;
1063
928
  --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
1064
929
  }
1065
-
1066
930
  qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-disabled="true"] > *{
1067
931
  --tw-text-opacity: 1 !important;
1068
932
  color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
1069
933
  }
1070
-
1071
934
  qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-readonly="true"]{
1072
935
  cursor: pointer;
1073
936
  --tw-bg-opacity: 1;
@@ -1080,17 +943,14 @@ qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-readonly="true"]{
1080
943
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1081
944
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1082
945
  }
1083
-
1084
946
  qti-hotspot-interaction qti-hotspot-choice[shape='poly'][aria-checked='true']{
1085
947
  --tw-bg-opacity: 1;
1086
948
  background-color: rgb(59 130 246 / var(--tw-bg-opacity));
1087
949
  }
1088
-
1089
950
  qti-hottext-interaction{
1090
951
  margin-top: 0.5rem;
1091
952
  margin-bottom: 0.5rem;
1092
953
  }
1093
-
1094
954
  qti-hottext-interaction.qti-input-control-hidden qti-hottext{
1095
955
  cursor: pointer;
1096
956
  border-radius: 0.375rem;
@@ -1116,17 +976,14 @@ qti-hottext-interaction.qti-input-control-hidden qti-hottext{
1116
976
  /* @apply inline-flex gap-1 px-1 py-0 align-bottom font-normal ring-offset-0; */
1117
977
  /* @apply gap-0.5 rounded !px-1 !py-0 outline-offset-0 ring-1; */
1118
978
  }
1119
-
1120
979
  qti-hottext-interaction.qti-input-control-hidden qti-hottext:hover{
1121
980
  --tw-bg-opacity: 1;
1122
981
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1123
982
  }
1124
-
1125
983
  qti-hottext-interaction.qti-input-control-hidden qti-hottext:focus{
1126
984
  outline-width: 2px;
1127
985
  outline-color: #93c5fd;
1128
986
  }
1129
-
1130
987
  qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-checked="true"]{
1131
988
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1132
989
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -1134,7 +991,6 @@ qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-checked="true"
1134
991
  --tw-ring-opacity: 1;
1135
992
  --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
1136
993
  }
1137
-
1138
994
  qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-disabled="true"]{
1139
995
  cursor: not-allowed;
1140
996
  --tw-bg-opacity: 1;
@@ -1147,12 +1003,10 @@ qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-disabled="true
1147
1003
  --tw-ring-opacity: 1;
1148
1004
  --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
1149
1005
  }
1150
-
1151
1006
  qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-disabled="true"] > *{
1152
1007
  --tw-text-opacity: 1 !important;
1153
1008
  color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
1154
1009
  }
1155
-
1156
1010
  qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-readonly="true"]{
1157
1011
  cursor: pointer;
1158
1012
  --tw-bg-opacity: 1;
@@ -1165,11 +1019,9 @@ qti-hottext-interaction.qti-input-control-hidden qti-hottext[aria-readonly="true
1165
1019
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1166
1020
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1167
1021
  }
1168
-
1169
1022
  qti-hottext-interaction.qti-input-control-hidden qti-hottext::part(ch){
1170
1023
  display: none !important;
1171
1024
  }
1172
-
1173
1025
  qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext{
1174
1026
  cursor: pointer;
1175
1027
  border-radius: 0.375rem;
@@ -1194,13 +1046,11 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext{
1194
1046
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
1195
1047
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important;
1196
1048
  }
1197
-
1198
1049
  qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext::part(cha) {
1199
1050
  /* let the checkmark or radio circle already take up space, else when checking everyhing collapses */
1200
1051
  height: 66.666667%;
1201
1052
  width: 66.666667%;
1202
1053
  }
1203
-
1204
1054
  qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='radio']::part(ch){
1205
1055
  display: flex;
1206
1056
  height: 1.25rem;
@@ -1219,13 +1069,11 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='radio']
1219
1069
  --tw-ring-opacity: 1;
1220
1070
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
1221
1071
  }
1222
-
1223
1072
  qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='radio'][aria-checked='true']::part(cha){
1224
1073
  border-radius: 9999px;
1225
1074
  --tw-bg-opacity: 1;
1226
1075
  background-color: rgb(59 130 246 / var(--tw-bg-opacity));
1227
1076
  }
1228
-
1229
1077
  qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='checkbox']::part(ch){
1230
1078
  display: flex;
1231
1079
  height: 1.25rem;
@@ -1244,13 +1092,11 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='checkbo
1244
1092
  --tw-ring-opacity: 1;
1245
1093
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
1246
1094
  }
1247
-
1248
1095
  qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='checkbox'][aria-checked='true']::part(cha){
1249
1096
  --tw-bg-opacity: 1;
1250
1097
  background-color: rgb(59 130 246 / var(--tw-bg-opacity));
1251
1098
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
1252
1099
  }
1253
-
1254
1100
  qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext{
1255
1101
  display: inline-flex;
1256
1102
 
@@ -1266,7 +1112,6 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext{
1266
1112
 
1267
1113
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1268
1114
  }
1269
-
1270
1115
  qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext::part(ch){
1271
1116
  height: 1rem !important;
1272
1117
  width: 1rem !important;
@@ -1274,17 +1119,14 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext::part(ch){
1274
1119
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
1275
1120
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000) !important;
1276
1121
  }
1277
-
1278
1122
  qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext:hover{
1279
1123
  --tw-bg-opacity: 1;
1280
1124
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1281
1125
  }
1282
-
1283
1126
  qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext:focus{
1284
1127
  outline-width: 2px;
1285
1128
  outline-color: #93c5fd;
1286
1129
  }
1287
-
1288
1130
  qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-checked="true"]{
1289
1131
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1290
1132
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -1292,7 +1134,6 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-checked=
1292
1134
  --tw-ring-opacity: 1;
1293
1135
  --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
1294
1136
  }
1295
-
1296
1137
  qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-disabled="true"]{
1297
1138
  cursor: not-allowed;
1298
1139
  --tw-bg-opacity: 1;
@@ -1305,12 +1146,10 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-disabled
1305
1146
  --tw-ring-opacity: 1;
1306
1147
  --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
1307
1148
  }
1308
-
1309
1149
  qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-disabled="true"] > *{
1310
1150
  --tw-text-opacity: 1 !important;
1311
1151
  color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
1312
1152
  }
1313
-
1314
1153
  qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-readonly="true"]{
1315
1154
  cursor: pointer;
1316
1155
  --tw-bg-opacity: 1;
@@ -1323,7 +1162,6 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[aria-readonly
1323
1162
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1324
1163
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1325
1164
  }
1326
-
1327
1165
  qti-inline-choice-interaction::part(select){
1328
1166
  cursor: pointer;
1329
1167
  border-radius: 0.375rem;
@@ -1349,27 +1187,22 @@ qti-inline-choice-interaction::part(select){
1349
1187
  background: url("data:image/svg+xml,%3Csvg fill='currentColor' width='22' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath clip-rule='evenodd' fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'%3E%3C/path%3E%3C/svg%3E")
1350
1188
  no-repeat center right 6px;
1351
1189
  }
1352
-
1353
1190
  qti-inline-choice-interaction::part(select):hover{
1354
1191
  --tw-bg-opacity: 1;
1355
1192
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1356
1193
  }
1357
-
1358
1194
  qti-inline-choice-interaction::part(select):focus{
1359
1195
  outline-width: 2px;
1360
1196
  outline-color: #93c5fd;
1361
1197
  }
1362
-
1363
1198
  qti-inline-choice-interaction::part(select) { /* aria-checked:act aria-readonly:rdo aria-disabled:dis; */
1364
1199
  }
1365
-
1366
1200
  qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type{
1367
1201
  display: flex;
1368
1202
  flex-wrap: wrap;
1369
1203
  gap: 0.5rem;
1370
1204
  padding-bottom: 1rem;
1371
1205
  }
1372
-
1373
1206
  qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type qti-simple-associable-choice{
1374
1207
  cursor: pointer;
1375
1208
  border-radius: 0.375rem;
@@ -1405,24 +1238,20 @@ qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type
1405
1238
  padding-left: 1rem;
1406
1239
  padding-right: 0.75rem;
1407
1240
  }
1408
-
1409
1241
  qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type qti-simple-associable-choice:hover{
1410
1242
  --tw-bg-opacity: 1;
1411
1243
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1412
1244
  }
1413
-
1414
1245
  qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:first-of-type qti-simple-associable-choice:focus{
1415
1246
  outline-width: 2px;
1416
1247
  outline-color: #93c5fd;
1417
1248
  }
1418
-
1419
1249
  qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type{
1420
1250
  display: grid;
1421
1251
  grid-auto-columns: minmax(0, 1fr);
1422
1252
  grid-auto-flow: column;
1423
1253
  gap: 0.5rem;
1424
1254
  }
1425
-
1426
1255
  qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice{
1427
1256
  cursor: pointer;
1428
1257
  border-radius: 0.375rem;
@@ -1445,24 +1274,20 @@ qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type
1445
1274
  --tw-ring-offset-width: 1px;
1446
1275
  --tw-ring-inset: unset;
1447
1276
  }
1448
-
1449
1277
  qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice:hover{
1450
1278
  --tw-bg-opacity: 1;
1451
1279
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1452
1280
  }
1453
-
1454
1281
  qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice:focus{
1455
1282
  outline-width: 2px;
1456
1283
  outline-color: #93c5fd;
1457
1284
  }
1458
-
1459
1285
  qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice {
1460
1286
  /* @apply flex h-32 flex-col gap-2; */
1461
1287
  display: flex;
1462
1288
  height: 8rem;
1463
1289
  flex-direction: column;
1464
1290
  }
1465
-
1466
1291
  qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice{
1467
1292
  cursor: pointer;
1468
1293
  border-radius: 0.375rem;
@@ -1498,21 +1323,17 @@ qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type
1498
1323
  padding-left: 1rem;
1499
1324
  padding-right: 0.75rem;
1500
1325
  }
1501
-
1502
1326
  qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice:hover{
1503
1327
  --tw-bg-opacity: 1;
1504
1328
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1505
1329
  }
1506
-
1507
1330
  qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice:focus{
1508
1331
  outline-width: 2px;
1509
1332
  outline-color: #93c5fd;
1510
1333
  }
1511
-
1512
1334
  qti-match-interaction:not(.qti-match-tabular) qti-simple-match-set:last-of-type qti-simple-associable-choice > qti-simple-associable-choice {
1513
1335
  flex-basis: fit-content;
1514
1336
  }
1515
-
1516
1337
  qti-order-interaction::part(qti-simple-choice),
1517
1338
  qti-order-interaction qti-simple-choice{
1518
1339
  cursor: pointer;
@@ -1549,19 +1370,16 @@ qti-order-interaction::part(qti-simple-choice),
1549
1370
  padding-left: 1rem;
1550
1371
  padding-right: 0.75rem;
1551
1372
  }
1552
-
1553
1373
  qti-order-interaction::part(qti-simple-choice):hover,
1554
1374
  qti-order-interaction qti-simple-choice:hover{
1555
1375
  --tw-bg-opacity: 1;
1556
1376
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1557
1377
  }
1558
-
1559
1378
  qti-order-interaction::part(qti-simple-choice):focus,
1560
1379
  qti-order-interaction qti-simple-choice:focus{
1561
1380
  outline-width: 2px;
1562
1381
  outline-color: #93c5fd;
1563
1382
  }
1564
-
1565
1383
  qti-order-interaction::part(qti-simple-choice){
1566
1384
  display: flex;
1567
1385
  width: 100%;
@@ -1569,15 +1387,12 @@ qti-order-interaction::part(qti-simple-choice){
1569
1387
  overflow: hidden;
1570
1388
  text-overflow: ellipsis;
1571
1389
  }
1572
-
1573
1390
  qti-order-interaction::part(drops){
1574
1391
  gap: 0.5rem;
1575
1392
  }
1576
-
1577
1393
  qti-order-interaction::part(drags){
1578
1394
  gap: 0.5rem;
1579
1395
  }
1580
-
1581
1396
  qti-order-interaction::part(drop-list){
1582
1397
  cursor: pointer;
1583
1398
  border-radius: 0.375rem;
@@ -1602,17 +1417,14 @@ qti-order-interaction::part(drop-list){
1602
1417
  display: flex;
1603
1418
  min-height: 4rem;
1604
1419
  }
1605
-
1606
1420
  qti-order-interaction::part(drop-list):hover{
1607
1421
  --tw-bg-opacity: 1;
1608
1422
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1609
1423
  }
1610
-
1611
1424
  qti-order-interaction::part(drop-list):focus{
1612
1425
  outline-width: 2px;
1613
1426
  outline-color: #93c5fd;
1614
1427
  }
1615
-
1616
1428
  qti-order-interaction::part(active){
1617
1429
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1618
1430
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -1620,7 +1432,6 @@ qti-order-interaction::part(active){
1620
1432
  --tw-ring-opacity: 1;
1621
1433
  --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
1622
1434
  }
1623
-
1624
1435
  qti-associate-interaction::part(qti-simple-associable-choice),
1625
1436
  qti-associate-interaction qti-simple-associable-choice{
1626
1437
  cursor: pointer;
@@ -1661,19 +1472,16 @@ qti-associate-interaction::part(qti-simple-associable-choice),
1661
1472
  padding-left: 1rem;
1662
1473
  padding-right: 0.75rem;
1663
1474
  }
1664
-
1665
1475
  qti-associate-interaction::part(qti-simple-associable-choice):hover,
1666
1476
  qti-associate-interaction qti-simple-associable-choice:hover{
1667
1477
  --tw-bg-opacity: 1;
1668
1478
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1669
1479
  }
1670
-
1671
1480
  qti-associate-interaction::part(qti-simple-associable-choice):focus,
1672
1481
  qti-associate-interaction qti-simple-associable-choice:focus{
1673
1482
  outline-width: 2px;
1674
1483
  outline-color: #93c5fd;
1675
1484
  }
1676
-
1677
1485
  qti-associate-interaction::part(associables-container){
1678
1486
  margin-top: 0.5rem;
1679
1487
  margin-bottom: 0.5rem;
@@ -1687,7 +1495,6 @@ qti-associate-interaction::part(associables-container){
1687
1495
  rgb(0 0 0 / 0%) calc(50% + 1px)
1688
1496
  );
1689
1497
  }
1690
-
1691
1498
  qti-associate-interaction::part(active){
1692
1499
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1693
1500
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -1695,7 +1502,6 @@ qti-associate-interaction::part(active){
1695
1502
  --tw-ring-opacity: 1;
1696
1503
  --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
1697
1504
  }
1698
-
1699
1505
  qti-associate-interaction::part(drop-list){
1700
1506
  cursor: pointer;
1701
1507
  border-radius: 0.375rem;
@@ -1721,9 +1527,7 @@ qti-associate-interaction::part(drop-list){
1721
1527
  height: 3rem;
1722
1528
  width: 33.333333%;
1723
1529
  }
1724
-
1725
1530
  /* @apply my-2; */
1726
-
1727
1531
  qti-graphic-order-interaction qti-hotspot-choice{
1728
1532
  cursor: pointer;
1729
1533
  border-radius: 0.375rem;
@@ -1742,17 +1546,14 @@ qti-graphic-order-interaction qti-hotspot-choice{
1742
1546
  --tw-ring-opacity: 1;
1743
1547
  --tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
1744
1548
  }
1745
-
1746
1549
  qti-graphic-order-interaction qti-hotspot-choice:hover{
1747
1550
  --tw-bg-opacity: 1;
1748
1551
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1749
1552
  }
1750
-
1751
1553
  qti-graphic-order-interaction qti-hotspot-choice:focus{
1752
1554
  outline-width: 2px;
1753
1555
  outline-color: #93c5fd;
1754
1556
  }
1755
-
1756
1557
  qti-graphic-order-interaction qti-hotspot-choice[aria-checked="true"]{
1757
1558
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1758
1559
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -1760,7 +1561,6 @@ qti-graphic-order-interaction qti-hotspot-choice[aria-checked="true"]{
1760
1561
  --tw-ring-opacity: 1;
1761
1562
  --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
1762
1563
  }
1763
-
1764
1564
  qti-graphic-order-interaction qti-hotspot-choice[aria-disabled="true"]{
1765
1565
  cursor: not-allowed;
1766
1566
  --tw-bg-opacity: 1;
@@ -1773,12 +1573,10 @@ qti-graphic-order-interaction qti-hotspot-choice[aria-disabled="true"]{
1773
1573
  --tw-ring-opacity: 1;
1774
1574
  --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
1775
1575
  }
1776
-
1777
1576
  qti-graphic-order-interaction qti-hotspot-choice[aria-disabled="true"] > *{
1778
1577
  --tw-text-opacity: 1 !important;
1779
1578
  color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
1780
1579
  }
1781
-
1782
1580
  qti-graphic-order-interaction qti-hotspot-choice[aria-readonly="true"]{
1783
1581
  cursor: pointer;
1784
1582
  --tw-bg-opacity: 1;
@@ -1791,7 +1589,6 @@ qti-graphic-order-interaction qti-hotspot-choice[aria-readonly="true"]{
1791
1589
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1792
1590
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1793
1591
  }
1794
-
1795
1592
  /* &::after {
1796
1593
  content: '';
1797
1594
  @apply absolute top-0 block scale-75 bg-white;
@@ -1799,7 +1596,6 @@ qti-graphic-order-interaction qti-hotspot-choice[aria-readonly="true"]{
1799
1596
  width: inherit;
1800
1597
  clip-path: inherit;
1801
1598
  } */
1802
-
1803
1599
  qti-graphic-order-interaction qti-hotspot-choice[aria-ordervalue]{
1804
1600
  height: 1.5rem;
1805
1601
  width: 1.5rem;
@@ -1812,16 +1608,13 @@ qti-graphic-order-interaction qti-hotspot-choice[aria-ordervalue]{
1812
1608
  align-items: center;
1813
1609
  justify-content: center;
1814
1610
  }
1815
-
1816
1611
  qti-graphic-order-interaction qti-hotspot-choice[aria-ordervalue]::after {
1817
1612
  content: attr(aria-ordervalue) !important;
1818
1613
  }
1819
-
1820
1614
  qti-graphic-associate-interaction{
1821
1615
  position: relative;
1822
1616
  display: block;
1823
1617
  }
1824
-
1825
1618
  qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'] {
1826
1619
  /* border-radius: 100%;
1827
1620
  background-color: green; */
@@ -1842,17 +1635,14 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'] {
1842
1635
  --tw-ring-opacity: 1;
1843
1636
  --tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
1844
1637
  }
1845
-
1846
1638
  qti-graphic-associate-interaction qti-associable-hotspot[shape='circle']:hover{
1847
1639
  --tw-bg-opacity: 1;
1848
1640
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1849
1641
  }
1850
-
1851
1642
  qti-graphic-associate-interaction qti-associable-hotspot[shape='circle']:focus{
1852
1643
  outline-width: 2px;
1853
1644
  outline-color: #93c5fd;
1854
1645
  }
1855
-
1856
1646
  qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-checked="true"]{
1857
1647
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1858
1648
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -1860,7 +1650,6 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-ch
1860
1650
  --tw-ring-opacity: 1;
1861
1651
  --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
1862
1652
  }
1863
-
1864
1653
  qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-disabled="true"]{
1865
1654
  cursor: not-allowed;
1866
1655
  --tw-bg-opacity: 1;
@@ -1873,12 +1662,10 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-di
1873
1662
  --tw-ring-opacity: 1;
1874
1663
  --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
1875
1664
  }
1876
-
1877
1665
  qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-disabled="true"] > *{
1878
1666
  --tw-text-opacity: 1 !important;
1879
1667
  color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
1880
1668
  }
1881
-
1882
1669
  qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-readonly="true"]{
1883
1670
  cursor: pointer;
1884
1671
  --tw-bg-opacity: 1;
@@ -1891,7 +1678,6 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='circle'][aria-re
1891
1678
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1892
1679
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1893
1680
  }
1894
-
1895
1681
  qti-graphic-associate-interaction qti-associable-hotspot[shape='square'] {
1896
1682
  /* border-radius: 0; */
1897
1683
  /* background-color: green; */
@@ -1912,17 +1698,14 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='square'] {
1912
1698
  --tw-ring-opacity: 1;
1913
1699
  --tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
1914
1700
  }
1915
-
1916
1701
  qti-graphic-associate-interaction qti-associable-hotspot[shape='square']:hover{
1917
1702
  --tw-bg-opacity: 1;
1918
1703
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1919
1704
  }
1920
-
1921
1705
  qti-graphic-associate-interaction qti-associable-hotspot[shape='square']:focus{
1922
1706
  outline-width: 2px;
1923
1707
  outline-color: #93c5fd;
1924
1708
  }
1925
-
1926
1709
  qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-checked="true"]{
1927
1710
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1928
1711
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -1930,7 +1713,6 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-ch
1930
1713
  --tw-ring-opacity: 1;
1931
1714
  --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
1932
1715
  }
1933
-
1934
1716
  qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-disabled="true"]{
1935
1717
  cursor: not-allowed;
1936
1718
  --tw-bg-opacity: 1;
@@ -1943,12 +1725,10 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-di
1943
1725
  --tw-ring-opacity: 1;
1944
1726
  --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
1945
1727
  }
1946
-
1947
1728
  qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-disabled="true"] > *{
1948
1729
  --tw-text-opacity: 1 !important;
1949
1730
  color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
1950
1731
  }
1951
-
1952
1732
  qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-readonly="true"]{
1953
1733
  cursor: pointer;
1954
1734
  --tw-bg-opacity: 1;
@@ -1961,30 +1741,24 @@ qti-graphic-associate-interaction qti-associable-hotspot[shape='square'][aria-re
1961
1741
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1962
1742
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1963
1743
  }
1964
-
1965
1744
  qti-graphic-gap-match-interaction{
1966
1745
  position: relative;
1967
1746
  }
1968
-
1969
1747
  qti-graphic-gap-match-interaction img{
1970
1748
  margin: 0px;
1971
1749
  padding: 0px;
1972
1750
  }
1973
-
1974
1751
  qti-slider-interaction{
1975
1752
  display: block; /* else no screenshot will be made with html-to-image */
1976
1753
  }
1977
-
1978
1754
  qti-slider-interaction:hover{
1979
1755
  --tw-bg-opacity: 1;
1980
1756
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
1981
1757
  }
1982
-
1983
1758
  qti-slider-interaction:focus{
1984
1759
  outline-width: 2px;
1985
1760
  outline-color: #93c5fd;
1986
1761
  }
1987
-
1988
1762
  qti-slider-interaction[aria-checked="true"]{
1989
1763
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1990
1764
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -1992,7 +1766,6 @@ qti-slider-interaction[aria-checked="true"]{
1992
1766
  --tw-ring-opacity: 1;
1993
1767
  --tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity));
1994
1768
  }
1995
-
1996
1769
  qti-slider-interaction[aria-disabled="true"]{
1997
1770
  cursor: not-allowed;
1998
1771
  --tw-bg-opacity: 1;
@@ -2005,12 +1778,10 @@ qti-slider-interaction[aria-disabled="true"]{
2005
1778
  --tw-ring-opacity: 1;
2006
1779
  --tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity));
2007
1780
  }
2008
-
2009
1781
  qti-slider-interaction[aria-disabled="true"] > *{
2010
1782
  --tw-text-opacity: 1 !important;
2011
1783
  color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
2012
1784
  }
2013
-
2014
1785
  qti-slider-interaction[aria-readonly="true"]{
2015
1786
  cursor: pointer;
2016
1787
  --tw-bg-opacity: 1;
@@ -2023,34 +1794,28 @@ qti-slider-interaction[aria-readonly="true"]{
2023
1794
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2024
1795
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2025
1796
  }
2026
-
2027
1797
  qti-slider-interaction {
2028
1798
 
2029
1799
  --qti-tick-color: rgb(229 231 235 / 1);
2030
1800
  --qti-tick-width: 2px;
2031
1801
  }
2032
-
2033
1802
  qti-slider-interaction::part(slider){
2034
1803
  margin-left: 2rem;
2035
1804
  margin-right: 2rem; /* so the slider stays INSIDE of the qti-slider-interaction */ padding-bottom: 1rem; padding-top: 1.25rem; /* this keeps all content in the qti-slider interaction, also for html-to-image */
2036
1805
  }
2037
-
2038
1806
  qti-slider-interaction{
2039
1807
 
2040
1808
  --show-bounds: true;
2041
1809
  }
2042
-
2043
1810
  qti-slider-interaction::part(bounds){
2044
1811
  display: flex;
2045
1812
  width: 100%;
2046
1813
  justify-content: space-between; /* the two divs with value lower and upper will now be at start and end of this bounds container */ margin-bottom: 0.5rem; /* just so it aligns with the value 'knob' */
2047
1814
  }
2048
-
2049
1815
  qti-slider-interaction{
2050
1816
 
2051
1817
  --show-ticks: true;
2052
1818
  }
2053
-
2054
1819
  qti-slider-interaction::part(ticks){
2055
1820
  margin-left: 0.125rem;
2056
1821
  margin-right: 0.125rem;
@@ -2060,14 +1825,12 @@ qti-slider-interaction::part(ticks){
2060
1825
  background: linear-gradient(to right, var(--qti-tick-color) var(--qti-tick-width), transparent 1px) repeat-x;
2061
1826
  background-size: calc(calc(100% - var(--qti-tick-width)) / ((var(--max) - var(--min)) / var(--step))) 100%;
2062
1827
  }
2063
-
2064
1828
  qti-slider-interaction::part(rail){
2065
1829
  display: flex;
2066
1830
  align-items: center; /* so the knob is neatly centered vertically */
2067
1831
  /* DESIGN */
2068
1832
  box-sizing: border-box; /* if you have a border in the design apply, this box-border will make the border stay INSIDE the rail */ height: 0.75rem; width: 100%; cursor: pointer; border-radius: 9999px; border-style: solid; --tw-border-opacity: 1; border-color: rgb(229 231 235 / var(--tw-border-opacity)); --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity));
2069
1833
  }
2070
-
2071
1834
  qti-slider-interaction::part(knob){
2072
1835
  position: relative;
2073
1836
  height: 1.5rem;
@@ -2081,22 +1844,18 @@ qti-slider-interaction::part(knob){
2081
1844
  background-color: rgb(59 130 246 / var(--tw-bg-opacity));
2082
1845
  left: var(--value-percentage);
2083
1846
  }
2084
-
2085
1847
  qti-slider-interaction{
2086
1848
 
2087
1849
  --show-value: true;
2088
1850
  }
2089
-
2090
1851
  qti-slider-interaction::part(value){
2091
1852
  position: absolute;
2092
1853
  bottom: 2rem; /* align the value, which you can drag, on top of the knob, so it aligns with the rest of the values */ left: 0.75rem; /* should be half width of the knob if you want to center these two */ --tw-translate-x: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); cursor: pointer; border-radius: 0.25rem; --tw-bg-opacity: 1; background-color: rgb(59 130 246 / var(--tw-bg-opacity)); padding-left: 1rem; padding-right: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem; text-align: center;
2093
1854
  }
2094
-
2095
1855
  qti-select-point-interaction::part(point):hover{
2096
1856
  background-color: rgb(219 234 254 / var(--tw-bg-opacity));
2097
1857
  --tw-bg-opacity: 0.3;
2098
1858
  }
2099
-
2100
1859
  qti-select-point-interaction::part(point){
2101
1860
  cursor: pointer;
2102
1861
  border-radius: 0.375rem;
@@ -2116,79 +1875,67 @@ qti-select-point-interaction::part(point){
2116
1875
  --tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity));
2117
1876
  border-radius: 9999px;
2118
1877
  }
2119
-
2120
1878
  qti-select-point-interaction::part(point):hover{
2121
1879
  --tw-ring-opacity: 1;
2122
1880
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
2123
1881
  }
2124
-
2125
1882
  qti-select-point-interaction::part(point):focus{
2126
1883
  outline-width: 2px;
2127
1884
  outline-color: #93c5fd;
2128
1885
  }
2129
-
2130
1886
  qti-select-point-interaction::part(point) { /* aria-checked:act aria-readonly:rdo aria-disabled:dis ;*/
2131
1887
  }
2132
-
2133
1888
  qti-position-object-stage qti-position-object-interaction {
2134
1889
  /* no styles necessary, only layout styles, defined in the component */
2135
1890
  /* height: 40px; */
2136
1891
  }
2137
-
2138
1892
  qti-prompt{
2139
1893
  margin-top: 0.5rem;
2140
1894
  margin-bottom: 0.5rem;
2141
1895
  display: block;
2142
1896
  width: 100%;
2143
1897
  }
2144
-
2145
1898
  qti-choice-interaction.qti-choices-stacking-2{
2146
1899
  display: grid;
2147
1900
  grid-template-columns: repeat(2, minmax(0, 1fr));
2148
1901
  }
2149
-
2150
1902
  qti-choice-interaction.qti-choices-stacking-2 qti-prompt{
2151
1903
  grid-column: span 2 / span 2;
2152
1904
  }
2153
-
2154
1905
  qti-choice-interaction.qti-choices-stacking-3{
2155
1906
  display: grid;
2156
1907
  grid-template-columns: repeat(3, minmax(0, 1fr));
2157
1908
  }
2158
-
2159
1909
  qti-choice-interaction.qti-choices-stacking-3 qti-prompt{
2160
1910
  grid-column: span 3 / span 3;
2161
1911
  }
2162
-
2163
1912
  qti-choice-interaction.qti-choices-stacking-4{
2164
1913
  display: grid;
2165
1914
  grid-template-columns: repeat(4, minmax(0, 1fr));
2166
1915
  }
2167
-
2168
1916
  qti-choice-interaction.qti-choices-stacking-4 qti-prompt{
2169
1917
  grid-column: span 4 / span 4;
2170
1918
  }
2171
-
2172
1919
  qti-choice-interaction.qti-choices-stacking-5{
2173
1920
  display: grid;
2174
1921
  grid-template-columns: repeat(5, minmax(0, 1fr));
2175
1922
  }
2176
-
2177
1923
  qti-choice-interaction.qti-choices-stacking-5 qti-prompt{
2178
1924
  grid-column: span 5 / span 5;
2179
1925
  }
2180
-
2181
1926
  qti-choice-interaction.qti-orientation-horizontal {
2182
1927
  /* is the default layout */
2183
1928
  }
2184
-
2185
1929
  qti-choice-interaction[orientation='horizontal'] {
2186
1930
  flex-direction: row;
2187
1931
  }
2188
-
2189
- img,
2190
- video {
2191
- max-width: 100%;
2192
- height: auto;
2193
- }
2194
- `;var o=class extends _lit.LitElement{constructor(){super(...arguments);this.itemLocation="";this.disabled=!1;this._xml="";this.audienceContext={view:"candidate"};this.render=()=>_lit.html`${_unsafehtmljs.unsafeHTML.call(void 0, this._xml)}<slot></slot>`}update(t){t.has("disabled")&&this.assessmentItem&&(this.assessmentItem.disabled=this.disabled),super.update(t)}set xml(t){this._xml=_chunkCCQXZDO6cjs.a.call(void 0, t).customTypes().cDataToComment().customDefinition().assetsLocation(`${this.itemLocation}`).xml()}set css(t){var e;let a=new CSSStyleSheet;a.replaceSync(t),(e=this.shadowRoot)==null||e.adoptedStyleSheets.push(a)}get assessmentItem(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("qti-assessment-item")}connectedCallback(){super.connectedCallback(),this.css=s}};_chunkHYQC3D4Zcjs.c.call(void 0, [_decoratorsjs.property.call(void 0, {type:String,attribute:"item-location"})],o.prototype,"itemLocation",2),_chunkHYQC3D4Zcjs.c.call(void 0, [_decoratorsjs.property.call(void 0, {type:Boolean,attribute:!1})],o.prototype,"disabled",2),_chunkHYQC3D4Zcjs.c.call(void 0, [_decoratorsjs.state.call(void 0, )],o.prototype,"_xml",2),_chunkHYQC3D4Zcjs.c.call(void 0, [_context.provide.call(void 0, {context:_chunkBKBZWUX6cjs.a}),_decoratorsjs.property.call(void 0, {attribute:!1})],o.prototype,"audienceContext",2),o= exports.a =_chunkHYQC3D4Zcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "qti-item")],o);exports.a = o;
1932
+ `;var o=class extends _lit.LitElement{constructor(){super();this.itemLocation="";this.disabled=!1;this._xml="";this.audienceContext={view:"candidate"};this.render=()=>_lit.html`${_unsafehtmljs.unsafeHTML.call(void 0, this._xml)}<slot></slot>`;this.addEventListener("qti-item-first-updated",t=>{this.checkAudienceContext()})}update(t){t.has("disabled")&&this.assessmentItem&&(this.assessmentItem.disabled=this.disabled),t.has("audienceContext")&&this.checkAudienceContext(),super.update(t)}checkAudienceContext(){var t,a;(t=this.shadowRoot.querySelectorAll("[view]"))==null||t.forEach(r=>{r.getAttribute("view")===this.audienceContext.view?r.classList.add("show"):r.classList.remove("show")}),(a=this.assessmentItem)==null||a.showCorrectResponse(this.audienceContext.view==="scorer")}set xml(t){this._xml=_chunkCCQXZDO6cjs.a.call(void 0, t).customTypes().cDataToComment().customDefinition().assetsLocation(`${this.itemLocation}`).xml()}set css(t){var r;let a=new CSSStyleSheet;a.replaceSync(t),(r=this.shadowRoot)==null||r.adoptedStyleSheets.push(a)}get assessmentItem(){var t;return(t=this.shadowRoot)==null?void 0:t.querySelector("qti-assessment-item")}connectedCallback(){super.connectedCallback(),this.css=w}};o.styles=_lit.css`
1933
+ [view],
1934
+ qti-outcome-declaration,
1935
+ qti-response-declaration {
1936
+ display: none;
1937
+ }
1938
+ [view].show {
1939
+ display: block;
1940
+ }
1941
+ `,_chunkHYQC3D4Zcjs.c.call(void 0, [_decoratorsjs.property.call(void 0, {type:String,attribute:"item-location"})],o.prototype,"itemLocation",2),_chunkHYQC3D4Zcjs.c.call(void 0, [_decoratorsjs.property.call(void 0, {type:Boolean,attribute:!1})],o.prototype,"disabled",2),_chunkHYQC3D4Zcjs.c.call(void 0, [_decoratorsjs.state.call(void 0, )],o.prototype,"_xml",2),_chunkHYQC3D4Zcjs.c.call(void 0, [_decoratorsjs.property.call(void 0, {attribute:!1})],o.prototype,"audienceContext",2),o= exports.a =_chunkHYQC3D4Zcjs.c.call(void 0, [_decoratorsjs.customElement.call(void 0, "qti-item")],o);exports.a = o;