@citolab/qti-components 6.9.1-beta.43 → 6.9.1-beta.44
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.
|
@@ -96,161 +96,6 @@
|
|
|
96
96
|
}
|
|
97
97
|
]
|
|
98
98
|
},
|
|
99
|
-
{
|
|
100
|
-
"kind": "javascript-module",
|
|
101
|
-
"path": "src/lib/qti-item/index.ts",
|
|
102
|
-
"declarations": [],
|
|
103
|
-
"exports": [
|
|
104
|
-
{
|
|
105
|
-
"kind": "js",
|
|
106
|
-
"name": "*",
|
|
107
|
-
"declaration": {
|
|
108
|
-
"name": "*",
|
|
109
|
-
"package": "./qti-item"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"kind": "js",
|
|
114
|
-
"name": "*",
|
|
115
|
-
"declaration": {
|
|
116
|
-
"name": "*",
|
|
117
|
-
"package": "./qti-item.mixin"
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
]
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"kind": "javascript-module",
|
|
124
|
-
"path": "src/lib/qti-item/qti-item.mixin.ts",
|
|
125
|
-
"declarations": [
|
|
126
|
-
{
|
|
127
|
-
"kind": "mixin",
|
|
128
|
-
"description": "",
|
|
129
|
-
"name": "QtiItemMixin",
|
|
130
|
-
"members": [],
|
|
131
|
-
"events": [
|
|
132
|
-
{
|
|
133
|
-
"name": "qti-item-connected",
|
|
134
|
-
"type": {
|
|
135
|
-
"text": "CustomEvent"
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
"attributes": [
|
|
140
|
-
{
|
|
141
|
-
"name": "identifier",
|
|
142
|
-
"type": {
|
|
143
|
-
"text": "string | undefined"
|
|
144
|
-
},
|
|
145
|
-
"fieldName": "identifier"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"name": "href",
|
|
149
|
-
"type": {
|
|
150
|
-
"text": "string | undefined"
|
|
151
|
-
},
|
|
152
|
-
"fieldName": "href"
|
|
153
|
-
}
|
|
154
|
-
],
|
|
155
|
-
"parameters": [
|
|
156
|
-
{
|
|
157
|
-
"name": "Base",
|
|
158
|
-
"type": {
|
|
159
|
-
"text": "T"
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
]
|
|
163
|
-
}
|
|
164
|
-
],
|
|
165
|
-
"exports": [
|
|
166
|
-
{
|
|
167
|
-
"kind": "js",
|
|
168
|
-
"name": "QtiItemMixin",
|
|
169
|
-
"declaration": {
|
|
170
|
-
"name": "QtiItemMixin",
|
|
171
|
-
"module": "src/lib/qti-item/qti-item.mixin.ts"
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
]
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"kind": "javascript-module",
|
|
178
|
-
"path": "src/lib/qti-item/qti-item.ts",
|
|
179
|
-
"declarations": [
|
|
180
|
-
{
|
|
181
|
-
"kind": "class",
|
|
182
|
-
"description": "",
|
|
183
|
-
"name": "QtiItem",
|
|
184
|
-
"mixins": [
|
|
185
|
-
{
|
|
186
|
-
"name": "QtiItemMixin",
|
|
187
|
-
"module": "/src/lib/qti-item/qti-item.mixin"
|
|
188
|
-
}
|
|
189
|
-
],
|
|
190
|
-
"superclass": {
|
|
191
|
-
"name": "LitElement",
|
|
192
|
-
"package": "lit"
|
|
193
|
-
},
|
|
194
|
-
"tagName": "qti-item",
|
|
195
|
-
"customElement": true,
|
|
196
|
-
"attributes": [
|
|
197
|
-
{
|
|
198
|
-
"name": "identifier",
|
|
199
|
-
"type": {
|
|
200
|
-
"text": "string | undefined"
|
|
201
|
-
},
|
|
202
|
-
"fieldName": "identifier",
|
|
203
|
-
"inheritedFrom": {
|
|
204
|
-
"name": "QtiItemMixin",
|
|
205
|
-
"module": "src/lib/qti-item/qti-item.mixin.ts"
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"name": "href",
|
|
210
|
-
"type": {
|
|
211
|
-
"text": "string | undefined"
|
|
212
|
-
},
|
|
213
|
-
"fieldName": "href",
|
|
214
|
-
"inheritedFrom": {
|
|
215
|
-
"name": "QtiItemMixin",
|
|
216
|
-
"module": "src/lib/qti-item/qti-item.mixin.ts"
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
],
|
|
220
|
-
"members": [],
|
|
221
|
-
"events": [
|
|
222
|
-
{
|
|
223
|
-
"name": "qti-item-connected",
|
|
224
|
-
"type": {
|
|
225
|
-
"text": "CustomEvent"
|
|
226
|
-
},
|
|
227
|
-
"inheritedFrom": {
|
|
228
|
-
"name": "QtiItemMixin",
|
|
229
|
-
"module": "src/lib/qti-item/qti-item.mixin.ts"
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
]
|
|
233
|
-
}
|
|
234
|
-
],
|
|
235
|
-
"exports": [
|
|
236
|
-
{
|
|
237
|
-
"kind": "js",
|
|
238
|
-
"name": "QtiItem",
|
|
239
|
-
"declaration": {
|
|
240
|
-
"name": "QtiItem",
|
|
241
|
-
"module": "src/lib/qti-item/qti-item.ts"
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"kind": "custom-element-definition",
|
|
246
|
-
"name": "qti-item",
|
|
247
|
-
"declaration": {
|
|
248
|
-
"name": "QtiItem",
|
|
249
|
-
"module": "src/lib/qti-item/qti-item.ts"
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
]
|
|
253
|
-
},
|
|
254
99
|
{
|
|
255
100
|
"kind": "javascript-module",
|
|
256
101
|
"path": "src/lib/qti-components/index.ts",
|
|
@@ -682,6 +527,161 @@
|
|
|
682
527
|
}
|
|
683
528
|
]
|
|
684
529
|
},
|
|
530
|
+
{
|
|
531
|
+
"kind": "javascript-module",
|
|
532
|
+
"path": "src/lib/qti-item/index.ts",
|
|
533
|
+
"declarations": [],
|
|
534
|
+
"exports": [
|
|
535
|
+
{
|
|
536
|
+
"kind": "js",
|
|
537
|
+
"name": "*",
|
|
538
|
+
"declaration": {
|
|
539
|
+
"name": "*",
|
|
540
|
+
"package": "./qti-item"
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"kind": "js",
|
|
545
|
+
"name": "*",
|
|
546
|
+
"declaration": {
|
|
547
|
+
"name": "*",
|
|
548
|
+
"package": "./qti-item.mixin"
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
]
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"kind": "javascript-module",
|
|
555
|
+
"path": "src/lib/qti-item/qti-item.mixin.ts",
|
|
556
|
+
"declarations": [
|
|
557
|
+
{
|
|
558
|
+
"kind": "mixin",
|
|
559
|
+
"description": "",
|
|
560
|
+
"name": "QtiItemMixin",
|
|
561
|
+
"members": [],
|
|
562
|
+
"events": [
|
|
563
|
+
{
|
|
564
|
+
"name": "qti-item-connected",
|
|
565
|
+
"type": {
|
|
566
|
+
"text": "CustomEvent"
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"attributes": [
|
|
571
|
+
{
|
|
572
|
+
"name": "identifier",
|
|
573
|
+
"type": {
|
|
574
|
+
"text": "string | undefined"
|
|
575
|
+
},
|
|
576
|
+
"fieldName": "identifier"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"name": "href",
|
|
580
|
+
"type": {
|
|
581
|
+
"text": "string | undefined"
|
|
582
|
+
},
|
|
583
|
+
"fieldName": "href"
|
|
584
|
+
}
|
|
585
|
+
],
|
|
586
|
+
"parameters": [
|
|
587
|
+
{
|
|
588
|
+
"name": "Base",
|
|
589
|
+
"type": {
|
|
590
|
+
"text": "T"
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
]
|
|
594
|
+
}
|
|
595
|
+
],
|
|
596
|
+
"exports": [
|
|
597
|
+
{
|
|
598
|
+
"kind": "js",
|
|
599
|
+
"name": "QtiItemMixin",
|
|
600
|
+
"declaration": {
|
|
601
|
+
"name": "QtiItemMixin",
|
|
602
|
+
"module": "src/lib/qti-item/qti-item.mixin.ts"
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
]
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"kind": "javascript-module",
|
|
609
|
+
"path": "src/lib/qti-item/qti-item.ts",
|
|
610
|
+
"declarations": [
|
|
611
|
+
{
|
|
612
|
+
"kind": "class",
|
|
613
|
+
"description": "",
|
|
614
|
+
"name": "QtiItem",
|
|
615
|
+
"mixins": [
|
|
616
|
+
{
|
|
617
|
+
"name": "QtiItemMixin",
|
|
618
|
+
"module": "/src/lib/qti-item/qti-item.mixin"
|
|
619
|
+
}
|
|
620
|
+
],
|
|
621
|
+
"superclass": {
|
|
622
|
+
"name": "LitElement",
|
|
623
|
+
"package": "lit"
|
|
624
|
+
},
|
|
625
|
+
"tagName": "qti-item",
|
|
626
|
+
"customElement": true,
|
|
627
|
+
"attributes": [
|
|
628
|
+
{
|
|
629
|
+
"name": "identifier",
|
|
630
|
+
"type": {
|
|
631
|
+
"text": "string | undefined"
|
|
632
|
+
},
|
|
633
|
+
"fieldName": "identifier",
|
|
634
|
+
"inheritedFrom": {
|
|
635
|
+
"name": "QtiItemMixin",
|
|
636
|
+
"module": "src/lib/qti-item/qti-item.mixin.ts"
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"name": "href",
|
|
641
|
+
"type": {
|
|
642
|
+
"text": "string | undefined"
|
|
643
|
+
},
|
|
644
|
+
"fieldName": "href",
|
|
645
|
+
"inheritedFrom": {
|
|
646
|
+
"name": "QtiItemMixin",
|
|
647
|
+
"module": "src/lib/qti-item/qti-item.mixin.ts"
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
],
|
|
651
|
+
"members": [],
|
|
652
|
+
"events": [
|
|
653
|
+
{
|
|
654
|
+
"name": "qti-item-connected",
|
|
655
|
+
"type": {
|
|
656
|
+
"text": "CustomEvent"
|
|
657
|
+
},
|
|
658
|
+
"inheritedFrom": {
|
|
659
|
+
"name": "QtiItemMixin",
|
|
660
|
+
"module": "src/lib/qti-item/qti-item.mixin.ts"
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
]
|
|
664
|
+
}
|
|
665
|
+
],
|
|
666
|
+
"exports": [
|
|
667
|
+
{
|
|
668
|
+
"kind": "js",
|
|
669
|
+
"name": "QtiItem",
|
|
670
|
+
"declaration": {
|
|
671
|
+
"name": "QtiItem",
|
|
672
|
+
"module": "src/lib/qti-item/qti-item.ts"
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"kind": "custom-element-definition",
|
|
677
|
+
"name": "qti-item",
|
|
678
|
+
"declaration": {
|
|
679
|
+
"name": "QtiItem",
|
|
680
|
+
"module": "src/lib/qti-item/qti-item.ts"
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
]
|
|
684
|
+
},
|
|
685
685
|
{
|
|
686
686
|
"kind": "javascript-module",
|
|
687
687
|
"path": "src/lib/qti-loader/index.ts",
|
package/dist/item.css
CHANGED
|
@@ -287,8 +287,7 @@ https://www.imsglobal.org/spec/qti/v3p0/impl#h.e0onr51nghyl
|
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
.hov {
|
|
290
|
-
|
|
291
|
-
box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
|
|
290
|
+
background-color: var(--qti-bg-gray-50);
|
|
292
291
|
}
|
|
293
292
|
|
|
294
293
|
.foc {
|
|
@@ -297,6 +296,8 @@ https://www.imsglobal.org/spec/qti/v3p0/impl#h.e0onr51nghyl
|
|
|
297
296
|
|
|
298
297
|
.act {
|
|
299
298
|
border-color: var(--qti-bg-primary); /* border-primary */
|
|
299
|
+
background-color: var(--qti-primary-light);
|
|
300
|
+
|
|
300
301
|
}
|
|
301
302
|
|
|
302
303
|
.rdo {
|
|
@@ -1938,7 +1939,7 @@ qti-response-declaration {
|
|
|
1938
1939
|
& qti-simple-choice {
|
|
1939
1940
|
|
|
1940
1941
|
&:hover {
|
|
1941
|
-
|
|
1942
|
+
background-color: var(--qti-bg-gray-50);
|
|
1942
1943
|
}
|
|
1943
1944
|
|
|
1944
1945
|
&:focus {
|
|
@@ -1951,6 +1952,7 @@ qti-response-declaration {
|
|
|
1951
1952
|
|
|
1952
1953
|
&[aria-checked='true'] {
|
|
1953
1954
|
border-color: var(--qti-bg-primary);
|
|
1955
|
+
background-color: var(--qti-primary-light);
|
|
1954
1956
|
}
|
|
1955
1957
|
|
|
1956
1958
|
&[aria-readonly='true'] {
|
|
@@ -1983,8 +1985,8 @@ qti-response-declaration {
|
|
|
1983
1985
|
&:not(.qti-input-control-hidden) {
|
|
1984
1986
|
& qti-simple-choice {
|
|
1985
1987
|
|
|
1986
|
-
&:not([aria-disabled='true'], [aria-readonly='true']):hover {
|
|
1987
|
-
|
|
1988
|
+
&:not([aria-disabled='true'], [aria-readonly='true'], [aria-checked='true']):hover {
|
|
1989
|
+
background-color: var(--qti-bg-gray-50);
|
|
1988
1990
|
}
|
|
1989
1991
|
|
|
1990
1992
|
&:focus {
|
|
@@ -1993,6 +1995,7 @@ qti-response-declaration {
|
|
|
1993
1995
|
|
|
1994
1996
|
&[aria-checked='true'] {
|
|
1995
1997
|
border-color: var(--qti-bg-primary);
|
|
1998
|
+
background-color: var(--qti-primary-light);
|
|
1996
1999
|
}
|
|
1997
2000
|
|
|
1998
2001
|
&[aria-readonly='true'] {
|
|
@@ -2059,6 +2062,10 @@ qti-response-declaration {
|
|
|
2059
2062
|
}
|
|
2060
2063
|
|
|
2061
2064
|
& qti-simple-choice {
|
|
2065
|
+
width: -moz-fit-content;
|
|
2066
|
+
width: fit-content;
|
|
2067
|
+
cursor: pointer;
|
|
2068
|
+
|
|
2062
2069
|
&[data-correct-response='true'] {
|
|
2063
2070
|
&::after {
|
|
2064
2071
|
content: '\02714';
|
|
@@ -2075,7 +2082,7 @@ qti-response-declaration {
|
|
|
2075
2082
|
|
|
2076
2083
|
qti-text-entry-interaction {
|
|
2077
2084
|
&:hover {
|
|
2078
|
-
|
|
2085
|
+
background-color: var(--qti-bg-gray-50);
|
|
2079
2086
|
}
|
|
2080
2087
|
|
|
2081
2088
|
&:focus-within {
|
|
@@ -2103,7 +2110,7 @@ qti-response-declaration {
|
|
|
2103
2110
|
}
|
|
2104
2111
|
|
|
2105
2112
|
&:hover {
|
|
2106
|
-
|
|
2113
|
+
background-color: var(--qti-bg-gray-50);
|
|
2107
2114
|
}
|
|
2108
2115
|
|
|
2109
2116
|
&:focus-within {
|
|
@@ -2115,7 +2122,7 @@ qti-response-declaration {
|
|
|
2115
2122
|
& qti-gap-text {
|
|
2116
2123
|
|
|
2117
2124
|
&:hover {
|
|
2118
|
-
|
|
2125
|
+
background-color: var(--qti-bg-gray-50);
|
|
2119
2126
|
}
|
|
2120
2127
|
|
|
2121
2128
|
&:focus {
|
|
@@ -2196,7 +2203,7 @@ qti-response-declaration {
|
|
|
2196
2203
|
&[shape='circle'] {
|
|
2197
2204
|
|
|
2198
2205
|
&:hover {
|
|
2199
|
-
|
|
2206
|
+
background-color: var(--qti-bg-gray-50);
|
|
2200
2207
|
}
|
|
2201
2208
|
|
|
2202
2209
|
&:focus {
|
|
@@ -2205,6 +2212,7 @@ qti-response-declaration {
|
|
|
2205
2212
|
|
|
2206
2213
|
&[aria-checked='true'] {
|
|
2207
2214
|
border-color: var(--qti-bg-primary);
|
|
2215
|
+
background-color: var(--qti-primary-light);
|
|
2208
2216
|
}
|
|
2209
2217
|
|
|
2210
2218
|
&[aria-readonly='true'] {
|
|
@@ -2238,7 +2246,7 @@ qti-response-declaration {
|
|
|
2238
2246
|
&[shape='rect'] {
|
|
2239
2247
|
|
|
2240
2248
|
&:hover {
|
|
2241
|
-
|
|
2249
|
+
background-color: var(--qti-bg-gray-50);
|
|
2242
2250
|
}
|
|
2243
2251
|
|
|
2244
2252
|
&:focus {
|
|
@@ -2247,6 +2255,7 @@ qti-response-declaration {
|
|
|
2247
2255
|
|
|
2248
2256
|
&[aria-checked='true'] {
|
|
2249
2257
|
border-color: var(--qti-bg-primary);
|
|
2258
|
+
background-color: var(--qti-primary-light);
|
|
2250
2259
|
}
|
|
2251
2260
|
|
|
2252
2261
|
&[aria-readonly='true'] {
|
|
@@ -2292,6 +2301,7 @@ qti-response-declaration {
|
|
|
2292
2301
|
);
|
|
2293
2302
|
display: block;
|
|
2294
2303
|
border-color: var(--qti-bg-primary);
|
|
2304
|
+
background-color: var(--qti-primary-light);
|
|
2295
2305
|
}
|
|
2296
2306
|
|
|
2297
2307
|
&[aria-checked='true']::after {
|
|
@@ -2308,10 +2318,12 @@ qti-response-declaration {
|
|
|
2308
2318
|
);
|
|
2309
2319
|
display: block;
|
|
2310
2320
|
border-color: var(--qti-bg-primary);
|
|
2321
|
+
background-color: var(--qti-primary-light);
|
|
2311
2322
|
}
|
|
2312
2323
|
|
|
2313
2324
|
&[aria-checked='true'] {
|
|
2314
2325
|
border-color: var(--qti-bg-primary);
|
|
2326
|
+
background-color: var(--qti-primary-light);
|
|
2315
2327
|
}
|
|
2316
2328
|
|
|
2317
2329
|
&[aria-readonly='true'] {
|
|
@@ -2340,7 +2352,7 @@ qti-response-declaration {
|
|
|
2340
2352
|
align-items: center;
|
|
2341
2353
|
|
|
2342
2354
|
&:hover {
|
|
2343
|
-
|
|
2355
|
+
background-color: var(--qti-bg-gray-50);
|
|
2344
2356
|
}
|
|
2345
2357
|
|
|
2346
2358
|
&:focus {
|
|
@@ -2405,7 +2417,7 @@ qti-response-declaration {
|
|
|
2405
2417
|
--qti-font-weight-semibold: 400; */
|
|
2406
2418
|
|
|
2407
2419
|
&:hover {
|
|
2408
|
-
|
|
2420
|
+
background-color: var(--qti-bg-gray-50);
|
|
2409
2421
|
}
|
|
2410
2422
|
|
|
2411
2423
|
&:focus {
|
|
@@ -2419,6 +2431,7 @@ qti-response-declaration {
|
|
|
2419
2431
|
|
|
2420
2432
|
&[aria-checked='true'] {
|
|
2421
2433
|
border-color: var(--qti-bg-primary);
|
|
2434
|
+
background-color: var(--qti-primary-light);
|
|
2422
2435
|
}
|
|
2423
2436
|
|
|
2424
2437
|
&[aria-readonly='true'] {
|
|
@@ -2453,7 +2466,7 @@ qti-response-declaration {
|
|
|
2453
2466
|
&.qti-unselected-hidden {
|
|
2454
2467
|
qti-hottext {
|
|
2455
2468
|
&:hover {
|
|
2456
|
-
|
|
2469
|
+
background-color: var(--qti-bg-gray-50);
|
|
2457
2470
|
}
|
|
2458
2471
|
|
|
2459
2472
|
&:focus {
|
|
@@ -2492,7 +2505,7 @@ qti-response-declaration {
|
|
|
2492
2505
|
&::part(select) {
|
|
2493
2506
|
|
|
2494
2507
|
&:hover {
|
|
2495
|
-
|
|
2508
|
+
background-color: var(--qti-bg-gray-50);
|
|
2496
2509
|
}
|
|
2497
2510
|
|
|
2498
2511
|
&:focus {
|
|
@@ -2538,7 +2551,7 @@ qti-response-declaration {
|
|
|
2538
2551
|
}
|
|
2539
2552
|
|
|
2540
2553
|
&:hover {
|
|
2541
|
-
|
|
2554
|
+
background-color: var(--qti-bg-gray-50);
|
|
2542
2555
|
}
|
|
2543
2556
|
|
|
2544
2557
|
&:focus {
|
|
@@ -2623,6 +2636,7 @@ qti-response-declaration {
|
|
|
2623
2636
|
&[active] {
|
|
2624
2637
|
&::part(dropslot) {
|
|
2625
2638
|
border-color: var(--qti-bg-primary);
|
|
2639
|
+
background-color: var(--qti-primary-light);
|
|
2626
2640
|
}
|
|
2627
2641
|
}
|
|
2628
2642
|
|
|
@@ -2665,7 +2679,7 @@ qti-response-declaration {
|
|
|
2665
2679
|
}
|
|
2666
2680
|
|
|
2667
2681
|
&:hover {
|
|
2668
|
-
|
|
2682
|
+
background-color: var(--qti-bg-gray-50);
|
|
2669
2683
|
}
|
|
2670
2684
|
|
|
2671
2685
|
&:focus {
|
|
@@ -2715,7 +2729,7 @@ qti-response-declaration {
|
|
|
2715
2729
|
& qti-simple-choice {
|
|
2716
2730
|
|
|
2717
2731
|
&:hover {
|
|
2718
|
-
|
|
2732
|
+
background-color: var(--qti-bg-gray-50);
|
|
2719
2733
|
}
|
|
2720
2734
|
|
|
2721
2735
|
&:focus {
|
|
@@ -2774,7 +2788,7 @@ qti-response-declaration {
|
|
|
2774
2788
|
&::part(drop-list) {
|
|
2775
2789
|
|
|
2776
2790
|
&:hover {
|
|
2777
|
-
|
|
2791
|
+
background-color: var(--qti-bg-gray-50);
|
|
2778
2792
|
}
|
|
2779
2793
|
|
|
2780
2794
|
&:focus {
|
|
@@ -2794,6 +2808,7 @@ qti-response-declaration {
|
|
|
2794
2808
|
|
|
2795
2809
|
&::part(active) {
|
|
2796
2810
|
border-color: var(--qti-bg-primary);
|
|
2811
|
+
background-color: var(--qti-primary-light);
|
|
2797
2812
|
}
|
|
2798
2813
|
}
|
|
2799
2814
|
|
|
@@ -2802,7 +2817,7 @@ qti-response-declaration {
|
|
|
2802
2817
|
&::part(qti-simple-associable-choice) /* drags when in shadowdom */ {
|
|
2803
2818
|
|
|
2804
2819
|
&:hover {
|
|
2805
|
-
|
|
2820
|
+
background-color: var(--qti-bg-gray-50);
|
|
2806
2821
|
}
|
|
2807
2822
|
|
|
2808
2823
|
&:focus {
|
|
@@ -2879,6 +2894,7 @@ qti-response-declaration {
|
|
|
2879
2894
|
|
|
2880
2895
|
&::part(drop-list)[dragging] {
|
|
2881
2896
|
border-color: var(--qti-bg-primary);
|
|
2897
|
+
background-color: var(--qti-primary-light);
|
|
2882
2898
|
}
|
|
2883
2899
|
|
|
2884
2900
|
/* &::part(drop-list) {
|
|
@@ -2890,7 +2906,7 @@ qti-response-declaration {
|
|
|
2890
2906
|
& qti-hotspot-choice {
|
|
2891
2907
|
|
|
2892
2908
|
&:hover {
|
|
2893
|
-
|
|
2909
|
+
background-color: var(--qti-bg-gray-50);
|
|
2894
2910
|
}
|
|
2895
2911
|
|
|
2896
2912
|
&:focus {
|
|
@@ -2899,6 +2915,7 @@ qti-response-declaration {
|
|
|
2899
2915
|
|
|
2900
2916
|
&[aria-checked='true'] {
|
|
2901
2917
|
border-color: var(--qti-bg-primary);
|
|
2918
|
+
background-color: var(--qti-primary-light);
|
|
2902
2919
|
}
|
|
2903
2920
|
|
|
2904
2921
|
&[aria-readonly='true'] {
|
|
@@ -2954,7 +2971,7 @@ qti-response-declaration {
|
|
|
2954
2971
|
&[shape='circle'] {
|
|
2955
2972
|
|
|
2956
2973
|
&:hover {
|
|
2957
|
-
|
|
2974
|
+
background-color: var(--qti-bg-gray-50);
|
|
2958
2975
|
}
|
|
2959
2976
|
|
|
2960
2977
|
&:focus {
|
|
@@ -2963,6 +2980,7 @@ qti-response-declaration {
|
|
|
2963
2980
|
|
|
2964
2981
|
&[aria-checked='true'] {
|
|
2965
2982
|
border-color: var(--qti-bg-primary);
|
|
2983
|
+
background-color: var(--qti-primary-light);
|
|
2966
2984
|
}
|
|
2967
2985
|
|
|
2968
2986
|
&[aria-readonly='true'] {
|
|
@@ -2996,7 +3014,7 @@ qti-response-declaration {
|
|
|
2996
3014
|
&[shape='square'] {
|
|
2997
3015
|
|
|
2998
3016
|
&:hover {
|
|
2999
|
-
|
|
3017
|
+
background-color: var(--qti-bg-gray-50);
|
|
3000
3018
|
}
|
|
3001
3019
|
|
|
3002
3020
|
&:focus {
|
|
@@ -3005,6 +3023,7 @@ qti-response-declaration {
|
|
|
3005
3023
|
|
|
3006
3024
|
&[aria-checked='true'] {
|
|
3007
3025
|
border-color: var(--qti-bg-primary);
|
|
3026
|
+
background-color: var(--qti-primary-light);
|
|
3008
3027
|
}
|
|
3009
3028
|
|
|
3010
3029
|
&[aria-readonly='true'] {
|
|
@@ -3123,7 +3142,7 @@ qti-response-declaration {
|
|
|
3123
3142
|
qti-select-point-interaction {
|
|
3124
3143
|
&::part(point) {
|
|
3125
3144
|
&:hover {
|
|
3126
|
-
|
|
3145
|
+
background-color: var(--qti-bg-gray-50);
|
|
3127
3146
|
}
|
|
3128
3147
|
|
|
3129
3148
|
&:focus {
|
|
@@ -3159,12 +3178,3 @@ qti-response-declaration {
|
|
|
3159
3178
|
}
|
|
3160
3179
|
}
|
|
3161
3180
|
|
|
3162
|
-
/* utilities */
|
|
3163
|
-
|
|
3164
|
-
/* @import './styles/qti-utilities/qti-styles'; */
|
|
3165
|
-
|
|
3166
|
-
/* variants */
|
|
3167
|
-
|
|
3168
|
-
/* @import './styles/qti-variants/qti-input-width'; */
|
|
3169
|
-
|
|
3170
|
-
/* @import './styles/qti-variants/qti-interactions'; */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as ActiveElementMixin, C as Calculate,
|
|
1
|
+
import { Q as QtiRule, a as QtiRuleBase, b as QtiExpressionBase, c as QtiExpression, B as BaseType, d as QtiConditionExpression, R as ResponseVariable, V as VariableDeclaration, I as ItemContext } from '../qti-simple-choice-CWJsmgbB.js';
|
|
2
|
+
export { A as ActiveElementMixin, C as Calculate, m as Cardinality, r as ChoiceInterface, ae as Interaction, e as InteractionChangedDetails, U as MockQtiExpression, M as Multiple, l as Ordered, O as OutcomeChangedDetails, o as OutcomeVariable, T as QtiAnd, p as QtiAssessmentItem, q as QtiAssessmentStimulusRef, af as QtiAssociableHotspot, Z as QtiAssociateInteraction, K as QtiChoiceInteraction, w as QtiCompanionMaterialsInfo, x as QtiContentBody, _ as QtiCustomInteraction, ad as QtiCustomOperator, $ as QtiEndAttemptInteraction, F as QtiExtendedTextInteraction, z as QtiFeedbackBlock, D as QtiFeedbackInline, ag as QtiGap, ah as QtiGapImg, a0 as QtiGapMatchInteraction, ai as QtiGapText, a1 as QtiGraphicAssociateInteraction, a2 as QtiGraphicGapMatchInteraction, a3 as QtiGraphicOrderInteraction, aj as QtiHotspotChoice, a4 as QtiHotspotInteraction, ak as QtiHottext, H as QtiHottextInteraction, al as QtiInlineChoice, J as QtiInlineChoiceInteraction, f as QtiInteractionChanged, S as QtiLookupOutcomeValue, X as QtiMapping, a5 as QtiMatchInteraction, a6 as QtiMediaInteraction, E as QtiModalFeedback, a7 as QtiOrderInteraction, g as QtiOutcomeChanged, u as QtiOutcomeDeclaration, L as QtiOutcomeProcessing, N as QtiOutcomeProcessingProcessor, Y as QtiPortableCustomInteraction, a8 as QtiPositionObjectStage, s as QtiPrompt, v as QtiResponseDeclaration, P as QtiResponseProcessing, y as QtiRubricBlock, a9 as QtiSelectPointInteraction, am as QtiSimpleAssociableChoice, an as QtiSimpleChoice, aa as QtiSliderInteraction, t as QtiStylesheet, G as QtiTextEntryInteraction, i as ResponseInteraction, n as VariableValue, h as directedPair, j as float, k as integer, ac as itemContext, ab as itemContextVariables, W as qtiAndMixin } from '../qti-simple-choice-CWJsmgbB.js';
|
|
3
3
|
import * as lit_html from 'lit-html';
|
|
4
4
|
import * as lit from 'lit';
|
|
5
5
|
import { LitElement } from 'lit';
|
package/dist/qti-item/index.d.ts
CHANGED
|
@@ -1153,4 +1153,4 @@ declare global {
|
|
|
1153
1153
|
}
|
|
1154
1154
|
}
|
|
1155
1155
|
|
|
1156
|
-
export { QtiEndAttemptInteraction as $, ActiveElementMixin as A, type BaseType as B, type Calculate as C, QtiFeedbackInline as D, QtiModalFeedback as E, QtiExtendedTextInteraction as F, QtiTextEntryInteraction as G, QtiHottextInteraction as H, type ItemContext as I, QtiInlineChoiceInteraction as J, QtiChoiceInteraction as K, QtiOutcomeProcessing as L, type Multiple as M, QtiOutcomeProcessingProcessor as N, type OutcomeChangedDetails as O, QtiResponseProcessing as P,
|
|
1156
|
+
export { QtiEndAttemptInteraction as $, ActiveElementMixin as A, type BaseType as B, type Calculate as C, QtiFeedbackInline as D, QtiModalFeedback as E, QtiExtendedTextInteraction as F, QtiTextEntryInteraction as G, QtiHottextInteraction as H, type ItemContext as I, QtiInlineChoiceInteraction as J, QtiChoiceInteraction as K, QtiOutcomeProcessing as L, type Multiple as M, QtiOutcomeProcessingProcessor as N, type OutcomeChangedDetails as O, QtiResponseProcessing as P, QtiRule as Q, type ResponseVariable as R, QtiLookupOutcomeValue as S, QtiAnd as T, type MockQtiExpression as U, type VariableDeclaration as V, qtiAndMixin as W, QtiMapping as X, QtiPortableCustomInteraction as Y, QtiAssociateInteraction as Z, QtiCustomInteraction as _, type QtiRuleBase as a, QtiGapMatchInteraction as a0, QtiGraphicAssociateInteraction as a1, QtiGraphicGapMatchInteraction as a2, QtiGraphicOrderInteraction as a3, QtiHotspotInteraction as a4, QtiMatchInteraction as a5, QtiMediaInteraction as a6, QtiOrderInteraction as a7, QtiPositionObjectStage as a8, QtiSelectPointInteraction as a9, QtiSliderInteraction as aa, itemContextVariables as ab, itemContext as ac, QtiCustomOperator as ad, Interaction as ae, QtiAssociableHotspot as af, QtiGap as ag, QtiGapImg as ah, QtiGapText as ai, QtiHotspotChoice as aj, QtiHottext as ak, QtiInlineChoice as al, QtiSimpleAssociableChoice as am, QtiSimpleChoice as an, type QtiExpressionBase as b, QtiExpression as c, QtiConditionExpression as d, type InteractionChangedDetails as e, type QtiInteractionChanged as f, type QtiOutcomeChanged as g, type directedPair as h, type ResponseInteraction as i, type float as j, type integer as k, type Ordered as l, type Cardinality as m, type VariableValue as n, type OutcomeVariable as o, QtiAssessmentItem as p, QtiAssessmentStimulusRef as q, type ChoiceInterface as r, QtiPrompt as s, QtiStylesheet as t, QtiOutcomeDeclaration as u, QtiResponseDeclaration as v, QtiCompanionMaterialsInfo as w, QtiContentBody as x, QtiRubricBlock as y, QtiFeedbackBlock as z };
|