This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git.
Pull mirroring updated .
- Nov 24, 2021
-
-
rhenck authored
Min-height should be optional for dynamically positioned elements, as you usually don't need it and it causes more problems than it solves. Elements with min-height have cause unexpected margins between elements.
-
- Nov 23, 2021
-
-
jojohoch authored
-
jojohoch authored
- Don't use height 100%. The image is not centered but positioned in the upper left corner
-
rhenck authored
As requested by product owner.
-
rhenck authored
Now scales, taking up all available space.
-
rhenck authored
No unused space around images and image an text below each each other.
-
rhenck authored
Extend the parsing to inludes h-Elements.
-
- Nov 22, 2021
-
-
jojohoch authored
The explicit check for undefined ensures that the value 0 of a number property is taken from serialized elements.
-
jojohoch authored
-
jojohoch authored
-
jojohoch authored
Setting on type button avoids that click events are evaluated from the surrounding form
-
jojohoch authored
-
rhenck authored
-
rhenck authored
Before the parent elements (span, div...) were catching the drop event which is not intended.
-
rhenck authored
The player is supposed to take all the elements already defined and generated in the editor. Therefore the call to generate all elements from the text is not a general thing but specialized for the editor. Right now the editor does no longer generate the cloze parts on load but only when the text prop has been touched.
-
rhenck authored
Also all elements now take the parentForm as input. Allowing it to use them with template binding and not only setting the value directly (in the controller).
-
- Nov 20, 2021
- Nov 19, 2021
-
-
rhenck authored
-
rhenck authored
Child elements need some special CSS, for example to prevent taking up more space than needed. This is only for text field and drop list, which are the relevant sub elements for now.
-
rhenck authored
Button is no InputElement which causes trouble in some places. Since it does not make much sense in the Cloze context it is just removed.
-
rhenck authored
-
rhenck authored
The problem that was to be solved is that buttons within a form always cause form validation for all form elements. Which is not wanted here. The better solution than preventing all event is to simply declare the button type. As button without any type are treated as submit buttons.
-
rhenck authored
This new class makes sense logically, does not have an effect on the children though.
-
rhenck authored
A new variable is introduced for CompoundComponents: "allowClickThrough". With this set components can set their children and overlays to allow clicking on child elements or not. In the editor this is not wanted as the elements internal structure is different and the resulting event target can not be reliably styled. There we need the (span) overlay. In the player though elements should be clickable as usual. The player can completely ignore this setting as it is on true (allowing clicking) by default.
-
jojohoch authored
- Remove fallback of TranslationService to allow empty error messages that can still cause red borders - Remove the case distinction for checkboxes, since the requiredTrue validator also sends required as errorKey and a special fallback text is no longer used
-
rhenck authored
They both have an element model and makes sense that a compound component is also a 'normal' component.
-
rhenck authored
SHould now always correctly line up with the text even on different line heights.
-
jojohoch authored
-
rhenck authored
-
rhenck authored
-
rhenck authored
-
rhenck authored
Similar to a text element but parses the text on change an replaces markers with actual elements. The text is then displayed inline with the elements.
-
rhenck authored
This allows to use them in template bindings. Used in compound elements.
-
- Nov 18, 2021
-
-
rhenck authored
Improve general structure. Image situation still bad.
-
rhenck authored
- Images now scale up and down depending on the available space. - The new property controls the first (column) size parameter for the grid. The others are fixed at 1. Decimal values are allowed for fine-tuned control. This prop is passed on to the child likert-row component. It uses the same grid and needs this info for proper alignment with the column headers. - Remove unnecessary div in likert
-
rhenck authored
- List items only have a margin between then but no longer on the outside. - Remove unused background color. This is set dynamically in the template.
-