@superbuilders/incept-renderer 0.1.7 → 0.1.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.js
CHANGED
|
@@ -750,18 +750,18 @@ function ChoiceInteractionRenderer({
|
|
|
750
750
|
if (!isImagesOnly) return "space-y-2";
|
|
751
751
|
switch (choiceCount) {
|
|
752
752
|
case 4:
|
|
753
|
-
return "
|
|
753
|
+
return "qti-image-grid-4";
|
|
754
754
|
case 3:
|
|
755
|
-
return "grid
|
|
755
|
+
return "qti-image-grid-3";
|
|
756
756
|
case 2:
|
|
757
|
-
return "
|
|
757
|
+
return "qti-image-grid-2";
|
|
758
758
|
default:
|
|
759
|
-
return "
|
|
759
|
+
return "qti-image-grid-many";
|
|
760
760
|
}
|
|
761
761
|
}, [isImagesOnly, choiceCount]);
|
|
762
762
|
const imageCardClass = React3.useMemo(() => {
|
|
763
763
|
if (!isImagesOnly) return "";
|
|
764
|
-
return choiceCount === 2 ? "
|
|
764
|
+
return choiceCount === 2 ? "qti-image-card qti-image-card-large" : "qti-image-card";
|
|
765
765
|
}, [isImagesOnly, choiceCount]);
|
|
766
766
|
const handleSingleChoice = (value) => {
|
|
767
767
|
if (!disabled && onAnswerSelect) {
|