@citolab/qti-components 6.0.6 → 6.0.8
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-OIQME3LC.js → chunk-YDZUFMBB.js} +15 -23
- package/dist/custom-elements.json +394 -471
- package/dist/index.css +11 -7
- package/dist/index.d.ts +2 -6
- package/dist/index.js +40 -48
- package/dist/qti-item/index.d.ts +4 -34
- package/dist/qti-item/index.js +1 -1
- package/dist/qti-item-8c26fa9e.d.ts +30 -0
- package/dist/qti-item-react/index.d.ts +3 -4
- package/dist/qti-item-react/index.js +1 -1
- package/package.json +5 -4
- package/dist/chunk-67UY4OJW.js +0 -2121
- package/dist/chunk-7RTSAPMF.js +0 -2135
- package/dist/chunk-E7DMNXUW.js +0 -2127
- package/dist/chunk-K2XJ4SA2.js +0 -2211
- package/dist/chunk-MGEP4U4L.js +0 -2139
- package/dist/chunk-QH4IMEWP.js +0 -2175
- package/dist/chunk-TI6G3PT6.js +0 -2172
- package/dist/qti-simple-choice-4df32b16.d.ts +0 -352
package/dist/index.css
CHANGED
|
@@ -626,9 +626,11 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='ch
|
|
|
626
626
|
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
627
627
|
}
|
|
628
628
|
|
|
629
|
-
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='checkbox'][aria-checked='true']::part(cha)
|
|
630
|
-
|
|
631
|
-
|
|
629
|
+
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice[role='checkbox'][aria-checked='true']::part(cha){
|
|
630
|
+
--tw-bg-opacity: 1;
|
|
631
|
+
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
|
632
|
+
-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");
|
|
633
|
+
}
|
|
632
634
|
|
|
633
635
|
qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice:hover{
|
|
634
636
|
--tw-bg-opacity: 1;
|
|
@@ -1252,9 +1254,11 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='checkbo
|
|
|
1252
1254
|
--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
|
|
1253
1255
|
}
|
|
1254
1256
|
|
|
1255
|
-
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='checkbox'][aria-checked='true']::part(cha)
|
|
1256
|
-
|
|
1257
|
-
|
|
1257
|
+
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext[role='checkbox'][aria-checked='true']::part(cha){
|
|
1258
|
+
--tw-bg-opacity: 1;
|
|
1259
|
+
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
|
|
1260
|
+
-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");
|
|
1261
|
+
}
|
|
1258
1262
|
|
|
1259
1263
|
qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext{
|
|
1260
1264
|
display: inline-flex;
|
|
@@ -1698,7 +1702,7 @@ qti-associate-interaction::part(associables-container){
|
|
|
1698
1702
|
background: linear-gradient(
|
|
1699
1703
|
180deg,
|
|
1700
1704
|
rgb(0 0 0 / 0%) calc(50% - 1px),
|
|
1701
|
-
#
|
|
1705
|
+
#000000 calc(50%),
|
|
1702
1706
|
rgb(0 0 0 / 0%) calc(50% + 1px)
|
|
1703
1707
|
);
|
|
1704
1708
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -981,11 +981,7 @@ declare global {
|
|
|
981
981
|
}
|
|
982
982
|
}
|
|
983
983
|
|
|
984
|
-
declare class
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
declare const QtiItem_base: (new (...args: any[]) => ScaleToFitInterface) & typeof LitElement;
|
|
988
|
-
declare class QtiItem extends QtiItem_base {
|
|
984
|
+
declare class QtiItem extends LitElement {
|
|
989
985
|
disabled: boolean;
|
|
990
986
|
handleDisabledChange(old: any, disabled: boolean): void;
|
|
991
987
|
readonly: boolean;
|
|
@@ -996,8 +992,8 @@ declare class QtiItem extends QtiItem_base {
|
|
|
996
992
|
view: 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor';
|
|
997
993
|
});
|
|
998
994
|
private provider;
|
|
999
|
-
private _xml;
|
|
1000
995
|
get _item(): QtiAssessmentItem;
|
|
996
|
+
private _xml;
|
|
1001
997
|
set xml(val: string);
|
|
1002
998
|
get xml(): string;
|
|
1003
999
|
static styles: lit.CSSResult;
|