@citolab/qti-components 6.0.19 → 6.0.20

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.
@@ -1 +1 @@
1
- import{a as o}from"../chunk-RPGALUIV.js";import{a as r}from"../chunk-WFLR5TH7.js";import"../chunk-NMCIOGD2.js";export{o as liveQuery,r as watch};
1
+ import{a}from"../chunk-M7QOVOG6.js";import{a as b}from"../chunk-WFLR5TH7.js";import"../chunk-NMCIOGD2.js";export{a as liveQuery,b as watch};
package/dist/index.css CHANGED
@@ -424,50 +424,42 @@
424
424
  margin-left: 8.5106382979%;
425
425
  }
426
426
 
427
- .qti-input-width-1 {
427
+ /* .qti-input-width-1 {
428
428
  width: 1ch;
429
429
  min-width: 1ch;
430
430
  }
431
-
432
431
  .qti-input-width-2 {
433
432
  width: 2ch;
434
433
  min-width: 2ch;
435
434
  }
436
-
437
435
  .qti-input-width-3 {
438
436
  width: 3ch;
439
437
  min-width: 3ch;
440
438
  }
441
-
442
439
  .qti-input-width-4 {
443
440
  width: 4ch;
444
441
  min-width: 4ch;
445
442
  }
446
-
447
443
  .qti-input-width-6 {
448
444
  width: 6ch;
449
445
  min-width: 6ch;
450
446
  }
451
-
452
447
  .qti-input-width-10 {
453
448
  width: 10ch;
454
449
  min-width: 10ch;
455
450
  }
456
-
457
451
  .qti-input-width-15 {
458
452
  width: 15ch;
459
453
  min-width: 15ch;
460
454
  }
461
-
462
455
  .qti-input-width-20 {
463
456
  width: 20ch;
464
457
  min-width: 20ch;
465
458
  }
466
-
467
459
  .qti-input-width-72 {
468
460
  width: 72ch;
469
461
  min-width: 72ch;
470
- }
462
+ } */
471
463
 
472
464
  qti-choice-interaction{
473
465
  margin-top: 0.5rem;
@@ -699,13 +691,13 @@ qti-text-entry-interaction::part(input){
699
691
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
700
692
  cursor: text;
701
693
  border-radius: 0.125rem;
694
+ border-width: 0px;
702
695
  padding: 0.75rem;
703
696
  --tw-text-opacity: 1;
704
697
  color: rgb(75 85 99 / var(--tw-text-opacity));
705
698
  --tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
706
699
  --tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);
707
700
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
708
- width: 100%;
709
701
  }
710
702
 
711
703
  qti-text-entry-interaction::part(input):hover{
@@ -736,6 +728,7 @@ qti-extended-text-interaction::part(textarea){
736
728
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
737
729
  cursor: text;
738
730
  border-radius: 0.125rem;
731
+ border-width: 0px;
739
732
  padding: 0.75rem;
740
733
  --tw-text-opacity: 1;
741
734
  color: rgb(75 85 99 / var(--tw-text-opacity));
package/dist/index.d.ts CHANGED
@@ -425,7 +425,10 @@ declare class QtiTextEntryInteraction extends Interaction {
425
425
  patternMask: string;
426
426
  placeholderText: string;
427
427
  private _value;
428
+ private _size;
429
+ inputRef: lit_html_directives_ref.Ref<HTMLInputElement>;
428
430
  classNames: any;
431
+ handleclassNamesChange(old: any, classes: string): void;
429
432
  set response(value: string | undefined);
430
433
  validate(): boolean;
431
434
  static get styles(): lit.CSSResult[];
@@ -1049,4 +1052,4 @@ declare const qtiTransform: (xmlValue: string) => {
1049
1052
  xml(): string;
1050
1053
  };
1051
1054
 
1052
- export { BaseType, Calculate, Cardinality, Events, InteractionChangedDetails, Multiple, Ordered, OutcomeChangedDetails, OutcomeVariable, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, qtiChoiceElementSelected as QtiChoiceElementSelected, QtiCompanionMaterialsInfo, QtiContains, QtiCorrect, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExpression, QtiExtendedTextInteraction, QtiFeedbackBlock, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottext, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, qtiInteractionChanged as QtiInteractionChanged, qtiInteractionResponse as QtiInteractionResponse, QtiIsNull, QtiItem, qtiLooseChoice as QtiLooseChoice, QtiLt, QtiLte, QtiMapResponse, QtiMapping, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, qtiOutcomeChanged as QtiOutcomeChanged, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, qtiRegisterChoice as QtiRegisterChoice, qtiRegisterHotspot as QtiRegisterHotspot, qtiRegisterInteraction as QtiRegisterInteraction, qtiRegisterVariable as QtiRegisterVariable, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSliderInteraction, QtiStylesheet, QtiTextEntryInteraction, QtiVariable, ResponseInteraction, ResponseVariable, directedPair, float, integer, qtiContentBody, qtiRubricBlock, qtiTransform };
1055
+ export { BaseType, Calculate, Cardinality, Events, InteractionChangedDetails, Multiple, Ordered, OutcomeChangedDetails, OutcomeVariable, QtPrintedVariable, QtiAnd, QtiAssessmentItem, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoice, qtiChoiceElementSelected as QtiChoiceElementSelected, QtiChoiceInteraction, QtiCompanionMaterialsInfo, QtiContains, QtiCorrect, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExpression, QtiExtendedTextInteraction, QtiFeedbackBlock, QtiFeedbackInline, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottext, QtiHottextInteraction, QtiInlineChoice, QtiInlineChoiceInteraction, qtiInteractionChanged as QtiInteractionChanged, qtiInteractionResponse as QtiInteractionResponse, QtiIsNull, QtiItem, qtiLooseChoice as QtiLooseChoice, QtiLt, QtiLte, QtiMapResponse, QtiMapping, QtiMatch, QtiMatchInteraction, QtiMediaInteraction, QtiModalFeedback, QtiMultiple, QtiNot, QtiOr, QtiOrderInteraction, QtiOrdered, qtiOutcomeChanged as QtiOutcomeChanged, QtiOutcomeDeclaration, QtiPortableCustomInteraction, QtiPositionObjectStage, QtiProduct, QtiPrompt, qtiRegisterChoice as QtiRegisterChoice, qtiRegisterHotspot as QtiRegisterHotspot, qtiRegisterInteraction as QtiRegisterInteraction, qtiRegisterVariable as QtiRegisterVariable, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRule, QtiSPositionObjectInteraction, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiStylesheet, QtiTextEntryInteraction, QtiVariable, ResponseInteraction, ResponseVariable, directedPair, float, integer, qtiContentBody, qtiRubricBlock, qtiTransform };