@intellectif/lk-react 15.0.0 → 16.0.0
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/CHANGELOG.md +51 -0
- package/README.md +2 -2
- package/dist/{WrittenResponse-BPbhERgk.d.cts → WrittenResponse-C2zw-1jK.d.cts} +1 -1
- package/dist/{WrittenResponse-ZAxLR_AU.d.ts → WrittenResponse-CTiNpSCC.d.ts} +1 -1
- package/dist/{chunk-ZH5WT2IE.cjs → chunk-2WM2KSO7.cjs} +25 -25
- package/dist/{chunk-ZH5WT2IE.cjs.map → chunk-2WM2KSO7.cjs.map} +1 -1
- package/dist/{chunk-XMJE34FY.cjs → chunk-2YZZL5FV.cjs} +13 -13
- package/dist/{chunk-XMJE34FY.cjs.map → chunk-2YZZL5FV.cjs.map} +1 -1
- package/dist/{chunk-2HAEQDHQ.js → chunk-3IHVDQRC.js} +492 -139
- package/dist/chunk-3IHVDQRC.js.map +1 -0
- package/dist/{chunk-IE5ZNCWN.js → chunk-4AQ4SWJ3.js} +5 -5
- package/dist/{chunk-IE5ZNCWN.js.map → chunk-4AQ4SWJ3.js.map} +1 -1
- package/dist/{chunk-RT5FTHUU.js → chunk-4X7NFEDB.js} +5 -5
- package/dist/{chunk-RT5FTHUU.js.map → chunk-4X7NFEDB.js.map} +1 -1
- package/dist/{chunk-SRD4KVAP.cjs → chunk-A2CPCOJA.cjs} +503 -149
- package/dist/chunk-A2CPCOJA.cjs.map +1 -0
- package/dist/{chunk-AF72QUBI.js → chunk-AEUP63CZ.js} +5 -5
- package/dist/{chunk-AF72QUBI.js.map → chunk-AEUP63CZ.js.map} +1 -1
- package/dist/{chunk-DQ3VVU5T.cjs → chunk-ALDGRDYD.cjs} +24 -24
- package/dist/{chunk-DQ3VVU5T.cjs.map → chunk-ALDGRDYD.cjs.map} +1 -1
- package/dist/{chunk-WKOV25NP.cjs → chunk-BO64SLHL.cjs} +8 -8
- package/dist/{chunk-WKOV25NP.cjs.map → chunk-BO64SLHL.cjs.map} +1 -1
- package/dist/{chunk-L7NE7PR4.cjs → chunk-DMCFARGP.cjs} +13 -13
- package/dist/{chunk-L7NE7PR4.cjs.map → chunk-DMCFARGP.cjs.map} +1 -1
- package/dist/{chunk-QM4AV6EG.js → chunk-HJLVWZOM.js} +4 -4
- package/dist/{chunk-QM4AV6EG.js.map → chunk-HJLVWZOM.js.map} +1 -1
- package/dist/{chunk-ZJMTHPHY.js → chunk-ICAYWVNF.js} +3 -3
- package/dist/{chunk-ZJMTHPHY.js.map → chunk-ICAYWVNF.js.map} +1 -1
- package/dist/{chunk-26GQO5I2.cjs → chunk-JYC2VV3Y.cjs} +12 -12
- package/dist/{chunk-26GQO5I2.cjs.map → chunk-JYC2VV3Y.cjs.map} +1 -1
- package/dist/{chunk-UCKA22ZJ.cjs → chunk-K63VPFOV.cjs} +9 -2
- package/dist/chunk-K63VPFOV.cjs.map +1 -0
- package/dist/{chunk-YWQH35VO.js → chunk-NOF6HJDV.js} +4 -4
- package/dist/{chunk-YWQH35VO.js.map → chunk-NOF6HJDV.js.map} +1 -1
- package/dist/{chunk-I2QGW4GD.js → chunk-OOYKKO3V.js} +11 -11
- package/dist/{chunk-I2QGW4GD.js.map → chunk-OOYKKO3V.js.map} +1 -1
- package/dist/{chunk-FKGUKFC7.cjs → chunk-OXUUE3HX.cjs} +5 -5
- package/dist/{chunk-FKGUKFC7.cjs.map → chunk-OXUUE3HX.cjs.map} +1 -1
- package/dist/{chunk-53YOZOGN.cjs → chunk-P5FGJMMI.cjs} +5 -5
- package/dist/{chunk-53YOZOGN.cjs.map → chunk-P5FGJMMI.cjs.map} +1 -1
- package/dist/{chunk-UAYWLYFW.cjs → chunk-QADR2XMQ.cjs} +18 -18
- package/dist/{chunk-UAYWLYFW.cjs.map → chunk-QADR2XMQ.cjs.map} +1 -1
- package/dist/{chunk-52GXJNQ3.js → chunk-QIA5FAAW.js} +8 -2
- package/dist/chunk-QIA5FAAW.js.map +1 -0
- package/dist/{chunk-EKBEKDWO.cjs → chunk-RJGCT35F.cjs} +13 -13
- package/dist/{chunk-EKBEKDWO.cjs.map → chunk-RJGCT35F.cjs.map} +1 -1
- package/dist/{chunk-33BQNWAQ.js → chunk-T33AJYLW.js} +5 -5
- package/dist/{chunk-33BQNWAQ.js.map → chunk-T33AJYLW.js.map} +1 -1
- package/dist/{chunk-EVBYEWHO.js → chunk-UHKZXOXD.js} +9 -2
- package/dist/chunk-UHKZXOXD.js.map +1 -0
- package/dist/{chunk-HA3VRF6E.js → chunk-UIGSH2XB.js} +3 -3
- package/dist/{chunk-HA3VRF6E.js.map → chunk-UIGSH2XB.js.map} +1 -1
- package/dist/{chunk-Z6TVOAO5.cjs → chunk-UISZWFI7.cjs} +8 -2
- package/dist/chunk-UISZWFI7.cjs.map +1 -0
- package/dist/{chunk-CE6OGJE6.js → chunk-UYRQEIB7.js} +5 -5
- package/dist/{chunk-CE6OGJE6.js.map → chunk-UYRQEIB7.js.map} +1 -1
- package/dist/{chunk-QEB6O6GU.js → chunk-W32ND3ZR.js} +6 -6
- package/dist/{chunk-QEB6O6GU.js.map → chunk-W32ND3ZR.js.map} +1 -1
- package/dist/{chunk-H6I2JDNW.js → chunk-WBLRUJ77.js} +10 -10
- package/dist/{chunk-H6I2JDNW.js.map → chunk-WBLRUJ77.js.map} +1 -1
- package/dist/{chunk-DP3DM7FR.cjs → chunk-WGIMLXRW.cjs} +6 -6
- package/dist/{chunk-DP3DM7FR.cjs.map → chunk-WGIMLXRW.cjs.map} +1 -1
- package/dist/{chunk-4H3JTX74.cjs → chunk-ZA5QUQ2V.cjs} +13 -13
- package/dist/{chunk-4H3JTX74.cjs.map → chunk-ZA5QUQ2V.cjs.map} +1 -1
- package/dist/components/ActivityPreview.cjs +12 -12
- package/dist/components/ActivityPreview.d.cts +2 -2
- package/dist/components/ActivityPreview.d.ts +2 -2
- package/dist/components/ActivityPreview.js +11 -11
- package/dist/components/ActivitySequence.cjs +13 -13
- package/dist/components/ActivitySequence.d.cts +2 -2
- package/dist/components/ActivitySequence.d.ts +2 -2
- package/dist/components/ActivitySequence.js +12 -12
- package/dist/components/Dictation.cjs +5 -5
- package/dist/components/Dictation.d.cts +1 -1
- package/dist/components/Dictation.d.ts +1 -1
- package/dist/components/Dictation.js +4 -4
- package/dist/components/FillInTheBlanks.cjs +5 -5
- package/dist/components/FillInTheBlanks.d.cts +1 -1
- package/dist/components/FillInTheBlanks.d.ts +1 -1
- package/dist/components/FillInTheBlanks.js +4 -4
- package/dist/components/GapSelect.cjs +5 -5
- package/dist/components/GapSelect.d.cts +1 -1
- package/dist/components/GapSelect.d.ts +1 -1
- package/dist/components/GapSelect.js +4 -4
- package/dist/components/InteractiveVideo.cjs +15 -11
- package/dist/components/InteractiveVideo.d.cts +50 -4
- package/dist/components/InteractiveVideo.d.ts +50 -4
- package/dist/components/InteractiveVideo.js +10 -10
- package/dist/components/MultipleChoice.cjs +5 -5
- package/dist/components/MultipleChoice.d.cts +1 -1
- package/dist/components/MultipleChoice.d.ts +1 -1
- package/dist/components/MultipleChoice.js +4 -4
- package/dist/components/PronunciationFeedback.cjs +4 -4
- package/dist/components/PronunciationFeedback.d.cts +1 -1
- package/dist/components/PronunciationFeedback.d.ts +1 -1
- package/dist/components/PronunciationFeedback.js +3 -3
- package/dist/components/ReadAloud.cjs +6 -6
- package/dist/components/ReadAloud.d.cts +2 -2
- package/dist/components/ReadAloud.d.ts +2 -2
- package/dist/components/ReadAloud.js +5 -5
- package/dist/components/StimulusPanel.cjs +4 -4
- package/dist/components/StimulusPanel.d.cts +1 -1
- package/dist/components/StimulusPanel.d.ts +1 -1
- package/dist/components/StimulusPanel.js +3 -3
- package/dist/components/WrittenResponse.cjs +5 -5
- package/dist/components/WrittenResponse.d.cts +3 -3
- package/dist/components/WrittenResponse.d.ts +3 -3
- package/dist/components/WrittenResponse.js +4 -4
- package/dist/i18n/LkIntlProvider.cjs +7 -7
- package/dist/i18n/LkIntlProvider.d.cts +2 -2
- package/dist/i18n/LkIntlProvider.d.ts +2 -2
- package/dist/i18n/LkIntlProvider.js +1 -1
- package/dist/index.cjs +41 -37
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +15 -15
- package/dist/{strings-D0IWcsUm.d.ts → strings-Dgc5-DeA.d.ts} +21 -2
- package/dist/{strings-5588Q4Te.d.cts → strings-zY2QQYpU.d.cts} +21 -2
- package/dist/theme/ThemeProvider.cjs +6 -6
- package/dist/theme/ThemeProvider.js +1 -1
- package/dist/theme/defaults.css +7 -0
- package/dist/theme/skin.css +44 -6
- package/package.json +3 -3
- package/dist/chunk-2HAEQDHQ.js.map +0 -1
- package/dist/chunk-52GXJNQ3.js.map +0 -1
- package/dist/chunk-EVBYEWHO.js.map +0 -1
- package/dist/chunk-SRD4KVAP.cjs.map +0 -1
- package/dist/chunk-UCKA22ZJ.cjs.map +0 -1
- package/dist/chunk-Z6TVOAO5.cjs.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
4
|
+
var chunkWGIMLXRW_cjs = require('../chunk-WGIMLXRW.cjs');
|
|
5
|
+
require('../chunk-OXUUE3HX.cjs');
|
|
6
|
+
require('../chunk-UISZWFI7.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "StimulusPanel", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkWGIMLXRW_cjs.StimulusPanel; }
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=StimulusPanel.cjs.map
|
|
15
15
|
//# sourceMappingURL=StimulusPanel.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Stimulus, InteractionEvent } from '@intellectif/lk-core';
|
|
2
|
-
import { H as HtmlSanitizer, e as RenderMode, M as MediaBudgetBinding, b as MediaTransportStrings, a as LkStringsOverride } from '../strings-
|
|
2
|
+
import { H as HtmlSanitizer, e as RenderMode, M as MediaBudgetBinding, b as MediaTransportStrings, a as LkStringsOverride } from '../strings-zY2QQYpU.cjs';
|
|
3
3
|
import '../machine-CuwKqWXC.cjs';
|
|
4
4
|
|
|
5
5
|
interface StimulusPanelProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Stimulus, InteractionEvent } from '@intellectif/lk-core';
|
|
2
|
-
import { H as HtmlSanitizer, e as RenderMode, M as MediaBudgetBinding, b as MediaTransportStrings, a as LkStringsOverride } from '../strings-
|
|
2
|
+
import { H as HtmlSanitizer, e as RenderMode, M as MediaBudgetBinding, b as MediaTransportStrings, a as LkStringsOverride } from '../strings-Dgc5-DeA.js';
|
|
3
3
|
import '../machine-CuwKqWXC.js';
|
|
4
4
|
|
|
5
5
|
interface StimulusPanelProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { StimulusPanel } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
2
|
+
export { StimulusPanel } from '../chunk-NOF6HJDV.js';
|
|
3
|
+
import '../chunk-UIGSH2XB.js';
|
|
4
|
+
import '../chunk-QIA5FAAW.js';
|
|
5
5
|
//# sourceMappingURL=StimulusPanel.js.map
|
|
6
6
|
//# sourceMappingURL=StimulusPanel.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkJYC2VV3Y_cjs = require('../chunk-JYC2VV3Y.cjs');
|
|
5
5
|
require('../chunk-BRPEB43C.cjs');
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-P5FGJMMI.cjs');
|
|
7
|
+
require('../chunk-OXUUE3HX.cjs');
|
|
8
8
|
require('../chunk-XOR4MPEN.cjs');
|
|
9
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-UISZWFI7.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "WrittenResponse", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkJYC2VV3Y_cjs.WrittenResponse; }
|
|
16
16
|
});
|
|
17
17
|
//# sourceMappingURL=WrittenResponse.cjs.map
|
|
18
18
|
//# sourceMappingURL=WrittenResponse.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { W as WrittenResponseProps } from '../WrittenResponse-
|
|
3
|
-
export { a as WrittenResponseSubmission } from '../WrittenResponse-
|
|
4
|
-
export { H as HtmlSanitizer, e as RenderMode, f as Renderable } from '../strings-
|
|
2
|
+
import { W as WrittenResponseProps } from '../WrittenResponse-C2zw-1jK.cjs';
|
|
3
|
+
export { a as WrittenResponseSubmission } from '../WrittenResponse-C2zw-1jK.cjs';
|
|
4
|
+
export { H as HtmlSanitizer, e as RenderMode, f as Renderable } from '../strings-zY2QQYpU.cjs';
|
|
5
5
|
import '@intellectif/lk-core';
|
|
6
6
|
import '../machine-CuwKqWXC.cjs';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { W as WrittenResponseProps } from '../WrittenResponse-
|
|
3
|
-
export { a as WrittenResponseSubmission } from '../WrittenResponse-
|
|
4
|
-
export { H as HtmlSanitizer, e as RenderMode, f as Renderable } from '../strings-
|
|
2
|
+
import { W as WrittenResponseProps } from '../WrittenResponse-CTiNpSCC.js';
|
|
3
|
+
export { a as WrittenResponseSubmission } from '../WrittenResponse-CTiNpSCC.js';
|
|
4
|
+
export { H as HtmlSanitizer, e as RenderMode, f as Renderable } from '../strings-Dgc5-DeA.js';
|
|
5
5
|
import '@intellectif/lk-core';
|
|
6
6
|
import '../machine-CuwKqWXC.js';
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { WrittenResponse } from '../chunk-
|
|
2
|
+
export { WrittenResponse } from '../chunk-AEUP63CZ.js';
|
|
3
3
|
import '../chunk-RCMYEWBE.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-ICAYWVNF.js';
|
|
5
|
+
import '../chunk-UIGSH2XB.js';
|
|
6
6
|
import '../chunk-6N43WDVG.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-QIA5FAAW.js';
|
|
8
8
|
//# sourceMappingURL=WrittenResponse.js.map
|
|
9
9
|
//# sourceMappingURL=WrittenResponse.js.map
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkUISZWFI7_cjs = require('../chunk-UISZWFI7.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "DEFAULT_STRINGS", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkUISZWFI7_cjs.DEFAULT_STRINGS; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "LkIntlProvider", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkUISZWFI7_cjs.LkIntlProvider; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "directionForLocale", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkUISZWFI7_cjs.directionForLocale; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "mergeStrings", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkUISZWFI7_cjs.mergeStrings; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "useLkDirection", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkUISZWFI7_cjs.useLkDirection; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "useLkStrings", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkUISZWFI7_cjs.useLkStrings; }
|
|
31
31
|
});
|
|
32
32
|
//# sourceMappingURL=LkIntlProvider.cjs.map
|
|
33
33
|
//# sourceMappingURL=LkIntlProvider.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as LkStringsOverride, L as LkStrings } from '../strings-
|
|
2
|
-
export { D as DEFAULT_STRINGS, m as mergeStrings } from '../strings-
|
|
1
|
+
import { a as LkStringsOverride, L as LkStrings } from '../strings-zY2QQYpU.cjs';
|
|
2
|
+
export { D as DEFAULT_STRINGS, m as mergeStrings } from '../strings-zY2QQYpU.cjs';
|
|
3
3
|
import '@intellectif/lk-core';
|
|
4
4
|
import '../machine-CuwKqWXC.cjs';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as LkStringsOverride, L as LkStrings } from '../strings-
|
|
2
|
-
export { D as DEFAULT_STRINGS, m as mergeStrings } from '../strings-
|
|
1
|
+
import { a as LkStringsOverride, L as LkStrings } from '../strings-Dgc5-DeA.js';
|
|
2
|
+
export { D as DEFAULT_STRINGS, m as mergeStrings } from '../strings-Dgc5-DeA.js';
|
|
3
3
|
import '@intellectif/lk-core';
|
|
4
4
|
import '../machine-CuwKqWXC.js';
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { DEFAULT_STRINGS, LkIntlProvider, directionForLocale, mergeStrings, useLkDirection, useLkStrings } from '../chunk-
|
|
2
|
+
export { DEFAULT_STRINGS, LkIntlProvider, directionForLocale, mergeStrings, useLkDirection, useLkStrings } from '../chunk-QIA5FAAW.js';
|
|
3
3
|
//# sourceMappingURL=LkIntlProvider.js.map
|
|
4
4
|
//# sourceMappingURL=LkIntlProvider.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkK63VPFOV_cjs = require('./chunk-K63VPFOV.cjs');
|
|
5
|
+
var chunkA2CPCOJA_cjs = require('./chunk-A2CPCOJA.cjs');
|
|
6
6
|
var chunkPNNUPUH4_cjs = require('./chunk-PNNUPUH4.cjs');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
7
|
+
var chunkQADR2XMQ_cjs = require('./chunk-QADR2XMQ.cjs');
|
|
8
|
+
var chunkALDGRDYD_cjs = require('./chunk-ALDGRDYD.cjs');
|
|
9
|
+
var chunkWGIMLXRW_cjs = require('./chunk-WGIMLXRW.cjs');
|
|
10
|
+
var chunkJYC2VV3Y_cjs = require('./chunk-JYC2VV3Y.cjs');
|
|
11
|
+
var chunkDMCFARGP_cjs = require('./chunk-DMCFARGP.cjs');
|
|
12
|
+
var chunkZA5QUQ2V_cjs = require('./chunk-ZA5QUQ2V.cjs');
|
|
13
|
+
var chunkRJGCT35F_cjs = require('./chunk-RJGCT35F.cjs');
|
|
14
|
+
var chunk2YZZL5FV_cjs = require('./chunk-2YZZL5FV.cjs');
|
|
15
|
+
var chunk2WM2KSO7_cjs = require('./chunk-2WM2KSO7.cjs');
|
|
16
|
+
var chunkBO64SLHL_cjs = require('./chunk-BO64SLHL.cjs');
|
|
17
17
|
var chunkUDCQTOVU_cjs = require('./chunk-UDCQTOVU.cjs');
|
|
18
18
|
require('./chunk-OD65OZIW.cjs');
|
|
19
19
|
require('./chunk-BRPEB43C.cjs');
|
|
20
|
-
require('./chunk-
|
|
21
|
-
require('./chunk-
|
|
20
|
+
require('./chunk-P5FGJMMI.cjs');
|
|
21
|
+
require('./chunk-OXUUE3HX.cjs');
|
|
22
22
|
var chunkXOR4MPEN_cjs = require('./chunk-XOR4MPEN.cjs');
|
|
23
|
-
var
|
|
23
|
+
var chunkUISZWFI7_cjs = require('./chunk-UISZWFI7.cjs');
|
|
24
24
|
|
|
25
25
|
// src/components/types.ts
|
|
26
26
|
function asRenderable(redacted) {
|
|
@@ -32,27 +32,31 @@ function asRenderableSequence(entries) {
|
|
|
32
32
|
|
|
33
33
|
Object.defineProperty(exports, "ThemeProvider", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkK63VPFOV_cjs.ThemeProvider; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "createTailwindTheme", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkK63VPFOV_cjs.createTailwindTheme; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "darkTheme", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkK63VPFOV_cjs.darkTheme; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "defaultTheme", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkK63VPFOV_cjs.defaultTheme; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "useTheme", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkK63VPFOV_cjs.useTheme; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "InteractiveVideo", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkA2CPCOJA_cjs.InteractiveVideo; }
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(exports, "resolveCaptionTracks", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () { return chunkA2CPCOJA_cjs.resolveCaptionTracks; }
|
|
56
60
|
});
|
|
57
61
|
Object.defineProperty(exports, "useXAPI", {
|
|
58
62
|
enumerable: true,
|
|
@@ -60,43 +64,43 @@ Object.defineProperty(exports, "useXAPI", {
|
|
|
60
64
|
});
|
|
61
65
|
Object.defineProperty(exports, "ActivityPreview", {
|
|
62
66
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkQADR2XMQ_cjs.ActivityPreview; }
|
|
64
68
|
});
|
|
65
69
|
Object.defineProperty(exports, "ActivitySequence", {
|
|
66
70
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkALDGRDYD_cjs.ActivitySequence; }
|
|
68
72
|
});
|
|
69
73
|
Object.defineProperty(exports, "StimulusPanel", {
|
|
70
74
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkWGIMLXRW_cjs.StimulusPanel; }
|
|
72
76
|
});
|
|
73
77
|
Object.defineProperty(exports, "WrittenResponse", {
|
|
74
78
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkJYC2VV3Y_cjs.WrittenResponse; }
|
|
76
80
|
});
|
|
77
81
|
Object.defineProperty(exports, "MultipleChoice", {
|
|
78
82
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkDMCFARGP_cjs.MultipleChoice; }
|
|
80
84
|
});
|
|
81
85
|
Object.defineProperty(exports, "FillInTheBlanks", {
|
|
82
86
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkZA5QUQ2V_cjs.FillInTheBlanks; }
|
|
84
88
|
});
|
|
85
89
|
Object.defineProperty(exports, "GapSelect", {
|
|
86
90
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkRJGCT35F_cjs.GapSelect; }
|
|
88
92
|
});
|
|
89
93
|
Object.defineProperty(exports, "Dictation", {
|
|
90
94
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunk2YZZL5FV_cjs.Dictation; }
|
|
92
96
|
});
|
|
93
97
|
Object.defineProperty(exports, "ReadAloud", {
|
|
94
98
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunk2WM2KSO7_cjs.ReadAloud; }
|
|
96
100
|
});
|
|
97
101
|
Object.defineProperty(exports, "PronunciationFeedback", {
|
|
98
102
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkBO64SLHL_cjs.PronunciationFeedback; }
|
|
100
104
|
});
|
|
101
105
|
Object.defineProperty(exports, "CAPTURE_PROCESSOR_SOURCE", {
|
|
102
106
|
enumerable: true,
|
|
@@ -112,27 +116,27 @@ Object.defineProperty(exports, "useActivityState", {
|
|
|
112
116
|
});
|
|
113
117
|
Object.defineProperty(exports, "DEFAULT_STRINGS", {
|
|
114
118
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkUISZWFI7_cjs.DEFAULT_STRINGS; }
|
|
116
120
|
});
|
|
117
121
|
Object.defineProperty(exports, "LkIntlProvider", {
|
|
118
122
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkUISZWFI7_cjs.LkIntlProvider; }
|
|
120
124
|
});
|
|
121
125
|
Object.defineProperty(exports, "directionForLocale", {
|
|
122
126
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkUISZWFI7_cjs.directionForLocale; }
|
|
124
128
|
});
|
|
125
129
|
Object.defineProperty(exports, "mergeStrings", {
|
|
126
130
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkUISZWFI7_cjs.mergeStrings; }
|
|
128
132
|
});
|
|
129
133
|
Object.defineProperty(exports, "useLkDirection", {
|
|
130
134
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkUISZWFI7_cjs.useLkDirection; }
|
|
132
136
|
});
|
|
133
137
|
Object.defineProperty(exports, "useLkStrings", {
|
|
134
138
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkUISZWFI7_cjs.useLkStrings; }
|
|
136
140
|
});
|
|
137
141
|
exports.asRenderable = asRenderable;
|
|
138
142
|
exports.asRenderableSequence = asRenderableSequence;
|
package/dist/index.d.cts
CHANGED
|
@@ -3,12 +3,12 @@ export { ActivityRenderer, ActivitySequence, ActivitySequenceProps, SequenceItem
|
|
|
3
3
|
export { Dictation, DictationProps } from './components/Dictation.cjs';
|
|
4
4
|
export { FillInTheBlanks, FillInTheBlanksProps } from './components/FillInTheBlanks.cjs';
|
|
5
5
|
export { GapSelect, GapSelectProps } from './components/GapSelect.cjs';
|
|
6
|
-
export { InteractiveVideo, InteractiveVideoProps, InteractiveVideoSlot, InteractiveVideoSummary, RenderableItemGroup } from './components/InteractiveVideo.cjs';
|
|
6
|
+
export { CaptionTracks, InteractiveVideo, InteractiveVideoProps, InteractiveVideoSlot, InteractiveVideoSummary, RenderableItemGroup, resolveCaptionTracks } from './components/InteractiveVideo.cjs';
|
|
7
7
|
export { MultipleChoice, MultipleChoiceProps } from './components/MultipleChoice.cjs';
|
|
8
8
|
export { PronunciationFeedback, PronunciationFeedbackProps } from './components/PronunciationFeedback.cjs';
|
|
9
9
|
export { ReadAloud } from './components/ReadAloud.cjs';
|
|
10
10
|
export { StimulusPanel, StimulusPanelProps } from './components/StimulusPanel.cjs';
|
|
11
|
-
export { A as ActivityProps, C as CaptionSize, D as DEFAULT_STRINGS, H as HtmlSanitizer, L as LkStrings, a as LkStringsOverride, M as MediaBudgetBinding, b as MediaTransportStrings, R as ReadAloudAssessResult, c as ReadAloudProps, d as RecordingBinding, e as RenderMode, f as Renderable, g as RenderableActivity, S as SequenceMediaBudget, h as SequenceRecordingBinding, i as SequenceRecordingSlot, V as VideoPreferences, j as asRenderable, k as asRenderableSequence, m as mergeStrings } from './strings-
|
|
11
|
+
export { A as ActivityProps, C as CaptionSize, D as DEFAULT_STRINGS, H as HtmlSanitizer, L as LkStrings, a as LkStringsOverride, M as MediaBudgetBinding, b as MediaTransportStrings, R as ReadAloudAssessResult, c as ReadAloudProps, d as RecordingBinding, e as RenderMode, f as Renderable, g as RenderableActivity, S as SequenceMediaBudget, h as SequenceRecordingBinding, i as SequenceRecordingSlot, V as VideoPreferences, j as asRenderable, k as asRenderableSequence, m as mergeStrings } from './strings-zY2QQYpU.cjs';
|
|
12
12
|
export { WrittenResponse } from './components/WrittenResponse.cjs';
|
|
13
13
|
export { ActivityState, UseActivityStateResult, useActivityState } from './hooks/useActivityState.cjs';
|
|
14
14
|
export { CAPTURE_PROCESSOR_SOURCE, SpeechRecorder, SpeechRecorderOptions, useSpeechRecorder } from './hooks/useSpeechRecorder.cjs';
|
|
@@ -16,7 +16,7 @@ export { UseXAPIResult, useXAPI } from './hooks/useXAPI.cjs';
|
|
|
16
16
|
export { LkDirection, LkIntlProvider, LkIntlProviderProps, directionForLocale, useLkDirection, useLkStrings } from './i18n/LkIntlProvider.cjs';
|
|
17
17
|
export { TailwindThemeExtension, ThemeProvider, ThemeProviderProps, createTailwindTheme, darkTheme, defaultTheme, useTheme } from './theme/ThemeProvider.cjs';
|
|
18
18
|
export { R as RecordedTake, S as SpeechRecorderError, a as SpeechRecorderStatus } from './machine-CuwKqWXC.cjs';
|
|
19
|
-
export { W as WrittenResponseProps, a as WrittenResponseSubmission } from './WrittenResponse-
|
|
19
|
+
export { W as WrittenResponseProps, a as WrittenResponseSubmission } from './WrittenResponse-C2zw-1jK.cjs';
|
|
20
20
|
import 'react/jsx-runtime';
|
|
21
21
|
import '@intellectif/lk-core';
|
|
22
22
|
import 'react';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ export { ActivityRenderer, ActivitySequence, ActivitySequenceProps, SequenceItem
|
|
|
3
3
|
export { Dictation, DictationProps } from './components/Dictation.js';
|
|
4
4
|
export { FillInTheBlanks, FillInTheBlanksProps } from './components/FillInTheBlanks.js';
|
|
5
5
|
export { GapSelect, GapSelectProps } from './components/GapSelect.js';
|
|
6
|
-
export { InteractiveVideo, InteractiveVideoProps, InteractiveVideoSlot, InteractiveVideoSummary, RenderableItemGroup } from './components/InteractiveVideo.js';
|
|
6
|
+
export { CaptionTracks, InteractiveVideo, InteractiveVideoProps, InteractiveVideoSlot, InteractiveVideoSummary, RenderableItemGroup, resolveCaptionTracks } from './components/InteractiveVideo.js';
|
|
7
7
|
export { MultipleChoice, MultipleChoiceProps } from './components/MultipleChoice.js';
|
|
8
8
|
export { PronunciationFeedback, PronunciationFeedbackProps } from './components/PronunciationFeedback.js';
|
|
9
9
|
export { ReadAloud } from './components/ReadAloud.js';
|
|
10
10
|
export { StimulusPanel, StimulusPanelProps } from './components/StimulusPanel.js';
|
|
11
|
-
export { A as ActivityProps, C as CaptionSize, D as DEFAULT_STRINGS, H as HtmlSanitizer, L as LkStrings, a as LkStringsOverride, M as MediaBudgetBinding, b as MediaTransportStrings, R as ReadAloudAssessResult, c as ReadAloudProps, d as RecordingBinding, e as RenderMode, f as Renderable, g as RenderableActivity, S as SequenceMediaBudget, h as SequenceRecordingBinding, i as SequenceRecordingSlot, V as VideoPreferences, j as asRenderable, k as asRenderableSequence, m as mergeStrings } from './strings-
|
|
11
|
+
export { A as ActivityProps, C as CaptionSize, D as DEFAULT_STRINGS, H as HtmlSanitizer, L as LkStrings, a as LkStringsOverride, M as MediaBudgetBinding, b as MediaTransportStrings, R as ReadAloudAssessResult, c as ReadAloudProps, d as RecordingBinding, e as RenderMode, f as Renderable, g as RenderableActivity, S as SequenceMediaBudget, h as SequenceRecordingBinding, i as SequenceRecordingSlot, V as VideoPreferences, j as asRenderable, k as asRenderableSequence, m as mergeStrings } from './strings-Dgc5-DeA.js';
|
|
12
12
|
export { WrittenResponse } from './components/WrittenResponse.js';
|
|
13
13
|
export { ActivityState, UseActivityStateResult, useActivityState } from './hooks/useActivityState.js';
|
|
14
14
|
export { CAPTURE_PROCESSOR_SOURCE, SpeechRecorder, SpeechRecorderOptions, useSpeechRecorder } from './hooks/useSpeechRecorder.js';
|
|
@@ -16,7 +16,7 @@ export { UseXAPIResult, useXAPI } from './hooks/useXAPI.js';
|
|
|
16
16
|
export { LkDirection, LkIntlProvider, LkIntlProviderProps, directionForLocale, useLkDirection, useLkStrings } from './i18n/LkIntlProvider.js';
|
|
17
17
|
export { TailwindThemeExtension, ThemeProvider, ThemeProviderProps, createTailwindTheme, darkTheme, defaultTheme, useTheme } from './theme/ThemeProvider.js';
|
|
18
18
|
export { R as RecordedTake, S as SpeechRecorderError, a as SpeechRecorderStatus } from './machine-CuwKqWXC.js';
|
|
19
|
-
export { W as WrittenResponseProps, a as WrittenResponseSubmission } from './WrittenResponse-
|
|
19
|
+
export { W as WrittenResponseProps, a as WrittenResponseSubmission } from './WrittenResponse-CTiNpSCC.js';
|
|
20
20
|
import 'react/jsx-runtime';
|
|
21
21
|
import '@intellectif/lk-core';
|
|
22
22
|
import 'react';
|
package/dist/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { ThemeProvider, createTailwindTheme, darkTheme, defaultTheme, useTheme } from './chunk-
|
|
3
|
-
export { InteractiveVideo } from './chunk-
|
|
2
|
+
export { ThemeProvider, createTailwindTheme, darkTheme, defaultTheme, useTheme } from './chunk-UHKZXOXD.js';
|
|
3
|
+
export { InteractiveVideo, resolveCaptionTracks } from './chunk-3IHVDQRC.js';
|
|
4
4
|
export { useXAPI } from './chunk-2TW6WLBC.js';
|
|
5
|
-
export { ActivityPreview } from './chunk-
|
|
6
|
-
export { ActivitySequence } from './chunk-
|
|
7
|
-
export { StimulusPanel } from './chunk-
|
|
8
|
-
export { WrittenResponse } from './chunk-
|
|
9
|
-
export { MultipleChoice } from './chunk-
|
|
10
|
-
export { FillInTheBlanks } from './chunk-
|
|
11
|
-
export { GapSelect } from './chunk-
|
|
12
|
-
export { Dictation } from './chunk-
|
|
13
|
-
export { ReadAloud } from './chunk-
|
|
14
|
-
export { PronunciationFeedback } from './chunk-
|
|
5
|
+
export { ActivityPreview } from './chunk-WBLRUJ77.js';
|
|
6
|
+
export { ActivitySequence } from './chunk-OOYKKO3V.js';
|
|
7
|
+
export { StimulusPanel } from './chunk-NOF6HJDV.js';
|
|
8
|
+
export { WrittenResponse } from './chunk-AEUP63CZ.js';
|
|
9
|
+
export { MultipleChoice } from './chunk-4X7NFEDB.js';
|
|
10
|
+
export { FillInTheBlanks } from './chunk-4AQ4SWJ3.js';
|
|
11
|
+
export { GapSelect } from './chunk-UYRQEIB7.js';
|
|
12
|
+
export { Dictation } from './chunk-T33AJYLW.js';
|
|
13
|
+
export { ReadAloud } from './chunk-W32ND3ZR.js';
|
|
14
|
+
export { PronunciationFeedback } from './chunk-HJLVWZOM.js';
|
|
15
15
|
export { CAPTURE_PROCESSOR_SOURCE, useSpeechRecorder } from './chunk-MCO52PV5.js';
|
|
16
16
|
import './chunk-YORQQXGO.js';
|
|
17
17
|
import './chunk-RCMYEWBE.js';
|
|
18
|
-
import './chunk-
|
|
19
|
-
import './chunk-
|
|
18
|
+
import './chunk-ICAYWVNF.js';
|
|
19
|
+
import './chunk-UIGSH2XB.js';
|
|
20
20
|
export { useActivityState } from './chunk-6N43WDVG.js';
|
|
21
|
-
export { DEFAULT_STRINGS, LkIntlProvider, directionForLocale, mergeStrings, useLkDirection, useLkStrings } from './chunk-
|
|
21
|
+
export { DEFAULT_STRINGS, LkIntlProvider, directionForLocale, mergeStrings, useLkDirection, useLkStrings } from './chunk-QIA5FAAW.js';
|
|
22
22
|
|
|
23
23
|
// src/components/types.ts
|
|
24
24
|
function asRenderable(redacted) {
|
|
@@ -10,10 +10,17 @@ interface VideoPreferences {
|
|
|
10
10
|
/** 0 to 1. */
|
|
11
11
|
volume: number;
|
|
12
12
|
muted: boolean;
|
|
13
|
-
/** Captions shown. */
|
|
13
|
+
/** Captions shown — both lines, when there are two. */
|
|
14
14
|
captions: boolean;
|
|
15
15
|
/** The caption language chosen, as a track's `srclang`; null for the default track. */
|
|
16
16
|
captionLanguage: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* A second caption language, drawn under the first, as a track's `srclang`;
|
|
19
|
+
* null for none. A learner's preference, never content: nothing about it is
|
|
20
|
+
* authored. Never the same as `captionLanguage` — a pair of one language is
|
|
21
|
+
* normalised to no second line.
|
|
22
|
+
*/
|
|
23
|
+
secondaryCaptionLanguage: string | null;
|
|
17
24
|
captionSize: CaptionSize;
|
|
18
25
|
/** A dark box behind each caption line. Off draws the text with an outline only. */
|
|
19
26
|
captionBackground: boolean;
|
|
@@ -28,7 +35,7 @@ interface VideoPreferences {
|
|
|
28
35
|
* table, so a shortcut can never be documented and not work, or work and not
|
|
29
36
|
* be documented.
|
|
30
37
|
*/
|
|
31
|
-
type VideoShortcutAction = 'play-pause' | 'jump-10' | 'jump-5' | 'jump-1' | 'frame' | 'speed' | 'percent' | 'start-end' | 'chapter' | 'mute' | 'captions' | 'transcript' | 'picture-in-picture' | 'fullscreen' | 'shortcut-list';
|
|
38
|
+
type VideoShortcutAction = 'play-pause' | 'jump-10' | 'jump-5' | 'jump-1' | 'frame' | 'speed' | 'percent' | 'start-end' | 'chapter' | 'mute' | 'captions' | 'secondary-captions' | 'transcript' | 'picture-in-picture' | 'fullscreen' | 'shortcut-list';
|
|
32
39
|
|
|
33
40
|
/**
|
|
34
41
|
* What an application's assessor came back with.
|
|
@@ -728,10 +735,22 @@ interface LkStrings {
|
|
|
728
735
|
videoCaptionsHide: string;
|
|
729
736
|
/** In the captions menu when a caption file could not be read. */
|
|
730
737
|
videoCaptionsFailed: string;
|
|
738
|
+
/** The same, for the second language: the first line keeps working. */
|
|
739
|
+
videoSecondaryCaptionsFailed: string;
|
|
731
740
|
/** A speed in the speed menu, e.g. "1.25×". */
|
|
732
741
|
videoSpeedValue: (rate: number) => string;
|
|
733
742
|
videoSettings: string;
|
|
734
743
|
videoCaptionLanguage: string;
|
|
744
|
+
/** The captions page's item, and page, for a second caption line under the first. */
|
|
745
|
+
videoSecondCaptionLanguage: string;
|
|
746
|
+
/**
|
|
747
|
+
* The captions row of the settings menu when two languages show, from the
|
|
748
|
+
* tracks' own labels: "English + Español". A translation may order them as its
|
|
749
|
+
* language reads, but the first argument is always the upper line.
|
|
750
|
+
*/
|
|
751
|
+
videoCaptionPair: (primary: string, secondary: string) => string;
|
|
752
|
+
/** Announced when Shift + C finds no other language to show. */
|
|
753
|
+
videoNoSecondLanguage: string;
|
|
735
754
|
videoCaptionSize: string;
|
|
736
755
|
videoCaptionSizeValue: (size: CaptionSize) => string;
|
|
737
756
|
videoCaptionBackground: string;
|
|
@@ -10,10 +10,17 @@ interface VideoPreferences {
|
|
|
10
10
|
/** 0 to 1. */
|
|
11
11
|
volume: number;
|
|
12
12
|
muted: boolean;
|
|
13
|
-
/** Captions shown. */
|
|
13
|
+
/** Captions shown — both lines, when there are two. */
|
|
14
14
|
captions: boolean;
|
|
15
15
|
/** The caption language chosen, as a track's `srclang`; null for the default track. */
|
|
16
16
|
captionLanguage: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* A second caption language, drawn under the first, as a track's `srclang`;
|
|
19
|
+
* null for none. A learner's preference, never content: nothing about it is
|
|
20
|
+
* authored. Never the same as `captionLanguage` — a pair of one language is
|
|
21
|
+
* normalised to no second line.
|
|
22
|
+
*/
|
|
23
|
+
secondaryCaptionLanguage: string | null;
|
|
17
24
|
captionSize: CaptionSize;
|
|
18
25
|
/** A dark box behind each caption line. Off draws the text with an outline only. */
|
|
19
26
|
captionBackground: boolean;
|
|
@@ -28,7 +35,7 @@ interface VideoPreferences {
|
|
|
28
35
|
* table, so a shortcut can never be documented and not work, or work and not
|
|
29
36
|
* be documented.
|
|
30
37
|
*/
|
|
31
|
-
type VideoShortcutAction = 'play-pause' | 'jump-10' | 'jump-5' | 'jump-1' | 'frame' | 'speed' | 'percent' | 'start-end' | 'chapter' | 'mute' | 'captions' | 'transcript' | 'picture-in-picture' | 'fullscreen' | 'shortcut-list';
|
|
38
|
+
type VideoShortcutAction = 'play-pause' | 'jump-10' | 'jump-5' | 'jump-1' | 'frame' | 'speed' | 'percent' | 'start-end' | 'chapter' | 'mute' | 'captions' | 'secondary-captions' | 'transcript' | 'picture-in-picture' | 'fullscreen' | 'shortcut-list';
|
|
32
39
|
|
|
33
40
|
/**
|
|
34
41
|
* What an application's assessor came back with.
|
|
@@ -728,10 +735,22 @@ interface LkStrings {
|
|
|
728
735
|
videoCaptionsHide: string;
|
|
729
736
|
/** In the captions menu when a caption file could not be read. */
|
|
730
737
|
videoCaptionsFailed: string;
|
|
738
|
+
/** The same, for the second language: the first line keeps working. */
|
|
739
|
+
videoSecondaryCaptionsFailed: string;
|
|
731
740
|
/** A speed in the speed menu, e.g. "1.25×". */
|
|
732
741
|
videoSpeedValue: (rate: number) => string;
|
|
733
742
|
videoSettings: string;
|
|
734
743
|
videoCaptionLanguage: string;
|
|
744
|
+
/** The captions page's item, and page, for a second caption line under the first. */
|
|
745
|
+
videoSecondCaptionLanguage: string;
|
|
746
|
+
/**
|
|
747
|
+
* The captions row of the settings menu when two languages show, from the
|
|
748
|
+
* tracks' own labels: "English + Español". A translation may order them as its
|
|
749
|
+
* language reads, but the first argument is always the upper line.
|
|
750
|
+
*/
|
|
751
|
+
videoCaptionPair: (primary: string, secondary: string) => string;
|
|
752
|
+
/** Announced when Shift + C finds no other language to show. */
|
|
753
|
+
videoNoSecondLanguage: string;
|
|
735
754
|
videoCaptionSize: string;
|
|
736
755
|
videoCaptionSizeValue: (size: CaptionSize) => string;
|
|
737
756
|
videoCaptionBackground: string;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkK63VPFOV_cjs = require('../chunk-K63VPFOV.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "ThemeProvider", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkK63VPFOV_cjs.ThemeProvider; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "createTailwindTheme", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkK63VPFOV_cjs.createTailwindTheme; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "darkTheme", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkK63VPFOV_cjs.darkTheme; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "defaultTheme", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkK63VPFOV_cjs.defaultTheme; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "useTheme", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkK63VPFOV_cjs.useTheme; }
|
|
27
27
|
});
|
|
28
28
|
//# sourceMappingURL=ThemeProvider.cjs.map
|
|
29
29
|
//# sourceMappingURL=ThemeProvider.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { ThemeProvider, createTailwindTheme, darkTheme, defaultTheme, useTheme } from '../chunk-
|
|
2
|
+
export { ThemeProvider, createTailwindTheme, darkTheme, defaultTheme, useTheme } from '../chunk-UHKZXOXD.js';
|
|
3
3
|
//# sourceMappingURL=ThemeProvider.js.map
|
|
4
4
|
//# sourceMappingURL=ThemeProvider.js.map
|
package/dist/theme/defaults.css
CHANGED
|
@@ -24,6 +24,13 @@
|
|
|
24
24
|
--lk-color-focus-ring: #18181b;
|
|
25
25
|
/* A video player's accent, drawn on its always-dark chrome. */
|
|
26
26
|
--lk-color-media-accent: #ffffff;
|
|
27
|
+
/* An interactive video's drawn captions: the first line's colour, the second
|
|
28
|
+
language's, the second line's size as a share of the first, and the
|
|
29
|
+
space between the two. */
|
|
30
|
+
--lk-iv-caption-color: #ffffff;
|
|
31
|
+
--lk-iv-caption-secondary-color: #ffe066;
|
|
32
|
+
--lk-iv-caption-secondary-scale: 0.85;
|
|
33
|
+
--lk-iv-caption-gap: 0.25em;
|
|
27
34
|
|
|
28
35
|
/* Spacing */
|
|
29
36
|
--lk-spacing-xs: 4px;
|