@intellectif/lk-react 21.0.0 → 23.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.
Files changed (166) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +4 -4
  3. package/dist/{WrittenResponse-BVPmrmQL.d.cts → WrittenResponse-CgRrjM4S.d.ts} +14 -4
  4. package/dist/{WrittenResponse-IAJvvL-g.d.ts → WrittenResponse-D2K1VW_V.d.cts} +14 -4
  5. package/dist/ai/LkAiProvider.cjs +3 -3
  6. package/dist/ai/LkAiProvider.d.cts +12 -1
  7. package/dist/ai/LkAiProvider.d.ts +12 -1
  8. package/dist/ai/LkAiProvider.js +1 -1
  9. package/dist/ai/useAiHelp.cjs +9 -5
  10. package/dist/ai/useAiHelp.d.cts +58 -3
  11. package/dist/ai/useAiHelp.d.ts +58 -3
  12. package/dist/ai/useAiHelp.js +3 -3
  13. package/dist/{chunk-M3K6BF5M.js → chunk-2OP5YHRR.js} +13 -8
  14. package/dist/chunk-2OP5YHRR.js.map +1 -0
  15. package/dist/{chunk-AY3WN4FB.js → chunk-4MXECBZT.js} +9 -9
  16. package/dist/chunk-4MXECBZT.js.map +1 -0
  17. package/dist/{chunk-EANGKAKG.cjs → chunk-54DX6SLS.cjs} +12 -2
  18. package/dist/chunk-54DX6SLS.cjs.map +1 -0
  19. package/dist/{chunk-WNDNQ6NR.js → chunk-6GQLCCGN.js} +11 -13
  20. package/dist/chunk-6GQLCCGN.js.map +1 -0
  21. package/dist/{chunk-Y4IDF5UO.cjs → chunk-6RIM5EQP.cjs} +140 -9
  22. package/dist/chunk-6RIM5EQP.cjs.map +1 -0
  23. package/dist/{chunk-NILHU555.cjs → chunk-7F2YQWMW.cjs} +17 -12
  24. package/dist/chunk-7F2YQWMW.cjs.map +1 -0
  25. package/dist/{chunk-YWJ5XJDU.cjs → chunk-B4JRBV56.cjs} +6 -6
  26. package/dist/{chunk-YWJ5XJDU.cjs.map → chunk-B4JRBV56.cjs.map} +1 -1
  27. package/dist/{chunk-CB2A56Q7.cjs → chunk-B7JU52YQ.cjs} +32 -35
  28. package/dist/chunk-B7JU52YQ.cjs.map +1 -0
  29. package/dist/{chunk-EYLBSS4Y.js → chunk-C4PSJ3ZC.js} +10 -2
  30. package/dist/chunk-C4PSJ3ZC.js.map +1 -0
  31. package/dist/{chunk-NDIKHMLJ.js → chunk-CXIP7ERK.js} +138 -8
  32. package/dist/chunk-CXIP7ERK.js.map +1 -0
  33. package/dist/{chunk-ZDDBWUUA.js → chunk-DPNCCWOV.js} +120 -27
  34. package/dist/chunk-DPNCCWOV.js.map +1 -0
  35. package/dist/{chunk-PPFVTXGJ.js → chunk-DXFCYNST.js} +11 -3
  36. package/dist/chunk-DXFCYNST.js.map +1 -0
  37. package/dist/{chunk-WXESKL75.cjs → chunk-DZ7VLLDQ.cjs} +30 -30
  38. package/dist/chunk-DZ7VLLDQ.cjs.map +1 -0
  39. package/dist/{chunk-U6SEII5V.js → chunk-E4UF4XZM.js} +4 -4
  40. package/dist/{chunk-U6SEII5V.js.map → chunk-E4UF4XZM.js.map} +1 -1
  41. package/dist/{chunk-XM5Q2ZCH.js → chunk-ERV666AR.js} +10 -13
  42. package/dist/chunk-ERV666AR.js.map +1 -0
  43. package/dist/{chunk-6SNNMVBV.cjs → chunk-FISEZBLF.cjs} +7 -7
  44. package/dist/{chunk-6SNNMVBV.cjs.map → chunk-FISEZBLF.cjs.map} +1 -1
  45. package/dist/{chunk-X4YWXZ4J.js → chunk-HYOUMTPW.js} +3 -3
  46. package/dist/{chunk-X4YWXZ4J.js.map → chunk-HYOUMTPW.js.map} +1 -1
  47. package/dist/{chunk-5Q2KFIZQ.js → chunk-HZIT24BK.js} +4 -4
  48. package/dist/{chunk-5Q2KFIZQ.js.map → chunk-HZIT24BK.js.map} +1 -1
  49. package/dist/{chunk-GPGCBDBN.cjs → chunk-IYGF7PZY.cjs} +24 -24
  50. package/dist/{chunk-GPGCBDBN.cjs.map → chunk-IYGF7PZY.cjs.map} +1 -1
  51. package/dist/{chunk-XB2AHEU5.js → chunk-JMEZYYCE.js} +11 -11
  52. package/dist/{chunk-XB2AHEU5.js.map → chunk-JMEZYYCE.js.map} +1 -1
  53. package/dist/{chunk-KRM6DX47.js → chunk-KI6DJ5ZF.js} +10 -13
  54. package/dist/chunk-KI6DJ5ZF.js.map +1 -0
  55. package/dist/{chunk-WGHMWBEJ.cjs → chunk-MXZHL4U5.cjs} +29 -31
  56. package/dist/chunk-MXZHL4U5.cjs.map +1 -0
  57. package/dist/{chunk-GHKMX5UT.cjs → chunk-NFGUJ52G.cjs} +10 -2
  58. package/dist/chunk-NFGUJ52G.cjs.map +1 -0
  59. package/dist/{chunk-W6TWQY6S.js → chunk-O7MINPKZ.js} +10 -10
  60. package/dist/chunk-O7MINPKZ.js.map +1 -0
  61. package/dist/{chunk-MPHX3Y42.cjs → chunk-OJGTJOWI.cjs} +2 -2
  62. package/dist/chunk-OJGTJOWI.cjs.map +1 -0
  63. package/dist/{chunk-W2P5RILE.cjs → chunk-PGAPZ6UE.cjs} +32 -35
  64. package/dist/chunk-PGAPZ6UE.cjs.map +1 -0
  65. package/dist/{chunk-OKEN6NJL.cjs → chunk-QAZO3ANW.cjs} +32 -32
  66. package/dist/chunk-QAZO3ANW.cjs.map +1 -0
  67. package/dist/{chunk-MCTNLUKO.js → chunk-RX3A6KIY.js} +2 -2
  68. package/dist/chunk-RX3A6KIY.js.map +1 -0
  69. package/dist/{chunk-LHFC2BCM.cjs → chunk-SHDSOOBF.cjs} +21 -21
  70. package/dist/{chunk-LHFC2BCM.cjs.map → chunk-SHDSOOBF.cjs.map} +1 -1
  71. package/dist/{chunk-U2BX2RWY.js → chunk-SPSKDNEE.js} +11 -11
  72. package/dist/{chunk-U2BX2RWY.js.map → chunk-SPSKDNEE.js.map} +1 -1
  73. package/dist/{chunk-5MO7ACSB.js → chunk-TGTP5DKF.js} +10 -10
  74. package/dist/{chunk-5MO7ACSB.js.map → chunk-TGTP5DKF.js.map} +1 -1
  75. package/dist/{chunk-GND3OBVE.js → chunk-U5VFJVQ2.js} +3 -3
  76. package/dist/{chunk-GND3OBVE.js.map → chunk-U5VFJVQ2.js.map} +1 -1
  77. package/dist/{chunk-7JBXDQTD.cjs → chunk-UKUHVCZX.cjs} +5 -5
  78. package/dist/{chunk-7JBXDQTD.cjs.map → chunk-UKUHVCZX.cjs.map} +1 -1
  79. package/dist/{chunk-M4UJBLVR.cjs → chunk-VPU6UY4O.cjs} +4 -4
  80. package/dist/{chunk-M4UJBLVR.cjs.map → chunk-VPU6UY4O.cjs.map} +1 -1
  81. package/dist/{chunk-CQ37UD4T.cjs → chunk-W6UMY7PF.cjs} +5 -5
  82. package/dist/{chunk-CQ37UD4T.cjs.map → chunk-W6UMY7PF.cjs.map} +1 -1
  83. package/dist/{chunk-GW3YIPDE.cjs → chunk-WZ2TBXVB.cjs} +18 -18
  84. package/dist/{chunk-GW3YIPDE.cjs.map → chunk-WZ2TBXVB.cjs.map} +1 -1
  85. package/dist/{chunk-XZCMUDFP.cjs → chunk-XS6OYYVR.cjs} +129 -36
  86. package/dist/chunk-XS6OYYVR.cjs.map +1 -0
  87. package/dist/{chunk-PJMXHDY5.js → chunk-XYJBRKBZ.js} +3 -3
  88. package/dist/{chunk-PJMXHDY5.js.map → chunk-XYJBRKBZ.js.map} +1 -1
  89. package/dist/components/ActivityPreview.cjs +17 -17
  90. package/dist/components/ActivityPreview.d.cts +2 -2
  91. package/dist/components/ActivityPreview.d.ts +2 -2
  92. package/dist/components/ActivityPreview.js +16 -16
  93. package/dist/components/ActivitySequence.cjs +18 -18
  94. package/dist/components/ActivitySequence.d.cts +2 -2
  95. package/dist/components/ActivitySequence.d.ts +2 -2
  96. package/dist/components/ActivitySequence.js +17 -17
  97. package/dist/components/Dictation.cjs +10 -10
  98. package/dist/components/Dictation.d.cts +1 -1
  99. package/dist/components/Dictation.d.ts +1 -1
  100. package/dist/components/Dictation.js +9 -9
  101. package/dist/components/FillInTheBlanks.cjs +10 -10
  102. package/dist/components/FillInTheBlanks.d.cts +1 -1
  103. package/dist/components/FillInTheBlanks.d.ts +1 -1
  104. package/dist/components/FillInTheBlanks.js +9 -9
  105. package/dist/components/GapSelect.cjs +10 -10
  106. package/dist/components/GapSelect.d.cts +1 -1
  107. package/dist/components/GapSelect.d.ts +1 -1
  108. package/dist/components/GapSelect.js +9 -9
  109. package/dist/components/InteractiveVideo.cjs +17 -17
  110. package/dist/components/InteractiveVideo.d.cts +2 -2
  111. package/dist/components/InteractiveVideo.d.ts +2 -2
  112. package/dist/components/InteractiveVideo.js +15 -15
  113. package/dist/components/MultipleChoice.cjs +10 -10
  114. package/dist/components/MultipleChoice.d.cts +1 -1
  115. package/dist/components/MultipleChoice.d.ts +1 -1
  116. package/dist/components/MultipleChoice.js +9 -9
  117. package/dist/components/PronunciationFeedback.cjs +5 -5
  118. package/dist/components/PronunciationFeedback.d.cts +1 -1
  119. package/dist/components/PronunciationFeedback.d.ts +1 -1
  120. package/dist/components/PronunciationFeedback.js +4 -4
  121. package/dist/components/ReadAloud.cjs +8 -8
  122. package/dist/components/ReadAloud.d.cts +2 -2
  123. package/dist/components/ReadAloud.d.ts +2 -2
  124. package/dist/components/ReadAloud.js +7 -7
  125. package/dist/components/StimulusPanel.cjs +4 -4
  126. package/dist/components/StimulusPanel.d.cts +1 -1
  127. package/dist/components/StimulusPanel.d.ts +1 -1
  128. package/dist/components/StimulusPanel.js +3 -3
  129. package/dist/components/WrittenResponse.cjs +9 -7
  130. package/dist/components/WrittenResponse.d.cts +3 -3
  131. package/dist/components/WrittenResponse.d.ts +3 -3
  132. package/dist/components/WrittenResponse.js +8 -6
  133. package/dist/i18n/LkIntlProvider.cjs +7 -7
  134. package/dist/i18n/LkIntlProvider.d.cts +2 -2
  135. package/dist/i18n/LkIntlProvider.d.ts +2 -2
  136. package/dist/i18n/LkIntlProvider.js +1 -1
  137. package/dist/index.cjs +45 -41
  138. package/dist/index.d.cts +3 -3
  139. package/dist/index.d.ts +3 -3
  140. package/dist/index.js +19 -19
  141. package/dist/theme/skin.css +23 -0
  142. package/dist/{types-Botf4Wqj.d.cts → types-CO0XLEN6.d.cts} +19 -0
  143. package/dist/{types-7lGlo0zE.d.ts → types-CrtIcRcK.d.ts} +19 -0
  144. package/package.json +3 -3
  145. package/dist/chunk-AY3WN4FB.js.map +0 -1
  146. package/dist/chunk-CB2A56Q7.cjs.map +0 -1
  147. package/dist/chunk-EANGKAKG.cjs.map +0 -1
  148. package/dist/chunk-EYLBSS4Y.js.map +0 -1
  149. package/dist/chunk-GHKMX5UT.cjs.map +0 -1
  150. package/dist/chunk-KRM6DX47.js.map +0 -1
  151. package/dist/chunk-M3K6BF5M.js.map +0 -1
  152. package/dist/chunk-MCTNLUKO.js.map +0 -1
  153. package/dist/chunk-MPHX3Y42.cjs.map +0 -1
  154. package/dist/chunk-NDIKHMLJ.js.map +0 -1
  155. package/dist/chunk-NILHU555.cjs.map +0 -1
  156. package/dist/chunk-OKEN6NJL.cjs.map +0 -1
  157. package/dist/chunk-PPFVTXGJ.js.map +0 -1
  158. package/dist/chunk-W2P5RILE.cjs.map +0 -1
  159. package/dist/chunk-W6TWQY6S.js.map +0 -1
  160. package/dist/chunk-WGHMWBEJ.cjs.map +0 -1
  161. package/dist/chunk-WNDNQ6NR.js.map +0 -1
  162. package/dist/chunk-WXESKL75.cjs.map +0 -1
  163. package/dist/chunk-XM5Q2ZCH.js.map +0 -1
  164. package/dist/chunk-XZCMUDFP.cjs.map +0 -1
  165. package/dist/chunk-Y4IDF5UO.cjs.map +0 -1
  166. package/dist/chunk-ZDDBWUUA.js.map +0 -1
@@ -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 '../types-Botf4Wqj.cjs';
2
+ import { H as HtmlSanitizer, e as RenderMode, M as MediaBudgetBinding, b as MediaTransportStrings, a as LkStringsOverride } from '../types-CO0XLEN6.cjs';
3
3
  import '../ai/LkAiProvider.cjs';
4
4
  import 'react';
5
5
  import '../machine-CuwKqWXC.cjs';
@@ -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 '../types-7lGlo0zE.js';
2
+ import { H as HtmlSanitizer, e as RenderMode, M as MediaBudgetBinding, b as MediaTransportStrings, a as LkStringsOverride } from '../types-CrtIcRcK.js';
3
3
  import '../ai/LkAiProvider.js';
4
4
  import 'react';
5
5
  import '../machine-CuwKqWXC.js';
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- export { StimulusPanel } from '../chunk-5Q2KFIZQ.js';
3
- import '../chunk-X4YWXZ4J.js';
4
- import '../chunk-EYLBSS4Y.js';
2
+ export { StimulusPanel } from '../chunk-HZIT24BK.js';
3
+ import '../chunk-HYOUMTPW.js';
4
+ import '../chunk-C4PSJ3ZC.js';
5
5
  //# sourceMappingURL=StimulusPanel.js.map
6
6
  //# sourceMappingURL=StimulusPanel.js.map
@@ -1,20 +1,22 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkXZCMUDFP_cjs = require('../chunk-XZCMUDFP.cjs');
5
- require('../chunk-M4UJBLVR.cjs');
4
+ var chunkXS6OYYVR_cjs = require('../chunk-XS6OYYVR.cjs');
5
+ require('../chunk-6RIM5EQP.cjs');
6
+ require('../chunk-OJGTJOWI.cjs');
7
+ require('../chunk-VPU6UY4O.cjs');
6
8
  require('../chunk-J2QIHZ3H.cjs');
7
- require('../chunk-6SNNMVBV.cjs');
8
- require('../chunk-EANGKAKG.cjs');
9
- require('../chunk-7JBXDQTD.cjs');
9
+ require('../chunk-FISEZBLF.cjs');
10
+ require('../chunk-54DX6SLS.cjs');
11
+ require('../chunk-UKUHVCZX.cjs');
10
12
  require('../chunk-XOR4MPEN.cjs');
11
- require('../chunk-GHKMX5UT.cjs');
13
+ require('../chunk-NFGUJ52G.cjs');
12
14
 
13
15
 
14
16
 
15
17
  Object.defineProperty(exports, "WrittenResponse", {
16
18
  enumerable: true,
17
- get: function () { return chunkXZCMUDFP_cjs.WrittenResponse; }
19
+ get: function () { return chunkXS6OYYVR_cjs.WrittenResponse; }
18
20
  });
19
21
  //# sourceMappingURL=WrittenResponse.cjs.map
20
22
  //# 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-BVPmrmQL.cjs';
3
- export { a as WrittenResponseSubmission } from '../WrittenResponse-BVPmrmQL.cjs';
4
- export { H as HtmlSanitizer, e as RenderMode, f as Renderable } from '../types-Botf4Wqj.cjs';
2
+ import { W as WrittenResponseProps } from '../WrittenResponse-D2K1VW_V.cjs';
3
+ export { a as WrittenResponseSubmission } from '../WrittenResponse-D2K1VW_V.cjs';
4
+ export { H as HtmlSanitizer, e as RenderMode, f as Renderable } from '../types-CO0XLEN6.cjs';
5
5
  import '@intellectif/lk-core';
6
6
  import '../ai/LkAiProvider.cjs';
7
7
  import 'react';
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { W as WrittenResponseProps } from '../WrittenResponse-IAJvvL-g.js';
3
- export { a as WrittenResponseSubmission } from '../WrittenResponse-IAJvvL-g.js';
4
- export { H as HtmlSanitizer, e as RenderMode, f as Renderable } from '../types-7lGlo0zE.js';
2
+ import { W as WrittenResponseProps } from '../WrittenResponse-CgRrjM4S.js';
3
+ export { a as WrittenResponseSubmission } from '../WrittenResponse-CgRrjM4S.js';
4
+ export { H as HtmlSanitizer, e as RenderMode, f as Renderable } from '../types-CrtIcRcK.js';
5
5
  import '@intellectif/lk-core';
6
6
  import '../ai/LkAiProvider.js';
7
7
  import 'react';
@@ -1,11 +1,13 @@
1
1
  'use client';
2
- export { WrittenResponse } from '../chunk-ZDDBWUUA.js';
3
- import '../chunk-PJMXHDY5.js';
2
+ export { WrittenResponse } from '../chunk-DPNCCWOV.js';
3
+ import '../chunk-CXIP7ERK.js';
4
+ import '../chunk-RX3A6KIY.js';
5
+ import '../chunk-XYJBRKBZ.js';
4
6
  import '../chunk-U4KTOH7C.js';
5
- import '../chunk-U6SEII5V.js';
6
- import '../chunk-PPFVTXGJ.js';
7
- import '../chunk-X4YWXZ4J.js';
7
+ import '../chunk-E4UF4XZM.js';
8
+ import '../chunk-DXFCYNST.js';
9
+ import '../chunk-HYOUMTPW.js';
8
10
  import '../chunk-6N43WDVG.js';
9
- import '../chunk-EYLBSS4Y.js';
11
+ import '../chunk-C4PSJ3ZC.js';
10
12
  //# sourceMappingURL=WrittenResponse.js.map
11
13
  //# sourceMappingURL=WrittenResponse.js.map
@@ -1,33 +1,33 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkGHKMX5UT_cjs = require('../chunk-GHKMX5UT.cjs');
4
+ var chunkNFGUJ52G_cjs = require('../chunk-NFGUJ52G.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "DEFAULT_STRINGS", {
9
9
  enumerable: true,
10
- get: function () { return chunkGHKMX5UT_cjs.DEFAULT_STRINGS; }
10
+ get: function () { return chunkNFGUJ52G_cjs.DEFAULT_STRINGS; }
11
11
  });
12
12
  Object.defineProperty(exports, "LkIntlProvider", {
13
13
  enumerable: true,
14
- get: function () { return chunkGHKMX5UT_cjs.LkIntlProvider; }
14
+ get: function () { return chunkNFGUJ52G_cjs.LkIntlProvider; }
15
15
  });
16
16
  Object.defineProperty(exports, "directionForLocale", {
17
17
  enumerable: true,
18
- get: function () { return chunkGHKMX5UT_cjs.directionForLocale; }
18
+ get: function () { return chunkNFGUJ52G_cjs.directionForLocale; }
19
19
  });
20
20
  Object.defineProperty(exports, "mergeStrings", {
21
21
  enumerable: true,
22
- get: function () { return chunkGHKMX5UT_cjs.mergeStrings; }
22
+ get: function () { return chunkNFGUJ52G_cjs.mergeStrings; }
23
23
  });
24
24
  Object.defineProperty(exports, "useLkDirection", {
25
25
  enumerable: true,
26
- get: function () { return chunkGHKMX5UT_cjs.useLkDirection; }
26
+ get: function () { return chunkNFGUJ52G_cjs.useLkDirection; }
27
27
  });
28
28
  Object.defineProperty(exports, "useLkStrings", {
29
29
  enumerable: true,
30
- get: function () { return chunkGHKMX5UT_cjs.useLkStrings; }
30
+ get: function () { return chunkNFGUJ52G_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 '../types-Botf4Wqj.cjs';
2
- export { D as DEFAULT_STRINGS, m as mergeStrings } from '../types-Botf4Wqj.cjs';
1
+ import { a as LkStringsOverride, L as LkStrings } from '../types-CO0XLEN6.cjs';
2
+ export { D as DEFAULT_STRINGS, m as mergeStrings } from '../types-CO0XLEN6.cjs';
3
3
  import '@intellectif/lk-core';
4
4
  import '../ai/LkAiProvider.cjs';
5
5
  import 'react';
@@ -1,5 +1,5 @@
1
- import { a as LkStringsOverride, L as LkStrings } from '../types-7lGlo0zE.js';
2
- export { D as DEFAULT_STRINGS, m as mergeStrings } from '../types-7lGlo0zE.js';
1
+ import { a as LkStringsOverride, L as LkStrings } from '../types-CrtIcRcK.js';
2
+ export { D as DEFAULT_STRINGS, m as mergeStrings } from '../types-CrtIcRcK.js';
3
3
  import '@intellectif/lk-core';
4
4
  import '../ai/LkAiProvider.js';
5
5
  import 'react';
@@ -1,4 +1,4 @@
1
1
  'use client';
2
- export { DEFAULT_STRINGS, LkIntlProvider, directionForLocale, mergeStrings, useLkDirection, useLkStrings } from '../chunk-EYLBSS4Y.js';
2
+ export { DEFAULT_STRINGS, LkIntlProvider, directionForLocale, mergeStrings, useLkDirection, useLkStrings } from '../chunk-C4PSJ3ZC.js';
3
3
  //# sourceMappingURL=LkIntlProvider.js.map
4
4
  //# sourceMappingURL=LkIntlProvider.js.map
package/dist/index.cjs CHANGED
@@ -3,29 +3,29 @@
3
3
 
4
4
  var chunkPNNUPUH4_cjs = require('./chunk-PNNUPUH4.cjs');
5
5
  var chunkK63VPFOV_cjs = require('./chunk-K63VPFOV.cjs');
6
- var chunkGPGCBDBN_cjs = require('./chunk-GPGCBDBN.cjs');
7
- var chunkGW3YIPDE_cjs = require('./chunk-GW3YIPDE.cjs');
8
- var chunkLHFC2BCM_cjs = require('./chunk-LHFC2BCM.cjs');
9
- var chunkYWJ5XJDU_cjs = require('./chunk-YWJ5XJDU.cjs');
10
- var chunkXZCMUDFP_cjs = require('./chunk-XZCMUDFP.cjs');
11
- var chunkOKEN6NJL_cjs = require('./chunk-OKEN6NJL.cjs');
12
- var chunkW2P5RILE_cjs = require('./chunk-W2P5RILE.cjs');
13
- var chunkCB2A56Q7_cjs = require('./chunk-CB2A56Q7.cjs');
14
- var chunkWGHMWBEJ_cjs = require('./chunk-WGHMWBEJ.cjs');
15
- require('./chunk-CQ37UD4T.cjs');
16
- var chunkY4IDF5UO_cjs = require('./chunk-Y4IDF5UO.cjs');
17
- var chunkMPHX3Y42_cjs = require('./chunk-MPHX3Y42.cjs');
18
- var chunkWXESKL75_cjs = require('./chunk-WXESKL75.cjs');
19
- var chunkNILHU555_cjs = require('./chunk-NILHU555.cjs');
6
+ var chunkIYGF7PZY_cjs = require('./chunk-IYGF7PZY.cjs');
7
+ var chunkWZ2TBXVB_cjs = require('./chunk-WZ2TBXVB.cjs');
8
+ var chunkSHDSOOBF_cjs = require('./chunk-SHDSOOBF.cjs');
9
+ var chunkB4JRBV56_cjs = require('./chunk-B4JRBV56.cjs');
10
+ var chunkXS6OYYVR_cjs = require('./chunk-XS6OYYVR.cjs');
11
+ var chunkQAZO3ANW_cjs = require('./chunk-QAZO3ANW.cjs');
12
+ var chunkPGAPZ6UE_cjs = require('./chunk-PGAPZ6UE.cjs');
13
+ var chunkB7JU52YQ_cjs = require('./chunk-B7JU52YQ.cjs');
14
+ var chunkMXZHL4U5_cjs = require('./chunk-MXZHL4U5.cjs');
15
+ require('./chunk-W6UMY7PF.cjs');
16
+ var chunk6RIM5EQP_cjs = require('./chunk-6RIM5EQP.cjs');
17
+ var chunkOJGTJOWI_cjs = require('./chunk-OJGTJOWI.cjs');
18
+ var chunkDZ7VLLDQ_cjs = require('./chunk-DZ7VLLDQ.cjs');
19
+ var chunk7F2YQWMW_cjs = require('./chunk-7F2YQWMW.cjs');
20
20
  var chunkUDCQTOVU_cjs = require('./chunk-UDCQTOVU.cjs');
21
21
  require('./chunk-OD65OZIW.cjs');
22
- require('./chunk-M4UJBLVR.cjs');
22
+ require('./chunk-VPU6UY4O.cjs');
23
23
  require('./chunk-J2QIHZ3H.cjs');
24
- require('./chunk-6SNNMVBV.cjs');
25
- require('./chunk-EANGKAKG.cjs');
26
- require('./chunk-7JBXDQTD.cjs');
24
+ require('./chunk-FISEZBLF.cjs');
25
+ require('./chunk-54DX6SLS.cjs');
26
+ require('./chunk-UKUHVCZX.cjs');
27
27
  var chunkXOR4MPEN_cjs = require('./chunk-XOR4MPEN.cjs');
28
- var chunkGHKMX5UT_cjs = require('./chunk-GHKMX5UT.cjs');
28
+ var chunkNFGUJ52G_cjs = require('./chunk-NFGUJ52G.cjs');
29
29
 
30
30
  // src/components/types.ts
31
31
  function asRenderable(redacted) {
@@ -61,67 +61,71 @@ Object.defineProperty(exports, "useTheme", {
61
61
  });
62
62
  Object.defineProperty(exports, "InteractiveVideo", {
63
63
  enumerable: true,
64
- get: function () { return chunkGPGCBDBN_cjs.InteractiveVideo; }
64
+ get: function () { return chunkIYGF7PZY_cjs.InteractiveVideo; }
65
65
  });
66
66
  Object.defineProperty(exports, "resolveCaptionTracks", {
67
67
  enumerable: true,
68
- get: function () { return chunkGPGCBDBN_cjs.resolveCaptionTracks; }
68
+ get: function () { return chunkIYGF7PZY_cjs.resolveCaptionTracks; }
69
69
  });
70
70
  Object.defineProperty(exports, "ActivityPreview", {
71
71
  enumerable: true,
72
- get: function () { return chunkGW3YIPDE_cjs.ActivityPreview; }
72
+ get: function () { return chunkWZ2TBXVB_cjs.ActivityPreview; }
73
73
  });
74
74
  Object.defineProperty(exports, "ActivitySequence", {
75
75
  enumerable: true,
76
- get: function () { return chunkLHFC2BCM_cjs.ActivitySequence; }
76
+ get: function () { return chunkSHDSOOBF_cjs.ActivitySequence; }
77
77
  });
78
78
  Object.defineProperty(exports, "StimulusPanel", {
79
79
  enumerable: true,
80
- get: function () { return chunkYWJ5XJDU_cjs.StimulusPanel; }
80
+ get: function () { return chunkB4JRBV56_cjs.StimulusPanel; }
81
81
  });
82
82
  Object.defineProperty(exports, "WrittenResponse", {
83
83
  enumerable: true,
84
- get: function () { return chunkXZCMUDFP_cjs.WrittenResponse; }
84
+ get: function () { return chunkXS6OYYVR_cjs.WrittenResponse; }
85
85
  });
86
86
  Object.defineProperty(exports, "MultipleChoice", {
87
87
  enumerable: true,
88
- get: function () { return chunkOKEN6NJL_cjs.MultipleChoice; }
88
+ get: function () { return chunkQAZO3ANW_cjs.MultipleChoice; }
89
89
  });
90
90
  Object.defineProperty(exports, "FillInTheBlanks", {
91
91
  enumerable: true,
92
- get: function () { return chunkW2P5RILE_cjs.FillInTheBlanks; }
92
+ get: function () { return chunkPGAPZ6UE_cjs.FillInTheBlanks; }
93
93
  });
94
94
  Object.defineProperty(exports, "GapSelect", {
95
95
  enumerable: true,
96
- get: function () { return chunkCB2A56Q7_cjs.GapSelect; }
96
+ get: function () { return chunkB7JU52YQ_cjs.GapSelect; }
97
97
  });
98
98
  Object.defineProperty(exports, "Dictation", {
99
99
  enumerable: true,
100
- get: function () { return chunkWGHMWBEJ_cjs.Dictation; }
100
+ get: function () { return chunkMXZHL4U5_cjs.Dictation; }
101
101
  });
102
102
  Object.defineProperty(exports, "useAiExplanation", {
103
103
  enumerable: true,
104
- get: function () { return chunkY4IDF5UO_cjs.useAiExplanation; }
104
+ get: function () { return chunk6RIM5EQP_cjs.useAiExplanation; }
105
105
  });
106
106
  Object.defineProperty(exports, "useAiHints", {
107
107
  enumerable: true,
108
- get: function () { return chunkY4IDF5UO_cjs.useAiHints; }
108
+ get: function () { return chunk6RIM5EQP_cjs.useAiHints; }
109
+ });
110
+ Object.defineProperty(exports, "useAiWritingFeedback", {
111
+ enumerable: true,
112
+ get: function () { return chunk6RIM5EQP_cjs.useAiWritingFeedback; }
109
113
  });
110
114
  Object.defineProperty(exports, "LkAiProvider", {
111
115
  enumerable: true,
112
- get: function () { return chunkMPHX3Y42_cjs.LkAiProvider; }
116
+ get: function () { return chunkOJGTJOWI_cjs.LkAiProvider; }
113
117
  });
114
118
  Object.defineProperty(exports, "useLearnerAi", {
115
119
  enumerable: true,
116
- get: function () { return chunkMPHX3Y42_cjs.useLearnerAi; }
120
+ get: function () { return chunkOJGTJOWI_cjs.useLearnerAi; }
117
121
  });
118
122
  Object.defineProperty(exports, "ReadAloud", {
119
123
  enumerable: true,
120
- get: function () { return chunkWXESKL75_cjs.ReadAloud; }
124
+ get: function () { return chunkDZ7VLLDQ_cjs.ReadAloud; }
121
125
  });
122
126
  Object.defineProperty(exports, "PronunciationFeedback", {
123
127
  enumerable: true,
124
- get: function () { return chunkNILHU555_cjs.PronunciationFeedback; }
128
+ get: function () { return chunk7F2YQWMW_cjs.PronunciationFeedback; }
125
129
  });
126
130
  Object.defineProperty(exports, "CAPTURE_PROCESSOR_SOURCE", {
127
131
  enumerable: true,
@@ -137,27 +141,27 @@ Object.defineProperty(exports, "useActivityState", {
137
141
  });
138
142
  Object.defineProperty(exports, "DEFAULT_STRINGS", {
139
143
  enumerable: true,
140
- get: function () { return chunkGHKMX5UT_cjs.DEFAULT_STRINGS; }
144
+ get: function () { return chunkNFGUJ52G_cjs.DEFAULT_STRINGS; }
141
145
  });
142
146
  Object.defineProperty(exports, "LkIntlProvider", {
143
147
  enumerable: true,
144
- get: function () { return chunkGHKMX5UT_cjs.LkIntlProvider; }
148
+ get: function () { return chunkNFGUJ52G_cjs.LkIntlProvider; }
145
149
  });
146
150
  Object.defineProperty(exports, "directionForLocale", {
147
151
  enumerable: true,
148
- get: function () { return chunkGHKMX5UT_cjs.directionForLocale; }
152
+ get: function () { return chunkNFGUJ52G_cjs.directionForLocale; }
149
153
  });
150
154
  Object.defineProperty(exports, "mergeStrings", {
151
155
  enumerable: true,
152
- get: function () { return chunkGHKMX5UT_cjs.mergeStrings; }
156
+ get: function () { return chunkNFGUJ52G_cjs.mergeStrings; }
153
157
  });
154
158
  Object.defineProperty(exports, "useLkDirection", {
155
159
  enumerable: true,
156
- get: function () { return chunkGHKMX5UT_cjs.useLkDirection; }
160
+ get: function () { return chunkNFGUJ52G_cjs.useLkDirection; }
157
161
  });
158
162
  Object.defineProperty(exports, "useLkStrings", {
159
163
  enumerable: true,
160
- get: function () { return chunkGHKMX5UT_cjs.useLkStrings; }
164
+ get: function () { return chunkNFGUJ52G_cjs.useLkStrings; }
161
165
  });
162
166
  exports.asRenderable = asRenderable;
163
167
  exports.asRenderableSequence = asRenderableSequence;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { LearnerAi, LkAiProvider, LkAiProviderProps, useLearnerAi } from './ai/LkAiProvider.cjs';
2
- export { AiExplanationHelp, AiExplanationInput, AiHelpSituation, AiHintsHelp, AiHintsInput, useAiExplanation, useAiHints } from './ai/useAiHelp.cjs';
2
+ export { AiExplanationHelp, AiExplanationInput, AiHelpSituation, AiHintsHelp, AiHintsInput, AiWritingFeedbackHelp, AiWritingFeedbackInput, useAiExplanation, useAiHints, useAiWritingFeedback } from './ai/useAiHelp.cjs';
3
3
  export { ActivityPreview, ActivityPreviewProps } from './components/ActivityPreview.cjs';
4
4
  export { ActivityRenderer, ActivitySequence, ActivitySequenceProps, SequenceItemOutcome, SequenceQuestion } from './components/ActivitySequence.cjs';
5
5
  export { Dictation, DictationProps } from './components/Dictation.cjs';
@@ -10,7 +10,7 @@ export { MultipleChoice, MultipleChoiceProps } from './components/MultipleChoice
10
10
  export { PronunciationFeedback, PronunciationFeedbackProps } from './components/PronunciationFeedback.cjs';
11
11
  export { ReadAloud } from './components/ReadAloud.cjs';
12
12
  export { StimulusPanel, StimulusPanelProps } from './components/StimulusPanel.cjs';
13
- 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 './types-Botf4Wqj.cjs';
13
+ 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 './types-CO0XLEN6.cjs';
14
14
  export { WrittenResponse } from './components/WrittenResponse.cjs';
15
15
  export { ActivityState, UseActivityStateResult, useActivityState } from './hooks/useActivityState.cjs';
16
16
  export { CAPTURE_PROCESSOR_SOURCE, SpeechRecorder, SpeechRecorderOptions, useSpeechRecorder } from './hooks/useSpeechRecorder.cjs';
@@ -18,7 +18,7 @@ export { UseXAPIResult, useXAPI } from './hooks/useXAPI.cjs';
18
18
  export { LkDirection, LkIntlProvider, LkIntlProviderProps, directionForLocale, useLkDirection, useLkStrings } from './i18n/LkIntlProvider.cjs';
19
19
  export { TailwindThemeExtension, ThemeProvider, ThemeProviderProps, createTailwindTheme, darkTheme, defaultTheme, useTheme } from './theme/ThemeProvider.cjs';
20
20
  export { R as RecordedTake, S as SpeechRecorderError, a as SpeechRecorderStatus } from './machine-CuwKqWXC.cjs';
21
- export { W as WrittenResponseProps, a as WrittenResponseSubmission } from './WrittenResponse-BVPmrmQL.cjs';
21
+ export { W as WrittenResponseProps, a as WrittenResponseSubmission } from './WrittenResponse-D2K1VW_V.cjs';
22
22
  import '@intellectif/lk-core';
23
23
  import 'react';
24
24
  import 'react/jsx-runtime';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { LearnerAi, LkAiProvider, LkAiProviderProps, useLearnerAi } from './ai/LkAiProvider.js';
2
- export { AiExplanationHelp, AiExplanationInput, AiHelpSituation, AiHintsHelp, AiHintsInput, useAiExplanation, useAiHints } from './ai/useAiHelp.js';
2
+ export { AiExplanationHelp, AiExplanationInput, AiHelpSituation, AiHintsHelp, AiHintsInput, AiWritingFeedbackHelp, AiWritingFeedbackInput, useAiExplanation, useAiHints, useAiWritingFeedback } from './ai/useAiHelp.js';
3
3
  export { ActivityPreview, ActivityPreviewProps } from './components/ActivityPreview.js';
4
4
  export { ActivityRenderer, ActivitySequence, ActivitySequenceProps, SequenceItemOutcome, SequenceQuestion } from './components/ActivitySequence.js';
5
5
  export { Dictation, DictationProps } from './components/Dictation.js';
@@ -10,7 +10,7 @@ export { MultipleChoice, MultipleChoiceProps } from './components/MultipleChoice
10
10
  export { PronunciationFeedback, PronunciationFeedbackProps } from './components/PronunciationFeedback.js';
11
11
  export { ReadAloud } from './components/ReadAloud.js';
12
12
  export { StimulusPanel, StimulusPanelProps } from './components/StimulusPanel.js';
13
- 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 './types-7lGlo0zE.js';
13
+ 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 './types-CrtIcRcK.js';
14
14
  export { WrittenResponse } from './components/WrittenResponse.js';
15
15
  export { ActivityState, UseActivityStateResult, useActivityState } from './hooks/useActivityState.js';
16
16
  export { CAPTURE_PROCESSOR_SOURCE, SpeechRecorder, SpeechRecorderOptions, useSpeechRecorder } from './hooks/useSpeechRecorder.js';
@@ -18,7 +18,7 @@ export { UseXAPIResult, useXAPI } from './hooks/useXAPI.js';
18
18
  export { LkDirection, LkIntlProvider, LkIntlProviderProps, directionForLocale, useLkDirection, useLkStrings } from './i18n/LkIntlProvider.js';
19
19
  export { TailwindThemeExtension, ThemeProvider, ThemeProviderProps, createTailwindTheme, darkTheme, defaultTheme, useTheme } from './theme/ThemeProvider.js';
20
20
  export { R as RecordedTake, S as SpeechRecorderError, a as SpeechRecorderStatus } from './machine-CuwKqWXC.js';
21
- export { W as WrittenResponseProps, a as WrittenResponseSubmission } from './WrittenResponse-IAJvvL-g.js';
21
+ export { W as WrittenResponseProps, a as WrittenResponseSubmission } from './WrittenResponse-CgRrjM4S.js';
22
22
  import '@intellectif/lk-core';
23
23
  import 'react';
24
24
  import 'react/jsx-runtime';
package/dist/index.js CHANGED
@@ -1,29 +1,29 @@
1
1
  'use client';
2
2
  export { useXAPI } from './chunk-2TW6WLBC.js';
3
3
  export { ThemeProvider, createTailwindTheme, darkTheme, defaultTheme, useTheme } from './chunk-UHKZXOXD.js';
4
- export { InteractiveVideo, resolveCaptionTracks } from './chunk-XB2AHEU5.js';
5
- export { ActivityPreview } from './chunk-5MO7ACSB.js';
6
- export { ActivitySequence } from './chunk-U2BX2RWY.js';
7
- export { StimulusPanel } from './chunk-5Q2KFIZQ.js';
8
- export { WrittenResponse } from './chunk-ZDDBWUUA.js';
9
- export { MultipleChoice } from './chunk-W6TWQY6S.js';
10
- export { FillInTheBlanks } from './chunk-KRM6DX47.js';
11
- export { GapSelect } from './chunk-XM5Q2ZCH.js';
12
- export { Dictation } from './chunk-WNDNQ6NR.js';
13
- import './chunk-GND3OBVE.js';
14
- export { useAiExplanation, useAiHints } from './chunk-NDIKHMLJ.js';
15
- export { LkAiProvider, useLearnerAi } from './chunk-MCTNLUKO.js';
16
- export { ReadAloud } from './chunk-AY3WN4FB.js';
17
- export { PronunciationFeedback } from './chunk-M3K6BF5M.js';
4
+ export { InteractiveVideo, resolveCaptionTracks } from './chunk-JMEZYYCE.js';
5
+ export { ActivityPreview } from './chunk-TGTP5DKF.js';
6
+ export { ActivitySequence } from './chunk-SPSKDNEE.js';
7
+ export { StimulusPanel } from './chunk-HZIT24BK.js';
8
+ export { WrittenResponse } from './chunk-DPNCCWOV.js';
9
+ export { MultipleChoice } from './chunk-O7MINPKZ.js';
10
+ export { FillInTheBlanks } from './chunk-KI6DJ5ZF.js';
11
+ export { GapSelect } from './chunk-ERV666AR.js';
12
+ export { Dictation } from './chunk-6GQLCCGN.js';
13
+ import './chunk-U5VFJVQ2.js';
14
+ export { useAiExplanation, useAiHints, useAiWritingFeedback } from './chunk-CXIP7ERK.js';
15
+ export { LkAiProvider, useLearnerAi } from './chunk-RX3A6KIY.js';
16
+ export { ReadAloud } from './chunk-4MXECBZT.js';
17
+ export { PronunciationFeedback } from './chunk-2OP5YHRR.js';
18
18
  export { CAPTURE_PROCESSOR_SOURCE, useSpeechRecorder } from './chunk-MCO52PV5.js';
19
19
  import './chunk-YORQQXGO.js';
20
- import './chunk-PJMXHDY5.js';
20
+ import './chunk-XYJBRKBZ.js';
21
21
  import './chunk-U4KTOH7C.js';
22
- import './chunk-U6SEII5V.js';
23
- import './chunk-PPFVTXGJ.js';
24
- import './chunk-X4YWXZ4J.js';
22
+ import './chunk-E4UF4XZM.js';
23
+ import './chunk-DXFCYNST.js';
24
+ import './chunk-HYOUMTPW.js';
25
25
  export { useActivityState } from './chunk-6N43WDVG.js';
26
- export { DEFAULT_STRINGS, LkIntlProvider, directionForLocale, mergeStrings, useLkDirection, useLkStrings } from './chunk-EYLBSS4Y.js';
26
+ export { DEFAULT_STRINGS, LkIntlProvider, directionForLocale, mergeStrings, useLkDirection, useLkStrings } from './chunk-C4PSJ3ZC.js';
27
27
 
28
28
  // src/components/types.ts
29
29
  function asRenderable(redacted) {
@@ -3421,6 +3421,29 @@
3421
3421
  font-weight: 600;
3422
3422
  }
3423
3423
 
3424
+ /* Feedback on a draft holds lists as well as text: it takes the width of
3425
+ the answer it is about — the live region around it included, which would
3426
+ otherwise shrink to its content — and the panel spaces its parts, rather
3427
+ than each part's own margins. */
3428
+ .lk-wr-ai > [aria-live] {
3429
+ align-self: stretch;
3430
+ }
3431
+
3432
+ .lk-wr-ai .lk-ai-panel {
3433
+ display: flex;
3434
+ flex-direction: column;
3435
+ gap: var(--lk-spacing-sm);
3436
+ }
3437
+
3438
+ .lk-wr-ai .lk-ai-panel > * {
3439
+ margin: 0;
3440
+ }
3441
+
3442
+ .lk-wr-indicative {
3443
+ font-size: var(--lk-font-size-sm);
3444
+ font-weight: 600;
3445
+ }
3446
+
3424
3447
  @media (prefers-reduced-motion: reduce) {
3425
3448
  .lk-ai-button {
3426
3449
  transition: none;
@@ -437,6 +437,25 @@ interface LkStrings {
437
437
  aiNoMoreHints: string;
438
438
  /** Beneath every AI text: who wrote it. */
439
439
  aiNotice: string;
440
+ /** The button that asks for feedback on a draft of a written response. */
441
+ aiWritingFeedback: string;
442
+ /** The same button while the feedback is being written. */
443
+ aiWritingFeedbackLoading: string;
444
+ /** The heading over feedback on a draft, and its accessible name. */
445
+ aiWritingFeedbackHeading: string;
446
+ /** When no feedback can be shown: the port failed, or its feedback was refused. */
447
+ aiWritingFeedbackUnavailable: string;
448
+ /** In place of the feedback button once the learner has used every request. */
449
+ aiNoMoreWritingFeedback: string;
450
+ /** Above feedback the learner has revised the draft since: its corrections may be out of date. */
451
+ aiWritingFeedbackOutdated: string;
452
+ /** The accessible name of the list of corrections the feedback suggests. */
453
+ aiCorrections: string;
454
+ /**
455
+ * The rubric's weighted total of a model's judgements of a draft, as a whole
456
+ * percentage — said to be an indication and not a grade, which it is not.
457
+ */
458
+ aiIndicativeScore: (percent: number) => string;
440
459
  /**
441
460
  * The listening-paper transport. Shipped in 0.8.0 as its own `mediaStrings`
442
461
  * prop, which still works — this is the same shape, reachable from the one
@@ -437,6 +437,25 @@ interface LkStrings {
437
437
  aiNoMoreHints: string;
438
438
  /** Beneath every AI text: who wrote it. */
439
439
  aiNotice: string;
440
+ /** The button that asks for feedback on a draft of a written response. */
441
+ aiWritingFeedback: string;
442
+ /** The same button while the feedback is being written. */
443
+ aiWritingFeedbackLoading: string;
444
+ /** The heading over feedback on a draft, and its accessible name. */
445
+ aiWritingFeedbackHeading: string;
446
+ /** When no feedback can be shown: the port failed, or its feedback was refused. */
447
+ aiWritingFeedbackUnavailable: string;
448
+ /** In place of the feedback button once the learner has used every request. */
449
+ aiNoMoreWritingFeedback: string;
450
+ /** Above feedback the learner has revised the draft since: its corrections may be out of date. */
451
+ aiWritingFeedbackOutdated: string;
452
+ /** The accessible name of the list of corrections the feedback suggests. */
453
+ aiCorrections: string;
454
+ /**
455
+ * The rubric's weighted total of a model's judgements of a draft, as a whole
456
+ * percentage — said to be an indication and not a grade, which it is not.
457
+ */
458
+ aiIndicativeScore: (percent: number) => string;
440
459
  /**
441
460
  * The listening-paper transport. Shipped in 0.8.0 as its own `mediaStrings`
442
461
  * prop, which still works — this is the same shape, reachable from the one
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intellectif/lk-react",
3
- "version": "21.0.0",
3
+ "version": "23.0.0",
4
4
  "description": "Accessible React 19 assessment components — multiple choice, fill-in-the-blanks, written response — with a resumable exam/review pager, theming, and xAPI delivery.",
5
5
  "keywords": [
6
6
  "react",
@@ -237,7 +237,7 @@
237
237
  "peerDependencies": {
238
238
  "react": "^19",
239
239
  "react-dom": "^19",
240
- "@intellectif/lk-core": "^0.21.0"
240
+ "@intellectif/lk-core": "^1.0.0"
241
241
  },
242
242
  "devDependencies": {
243
243
  "@axe-core/react": "^4.10.0",
@@ -256,7 +256,7 @@
256
256
  "tsup": "^8.3.0",
257
257
  "vitest": "^4.1.6",
258
258
  "vitest-axe": "^0.1.0",
259
- "@intellectif/lk-core": "0.21.0"
259
+ "@intellectif/lk-core": "1.0.0"
260
260
  },
261
261
  "license": "MIT",
262
262
  "engines": {