@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/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
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='red' 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");
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
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='red' 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");
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
- #ff0000 calc(50%),
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 ScaleToFitInterface {
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;