@citolab/qti-components 6.9.1-beta.47 → 6.9.1-beta.49
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/custom-elements.json +170 -159
- package/dist/index.global.js +1 -1
- package/dist/index.js +1 -1
- package/dist/item.css +37 -0
- package/dist/qti-components/index.d.ts +2 -2
- package/dist/qti-components/index.js +150 -77
- package/dist/qti-item/index.d.ts +1 -1
- package/dist/{qti-simple-choice-DdIqHDOp.d.ts → qti-simple-choice-Bil0gmT4.d.ts} +3 -5
- package/package.json +1 -1
package/dist/item.css
CHANGED
|
@@ -2124,6 +2124,13 @@ qti-response-declaration {
|
|
|
2124
2124
|
qti-gap-match-interaction {
|
|
2125
2125
|
& qti-gap-text {
|
|
2126
2126
|
|
|
2127
|
+
&[dragging] {
|
|
2128
|
+
pointer-events: none;
|
|
2129
|
+
rotate: -2deg;
|
|
2130
|
+
box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
|
|
2131
|
+
0 4px 8px rgb(0 0 0 / 10%);
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2127
2134
|
&:hover {
|
|
2128
2135
|
background-color: var(--qti-bg-gray-50);
|
|
2129
2136
|
}
|
|
@@ -2167,6 +2174,23 @@ qti-response-declaration {
|
|
|
2167
2174
|
|
|
2168
2175
|
& qti-gap {
|
|
2169
2176
|
|
|
2177
|
+
&[enabled] {
|
|
2178
|
+
background-color: var(--qti-primary-light);
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
&[disabled] {
|
|
2182
|
+
cursor: not-allowed;
|
|
2183
|
+
background-color: var(--qti-bg-gray-100);
|
|
2184
|
+
color: var(--qti-text-gray-500);
|
|
2185
|
+
border-color: var(--qti-border-color-gray);
|
|
2186
|
+
outline: 4px solid var(--qti-bg-gray-100);
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
&[active] {
|
|
2190
|
+
border-color: var(--qti-bg-primary);
|
|
2191
|
+
background-color: var(--qti-primary-light);
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2170
2194
|
display: inline-flex;
|
|
2171
2195
|
width: 8rem; /* w-32 */
|
|
2172
2196
|
&:empty::after {
|
|
@@ -2735,6 +2759,13 @@ qti-response-declaration {
|
|
|
2735
2759
|
&::part(qti-simple-choice),
|
|
2736
2760
|
& qti-simple-choice {
|
|
2737
2761
|
|
|
2762
|
+
&[dragging] {
|
|
2763
|
+
pointer-events: none;
|
|
2764
|
+
rotate: -2deg;
|
|
2765
|
+
box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
|
|
2766
|
+
0 4px 8px rgb(0 0 0 / 10%);
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2738
2769
|
&:hover {
|
|
2739
2770
|
background-color: var(--qti-bg-gray-50);
|
|
2740
2771
|
}
|
|
@@ -2792,8 +2823,14 @@ qti-response-declaration {
|
|
|
2792
2823
|
gap: 0.5rem; /* gap-2 */
|
|
2793
2824
|
}
|
|
2794
2825
|
|
|
2826
|
+
|
|
2827
|
+
|
|
2795
2828
|
&::part(drop-list) {
|
|
2796
2829
|
|
|
2830
|
+
&[enabled] {
|
|
2831
|
+
background-color: var(--qti-primary-light);
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2797
2834
|
&:hover {
|
|
2798
2835
|
background-color: var(--qti-bg-gray-50);
|
|
2799
2836
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
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-
|
|
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-Bil0gmT4.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-Bil0gmT4.js';
|
|
3
3
|
import * as lit_html from 'lit-html';
|
|
4
4
|
import * as lit from 'lit';
|
|
5
5
|
import { LitElement } from 'lit';
|