@citolab/qti-components 8.1.0 → 8.2.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.
- package/cdn/index.global.js +1 -1
- package/cdn/index.js +274 -168
- package/dist/base.d.ts +5 -5
- package/dist/base.js +1 -1
- package/dist/{chunk-IXPDMYKH.js → chunk-43XBJ47H.js} +3 -3
- package/dist/{chunk-EKXZI26R.js → chunk-7D3NKAGZ.js} +54 -3
- package/dist/chunk-7D3NKAGZ.js.map +1 -0
- package/dist/{chunk-Q52IJELT.js → chunk-CRLXQZFA.js} +594 -259
- package/dist/chunk-CRLXQZFA.js.map +1 -0
- package/dist/{chunk-TXIB3SKC.js → chunk-LMGJOBJA.js} +3 -3
- package/dist/{chunk-6V3A7NQP.js → chunk-M7K5C522.js} +2 -2
- package/dist/{chunk-CF3DXJWM.js → chunk-OIUK5BFU.js} +22 -6
- package/dist/{chunk-CF3DXJWM.js.map → chunk-OIUK5BFU.js.map} +1 -1
- package/dist/{chunk-MK2I3MQB.js → chunk-OVBG223G.js} +4 -5
- package/dist/{chunk-MK2I3MQB.js.map → chunk-OVBG223G.js.map} +1 -1
- package/dist/{chunk-4XR2JHCP.js → chunk-Q6ZK4LRH.js} +26 -2
- package/dist/chunk-Q6ZK4LRH.js.map +1 -0
- package/dist/chunk-TLTYXWW7.js +7 -0
- package/dist/chunk-TLTYXWW7.js.map +1 -0
- package/dist/{chunk-3IACYIU2.js → chunk-U7YCXDYC.js} +2 -2
- package/dist/{chunk-NZLW6EX7.js → chunk-UC3T3NI3.js} +2 -2
- package/dist/{chunk-6XJUP55A.js → chunk-YLRMOX6C.js} +3 -3
- package/dist/chunk-YLRMOX6C.js.map +1 -0
- package/dist/{computed.types.d-DpKIYO6e.d.ts → computed.types.d-CJarqC6s.d.ts} +12 -0
- package/dist/corrections.d.ts +14 -4
- package/dist/corrections.js +7 -7
- package/dist/elements.d.ts +1 -1
- package/dist/elements.js +3 -3
- package/dist/index.d.ts +5 -5
- package/dist/index.js +14 -12
- package/dist/interactions.js +3 -3
- package/dist/item.css +81 -0
- package/dist/item.d.ts +1 -1
- package/dist/item.js +4 -4
- package/dist/loader.d.ts +1 -1
- package/dist/processing.d.ts +3 -3
- package/dist/processing.js +2 -2
- package/dist/qti-components-jsx.d.ts +7704 -7127
- package/dist/{qti-condition-expression.d-aMvBvpc6.d.ts → qti-condition-expression.d-CYwXOUb1.d.ts} +1 -1
- package/dist/{qti-expression.d-BietT_8b.d.ts → qti-expression.d-B_-m9emA.d.ts} +11 -1
- package/dist/{qti-feedback.d-DZbad0RN.d.ts → qti-feedback.d-B1EIF-fU.d.ts} +1 -0
- package/dist/{qti-test.d-_YAlhDbt.d.ts → qti-test.d-C6lCEMRB.d.ts} +38 -3
- package/dist/test.d.ts +5 -5
- package/dist/test.js +7 -5
- package/package.json +9 -9
- package/dist/chunk-4XR2JHCP.js.map +0 -1
- package/dist/chunk-6XJUP55A.js.map +0 -1
- package/dist/chunk-EKXZI26R.js.map +0 -1
- package/dist/chunk-IYC7LZV6.js +0 -7
- package/dist/chunk-IYC7LZV6.js.map +0 -1
- package/dist/chunk-Q52IJELT.js.map +0 -1
- /package/dist/{chunk-IXPDMYKH.js.map → chunk-43XBJ47H.js.map} +0 -0
- /package/dist/{chunk-TXIB3SKC.js.map → chunk-LMGJOBJA.js.map} +0 -0
- /package/dist/{chunk-6V3A7NQP.js.map → chunk-M7K5C522.js.map} +0 -0
- /package/dist/{chunk-3IACYIU2.js.map → chunk-U7YCXDYC.js.map} +0 -0
- /package/dist/{chunk-NZLW6EX7.js.map → chunk-UC3T3NI3.js.map} +0 -0
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
responseAttributeConverter,
|
|
15
15
|
serializeResponseAttribute,
|
|
16
16
|
validationMessage
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7D3NKAGZ.js";
|
|
18
18
|
|
|
19
19
|
// ../interactions/core/dist/elements/qti-gap-text/qti-gap-text.js
|
|
20
20
|
import { html as html2, LitElement } from "lit";
|
|
@@ -217,6 +217,18 @@ var qti_gap_text_styles_default = [
|
|
|
217
217
|
justify-content: var(--qti-drag-justify-content, normal);
|
|
218
218
|
user-select: none;
|
|
219
219
|
}
|
|
220
|
+
|
|
221
|
+
/*
|
|
222
|
+
* The control div's only content is the theme's ::before grip glyph. Centering it with
|
|
223
|
+
* 'vertical-align: middle' (the theme's only lever on a pseudo-element it owns) aligns to the
|
|
224
|
+
* line box's baseline metrics, which drift with font/line-height. Flex centering here is
|
|
225
|
+
* geometric and font-independent — the same fix qti-simple-choice already has for its control.
|
|
226
|
+
*/
|
|
227
|
+
[part='control'] {
|
|
228
|
+
display: flex;
|
|
229
|
+
align-items: center;
|
|
230
|
+
justify-content: center;
|
|
231
|
+
}
|
|
220
232
|
`
|
|
221
233
|
];
|
|
222
234
|
|
|
@@ -488,6 +500,18 @@ var qti_simple_associable_choice_styles_default = [
|
|
|
488
500
|
::slotted(p) {
|
|
489
501
|
display: inline;
|
|
490
502
|
}
|
|
503
|
+
|
|
504
|
+
/*
|
|
505
|
+
* The control div's only content is the theme's ::before grip glyph. Centering it with
|
|
506
|
+
* 'vertical-align: middle' (the theme's only lever on a pseudo-element it owns) aligns to the
|
|
507
|
+
* line box's baseline metrics, which drift with font/line-height. Flex centering here is
|
|
508
|
+
* geometric and font-independent — the same fix qti-simple-choice already has for its control.
|
|
509
|
+
*/
|
|
510
|
+
[part='control'] {
|
|
511
|
+
display: flex;
|
|
512
|
+
align-items: center;
|
|
513
|
+
justify-content: center;
|
|
514
|
+
}
|
|
491
515
|
`
|
|
492
516
|
];
|
|
493
517
|
|
|
@@ -10329,4 +10353,4 @@ export {
|
|
|
10329
10353
|
QtiTextEntryInteraction,
|
|
10330
10354
|
elements16
|
|
10331
10355
|
};
|
|
10332
|
-
//# sourceMappingURL=chunk-
|
|
10356
|
+
//# sourceMappingURL=chunk-Q6ZK4LRH.js.map
|