@citolab/qti-components 6.9.1-beta.51 → 6.9.1-beta.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-SOXSSPDZ.js +24 -0
- package/dist/custom-elements.json +482 -372
- package/dist/index.global.js +1 -1
- package/dist/index.js +1 -1
- package/dist/item.css +17 -11
- package/dist/qti-components/index.d.ts +2 -2
- package/dist/qti-components/index.js +101 -95
- package/dist/qti-item/index.d.ts +1 -1
- package/dist/qti-loader/index.d.ts +4 -6
- package/dist/qti-loader/index.js +2 -2
- package/dist/{qti-simple-choice-l6mkNq6T.d.ts → qti-simple-choice-CFhbe77e.d.ts} +89 -53
- package/dist/qti-transformers/index.d.ts +4 -5
- package/dist/qti-transformers/index.js +1 -1
- package/package.json +12 -12
- package/dist/chunk-IRTOORT6.js +0 -24
package/dist/item.css
CHANGED
|
@@ -1949,11 +1949,13 @@ qti-response-declaration {
|
|
|
1949
1949
|
display: none;
|
|
1950
1950
|
}
|
|
1951
1951
|
|
|
1952
|
+
&:state(checked),
|
|
1952
1953
|
&[aria-checked='true'] {
|
|
1953
1954
|
border-color: var(--qti-bg-primary);
|
|
1954
1955
|
background-color: var(--qti-primary-light);
|
|
1955
1956
|
}
|
|
1956
1957
|
|
|
1958
|
+
&:state(readonly),
|
|
1957
1959
|
&[aria-readonly='true'] {
|
|
1958
1960
|
cursor: pointer;
|
|
1959
1961
|
background-color: white;
|
|
@@ -1961,6 +1963,7 @@ qti-response-declaration {
|
|
|
1961
1963
|
border: none;
|
|
1962
1964
|
}
|
|
1963
1965
|
|
|
1966
|
+
&:state(disabled),
|
|
1964
1967
|
&[aria-disabled='true'] {
|
|
1965
1968
|
cursor: not-allowed;
|
|
1966
1969
|
background-color: var(--qti-bg-gray-100);
|
|
@@ -1984,7 +1987,7 @@ qti-response-declaration {
|
|
|
1984
1987
|
&:not(.qti-input-control-hidden) {
|
|
1985
1988
|
& qti-simple-choice {
|
|
1986
1989
|
|
|
1987
|
-
&:not([aria-disabled='true'], [aria-readonly='true'],
|
|
1990
|
+
&:not([aria-disabled='true'], [aria-readonly='true'], :state(checked)):hover {
|
|
1988
1991
|
background-color: var(--qti-bg-gray-50);
|
|
1989
1992
|
}
|
|
1990
1993
|
|
|
@@ -1992,11 +1995,13 @@ qti-response-declaration {
|
|
|
1992
1995
|
outline: var(--qti-focus-border-width) solid var(--qti-focus-color);
|
|
1993
1996
|
}
|
|
1994
1997
|
|
|
1998
|
+
&:state(checked),
|
|
1995
1999
|
&[aria-checked='true'] {
|
|
1996
2000
|
border-color: var(--qti-bg-primary);
|
|
1997
2001
|
background-color: var(--qti-primary-light);
|
|
1998
2002
|
}
|
|
1999
2003
|
|
|
2004
|
+
&:state(readonly),
|
|
2000
2005
|
&[aria-readonly='true'] {
|
|
2001
2006
|
cursor: pointer;
|
|
2002
2007
|
background-color: white;
|
|
@@ -2004,6 +2009,7 @@ qti-response-declaration {
|
|
|
2004
2009
|
border: none;
|
|
2005
2010
|
}
|
|
2006
2011
|
|
|
2012
|
+
&:state(disabled),
|
|
2007
2013
|
&[aria-disabled='true'] {
|
|
2008
2014
|
cursor: not-allowed;
|
|
2009
2015
|
background-color: var(--qti-bg-gray-100);
|
|
@@ -2017,7 +2023,7 @@ qti-response-declaration {
|
|
|
2017
2023
|
height: calc(var(--qti-form-size) - 6px);
|
|
2018
2024
|
}
|
|
2019
2025
|
|
|
2020
|
-
|
|
2026
|
+
&:state(radio)::part(ch) {
|
|
2021
2027
|
border-radius: var(--qti-border-radius-full);
|
|
2022
2028
|
display: grid;
|
|
2023
2029
|
place-content: center;
|
|
@@ -2027,12 +2033,12 @@ qti-response-declaration {
|
|
|
2027
2033
|
outline: none;
|
|
2028
2034
|
}
|
|
2029
2035
|
|
|
2030
|
-
|
|
2036
|
+
&:state(radio):state(--checked)::part(cha) {
|
|
2031
2037
|
background-color: var(--qti-bg-primary);
|
|
2032
2038
|
border-radius: var(--qti-border-radius-full);
|
|
2033
2039
|
}
|
|
2034
2040
|
|
|
2035
|
-
|
|
2041
|
+
&:state(checkbox)::part(ch) {
|
|
2036
2042
|
display: flex;
|
|
2037
2043
|
place-items: center;
|
|
2038
2044
|
border-radius: var(--qti-border-radius-sm);
|
|
@@ -2044,7 +2050,7 @@ qti-response-declaration {
|
|
|
2044
2050
|
outline: none;
|
|
2045
2051
|
}
|
|
2046
2052
|
|
|
2047
|
-
|
|
2053
|
+
&:state(checkbox):state(--checked)::part(cha) {
|
|
2048
2054
|
background-color: var(--qti-bg-primary);
|
|
2049
2055
|
-webkit-mask-image: var(--check-mask);
|
|
2050
2056
|
mask-image: var(--check-mask);
|
|
@@ -2391,7 +2397,7 @@ qti-response-declaration {
|
|
|
2391
2397
|
height: calc(var(--qti-form-size) - 6px);
|
|
2392
2398
|
}
|
|
2393
2399
|
|
|
2394
|
-
|
|
2400
|
+
&:state(radio)::part(ch) {
|
|
2395
2401
|
border-radius: var(--qti-border-radius-full);
|
|
2396
2402
|
display: grid;
|
|
2397
2403
|
place-content: center;
|
|
@@ -2401,12 +2407,12 @@ qti-response-declaration {
|
|
|
2401
2407
|
outline: none;
|
|
2402
2408
|
}
|
|
2403
2409
|
|
|
2404
|
-
|
|
2410
|
+
&:state(radio):state(--checked)::part(cha) {
|
|
2405
2411
|
background-color: var(--qti-bg-primary);
|
|
2406
2412
|
border-radius: var(--qti-border-radius-full);
|
|
2407
2413
|
}
|
|
2408
2414
|
|
|
2409
|
-
|
|
2415
|
+
&:state(checkbox)::part(ch) {
|
|
2410
2416
|
display: flex;
|
|
2411
2417
|
place-items: center;
|
|
2412
2418
|
border-radius: var(--qti-border-radius-sm);
|
|
@@ -2418,7 +2424,7 @@ qti-response-declaration {
|
|
|
2418
2424
|
outline: none;
|
|
2419
2425
|
}
|
|
2420
2426
|
|
|
2421
|
-
|
|
2427
|
+
&:state(checkbox):state(--checked)::part(cha) {
|
|
2422
2428
|
background-color: var(--qti-bg-primary);
|
|
2423
2429
|
-webkit-mask-image: var(--check-mask);
|
|
2424
2430
|
mask-image: var(--check-mask);
|
|
@@ -2460,7 +2466,7 @@ qti-response-declaration {
|
|
|
2460
2466
|
display: none;
|
|
2461
2467
|
}
|
|
2462
2468
|
|
|
2463
|
-
|
|
2469
|
+
:state(--checked) {
|
|
2464
2470
|
border-color: var(--qti-bg-primary);
|
|
2465
2471
|
background-color: var(--qti-primary-light);
|
|
2466
2472
|
}
|
|
@@ -2510,7 +2516,7 @@ qti-response-declaration {
|
|
|
2510
2516
|
display: none;
|
|
2511
2517
|
}
|
|
2512
2518
|
|
|
2513
|
-
|
|
2519
|
+
:state(--checked) {
|
|
2514
2520
|
background-color: var(--qti-primary-light); /* bg-blue-200 */
|
|
2515
2521
|
}
|
|
2516
2522
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
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-CFhbe77e.js';
|
|
2
|
+
export { s as ActiveElementMixin, A as ActiveElementMixinInterface, C as Calculate, m as Cardinality, r as ChoiceInterface, ag as Interaction, e as InteractionChangedDetails, X as MockQtiExpression, M as Multiple, l as Ordered, O as OutcomeChangedDetails, o as OutcomeVariable, W as QtiAnd, p as QtiAssessmentItem, q as QtiAssessmentStimulusRef, ah as QtiAssociableHotspot, $ as QtiAssociateInteraction, N as QtiChoiceInteraction, y as QtiCompanionMaterialsInfo, z as QtiContentBody, a0 as QtiCustomInteraction, af as QtiCustomOperator, a1 as QtiEndAttemptInteraction, H as QtiExtendedTextInteraction, E as QtiFeedbackBlock, F as QtiFeedbackInline, ai as QtiGap, aj as QtiGapImg, a2 as QtiGapMatchInteraction, ak as QtiGapText, a3 as QtiGraphicAssociateInteraction, a4 as QtiGraphicGapMatchInteraction, a5 as QtiGraphicOrderInteraction, al as QtiHotspotChoice, a6 as QtiHotspotInteraction, am as QtiHottext, K as QtiHottextInteraction, an as QtiInlineChoice, L as QtiInlineChoiceInteraction, f as QtiInteractionChanged, t as QtiItemBody, U as QtiLookupOutcomeValue, Z as QtiMapping, a7 as QtiMatchInteraction, a8 as QtiMediaInteraction, G as QtiModalFeedback, a9 as QtiOrderInteraction, g as QtiOutcomeChanged, w as QtiOutcomeDeclaration, P as QtiOutcomeProcessing, S as QtiOutcomeProcessingProcessor, _ as QtiPortableCustomInteraction, aa as QtiPositionObjectStage, u as QtiPrompt, x as QtiResponseDeclaration, T as QtiResponseProcessing, D as QtiRubricBlock, ab as QtiSelectPointInteraction, ao as QtiSimpleAssociableChoice, ap as QtiSimpleChoice, ac as QtiSliderInteraction, v as QtiStylesheet, J as QtiTextEntryInteraction, i as ResponseInteraction, n as VariableValue, h as directedPair, j as float, k as integer, ae as itemContext, ad as itemContextVariables, Y as qtiAndMixin } from '../qti-simple-choice-CFhbe77e.js';
|
|
3
3
|
import * as lit_html from 'lit-html';
|
|
4
4
|
import * as lit from 'lit';
|
|
5
5
|
import { LitElement } from 'lit';
|