@webwriter/quiz 1.0.3 → 1.0.4
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/LICENSE +6 -6
- package/custom.d.ts +175 -175
- package/dist/widgets/webwriter-choice-item.js +58 -13
- package/dist/widgets/webwriter-choice.js +64 -19
- package/dist/widgets/webwriter-cloze-gap.js +59 -14
- package/dist/widgets/webwriter-cloze.js +56 -11
- package/dist/widgets/webwriter-mark.js +56 -11
- package/dist/widgets/webwriter-order-item.js +56 -11
- package/dist/widgets/webwriter-order.js +64 -19
- package/dist/widgets/webwriter-pairing.js +59 -14
- package/dist/widgets/webwriter-quiz.js +67 -22
- package/dist/widgets/webwriter-speech.js +66 -20
- package/dist/widgets/webwriter-task.js +534 -308
- package/dist/widgets/webwriter-text.js +60 -14
- package/package.json +200 -200
- package/src/lib/combobox.ts +455 -455
- package/src/snippets/choice.html +7 -7
- package/src/snippets/cloze.html +3 -3
- package/src/snippets/mark.html +3 -3
- package/src/snippets/order.html +7 -7
- package/src/snippets/pairing.html +9 -9
- package/src/snippets/speech.html +3 -3
- package/src/snippets/text.html +3 -3
- package/src/snippets/wordsearch.html +3 -3
- package/src/widgets/webwriter-choice-item.ts +250 -250
- package/src/widgets/webwriter-choice.ts +309 -309
- package/src/widgets/webwriter-cloze-gap.ts +216 -216
- package/src/widgets/webwriter-cloze.ts +135 -135
- package/src/widgets/webwriter-mark.ts +434 -434
- package/src/widgets/webwriter-order-item.ts +444 -444
- package/src/widgets/webwriter-order.ts +272 -272
- package/src/widgets/webwriter-pairing-item.ts +155 -155
- package/src/widgets/webwriter-pairing.ts +187 -187
- package/src/widgets/webwriter-quiz.ts +280 -280
- package/src/widgets/webwriter-speech.ts +267 -267
- package/src/widgets/webwriter-task-explainer.ts +37 -37
- package/src/widgets/webwriter-task-hint.ts +16 -16
- package/src/widgets/webwriter-task-prompt.ts +17 -17
- package/src/widgets/webwriter-task.ts +543 -543
- package/src/widgets/webwriter-text.ts +130 -130
- package/tsconfig.json +6 -6
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {html} from "lit"
|
|
2
|
-
import {LitElementWw} from "@webwriter/lit"
|
|
3
|
-
import {customElement} from "lit/decorators.js"
|
|
4
|
-
import "@shoelace-style/shoelace/dist/themes/light.css"
|
|
5
|
-
import { styleMap } from "lit/directives/style-map.js"
|
|
6
|
-
|
|
7
|
-
declare global {interface HTMLElementTagNameMap {
|
|
8
|
-
"webwriter-task-prompt": WebwriterTaskPrompt;
|
|
9
|
-
}}
|
|
10
|
-
|
|
11
|
-
@customElement("webwriter-task-prompt")
|
|
12
|
-
export class WebwriterTaskPrompt extends LitElementWw {
|
|
13
|
-
render() {
|
|
14
|
-
return html`<slot style=${styleMap({"--ww-placeholder": `"Prompt"`})}>
|
|
15
|
-
|
|
16
|
-
</slot>`
|
|
17
|
-
}
|
|
1
|
+
import {html} from "lit"
|
|
2
|
+
import {LitElementWw} from "@webwriter/lit"
|
|
3
|
+
import {customElement} from "lit/decorators.js"
|
|
4
|
+
import "@shoelace-style/shoelace/dist/themes/light.css"
|
|
5
|
+
import { styleMap } from "lit/directives/style-map.js"
|
|
6
|
+
|
|
7
|
+
declare global {interface HTMLElementTagNameMap {
|
|
8
|
+
"webwriter-task-prompt": WebwriterTaskPrompt;
|
|
9
|
+
}}
|
|
10
|
+
|
|
11
|
+
@customElement("webwriter-task-prompt")
|
|
12
|
+
export class WebwriterTaskPrompt extends LitElementWw {
|
|
13
|
+
render() {
|
|
14
|
+
return html`<slot style=${styleMap({"--ww-placeholder": `"Prompt"`})}>
|
|
15
|
+
|
|
16
|
+
</slot>`
|
|
17
|
+
}
|
|
18
18
|
}
|