@citolab/qti-components 6.0.27 → 6.0.28

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
@@ -572,7 +572,6 @@ qti-choice-interaction:not(.qti-input-control-hidden) qti-simple-choice{
572
572
  display: flex;
573
573
  align-items: center;
574
574
  gap: 0.5rem;
575
- border-radius: 9999px;
576
575
  padding-left: 0.25rem;
577
576
  padding-right: 0.25rem;
578
577
  padding-top: 0.125rem;
@@ -1188,7 +1187,6 @@ qti-hottext-interaction:not(.qti-input-control-hidden) qti-hottext{
1188
1187
  display: flex;
1189
1188
  align-items: center;
1190
1189
  gap: 0.5rem;
1191
- border-radius: 9999px;
1192
1190
  padding-left: 0.25rem;
1193
1191
  padding-right: 0.25rem;
1194
1192
  padding-top: 0.125rem;
package/dist/index.d.cts CHANGED
@@ -494,19 +494,12 @@ interface OptionType {
494
494
  selected: boolean;
495
495
  }
496
496
  declare class QtiInlineChoiceInteraction extends Interaction {
497
- options: OptionType[];
498
497
  static inputWidthClass: string[];
499
- static get properties(): {
500
- options: {
501
- type: ArrayConstructor;
502
- value: any[];
503
- attribute: boolean;
504
- };
505
- };
506
- connectedCallback(): void;
498
+ options: OptionType[];
499
+ dataPrompt: string;
507
500
  static get styles(): lit.CSSResult[];
508
501
  render(): lit_html.TemplateResult<1>;
509
- constructor();
502
+ firstUpdated(val: any): void;
510
503
  validate(): boolean;
511
504
  reset(): void;
512
505
  set response(value: string);
@@ -822,10 +815,13 @@ declare class QtiSimpleAssociableChoice extends LitElement {
822
815
  declare const QtiMatchInteraction_base: (new (...args: any[]) => IInteraction) & typeof LitElement;
823
816
  declare class QtiMatchInteraction extends QtiMatchInteraction_base {
824
817
  static styles: any[];
825
- rows: Element[];
826
- cols: Element[];
818
+ rows: QtiSimpleAssociableChoice[];
819
+ cols: QtiSimpleAssociableChoice[];
820
+ response: any[];
821
+ responseIdentifier: string;
827
822
  connectedCallback(): void;
828
823
  render(): lit_html.TemplateResult<1>;
824
+ protected saveResponse(): void;
829
825
  }
830
826
 
831
827
  declare class QtiMediaInteraction extends Interaction {
package/dist/index.d.ts CHANGED
@@ -494,19 +494,12 @@ interface OptionType {
494
494
  selected: boolean;
495
495
  }
496
496
  declare class QtiInlineChoiceInteraction extends Interaction {
497
- options: OptionType[];
498
497
  static inputWidthClass: string[];
499
- static get properties(): {
500
- options: {
501
- type: ArrayConstructor;
502
- value: any[];
503
- attribute: boolean;
504
- };
505
- };
506
- connectedCallback(): void;
498
+ options: OptionType[];
499
+ dataPrompt: string;
507
500
  static get styles(): lit.CSSResult[];
508
501
  render(): lit_html.TemplateResult<1>;
509
- constructor();
502
+ firstUpdated(val: any): void;
510
503
  validate(): boolean;
511
504
  reset(): void;
512
505
  set response(value: string);
@@ -822,10 +815,13 @@ declare class QtiSimpleAssociableChoice extends LitElement {
822
815
  declare const QtiMatchInteraction_base: (new (...args: any[]) => IInteraction) & typeof LitElement;
823
816
  declare class QtiMatchInteraction extends QtiMatchInteraction_base {
824
817
  static styles: any[];
825
- rows: Element[];
826
- cols: Element[];
818
+ rows: QtiSimpleAssociableChoice[];
819
+ cols: QtiSimpleAssociableChoice[];
820
+ response: any[];
821
+ responseIdentifier: string;
827
822
  connectedCallback(): void;
828
823
  render(): lit_html.TemplateResult<1>;
824
+ protected saveResponse(): void;
829
825
  }
830
826
 
831
827
  declare class QtiMediaInteraction extends Interaction {