lido-player 0.0.2-beta-14 → 0.0.2-beta-15-dev

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 (229) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/{decode-BLUeYhas.js → decode-Xh5IDmFh.js} +1 -1
  3. package/dist/cjs/{index-CNWniNnt.js → index-B9AON0kM.js} +206 -86
  4. package/dist/cjs/{index-CS8kGcZo.js → index-Dy19zuTX.js} +1 -1
  5. package/dist/cjs/index.cjs.js +2 -2
  6. package/dist/cjs/lido-avatar_22.cjs.entry.js +73 -50
  7. package/dist/cjs/lido-player.cjs.js +2 -2
  8. package/dist/cjs/loader.cjs.js +2 -2
  9. package/dist/collection/components/avatar/lido-avatar.css +4 -4
  10. package/dist/collection/components/avatar/lido-avatar.js +1 -1
  11. package/dist/collection/components/avatar/lido-avatar.tsx +207 -207
  12. package/dist/collection/components/avatar/readme.md +49 -49
  13. package/dist/collection/components/calculator/lido-calculator.css +89 -89
  14. package/dist/collection/components/calculator/lido-calculator.js +2 -2
  15. package/dist/collection/components/canvas/lido-canvas.css +33 -33
  16. package/dist/collection/components/canvas/lido-canvas.js +1 -1
  17. package/dist/collection/components/cell/lido-cell.css +100 -100
  18. package/dist/collection/components/cell/lido-cell.js +12 -12
  19. package/dist/collection/components/column/lido-col.css +19 -19
  20. package/dist/collection/components/column/lido-col.js +6 -6
  21. package/dist/collection/components/container/lido-container.css +10 -10
  22. package/dist/collection/components/container/lido-container.js +9 -9
  23. package/dist/collection/components/flashCard/lido-flash-card.css +28 -28
  24. package/dist/collection/components/flashCard/lido-flash-card.js +4 -4
  25. package/dist/collection/components/float/lido-float.css +30 -30
  26. package/dist/collection/components/float/lido-float.js +2 -2
  27. package/dist/collection/components/home/lido-home.css +309 -309
  28. package/dist/collection/components/home/lido-home.js +5 -5
  29. package/dist/collection/components/image/lido-image.css +17 -17
  30. package/dist/collection/components/image/lido-image.js +6 -6
  31. package/dist/collection/components/keyboard/lido-keyboard.css +38 -38
  32. package/dist/collection/components/keyboard/lido-keyboard.js +3 -3
  33. package/dist/collection/components/mathMatrix/lido-math-matrix.css +56 -56
  34. package/dist/collection/components/mathMatrix/lido-math-matrix.js +1 -1
  35. package/dist/collection/components/position/lido-pos.css +16 -16
  36. package/dist/collection/components/position/lido-pos.js +2 -2
  37. package/dist/collection/components/random/lido-random.css +8 -8
  38. package/dist/collection/components/random/lido-random.js +2 -2
  39. package/dist/collection/components/root/lido-root.js +5 -5
  40. package/dist/collection/components/row/lido-row.css +10 -10
  41. package/dist/collection/components/row/lido-row.js +6 -6
  42. package/dist/collection/components/scale/lido-balance.css +145 -145
  43. package/dist/collection/components/scale/lido-balance.js +13 -13
  44. package/dist/collection/components/shape/lido-shape.css +216 -216
  45. package/dist/collection/components/shape/lido-shape.js +6 -6
  46. package/dist/collection/components/slideFill/lido-slide-fill.css +3 -3
  47. package/dist/collection/components/slideFill/lido-slide-fill.js +13 -13
  48. package/dist/collection/components/text/lido-text.css +53 -53
  49. package/dist/collection/components/text/lido-text.js +29 -5
  50. package/dist/collection/components/trace/lido-trace.css +97 -97
  51. package/dist/collection/components/trace/lido-trace.js +2 -2
  52. package/dist/collection/components/wrap/lido-wrap.css +18 -18
  53. package/dist/collection/components/wrap/lido-wrap.js +6 -6
  54. package/dist/collection/css/animation.css +211 -211
  55. package/dist/collection/css/index.css +312 -312
  56. package/dist/collection/stories/Templates/Fill-Up/fill-up.stories.js +61 -61
  57. package/dist/collection/stories/Templates/LetterPairing/LetterPairing.stories.js +123 -123
  58. package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +48 -48
  59. package/dist/collection/stories/Templates/Tag/tagGame.stories.js +39 -39
  60. package/dist/collection/stories/Templates/arrangeLetters/arrangeLetters.stories.js +44 -44
  61. package/dist/collection/stories/Templates/balancing/balancing.stories.js +35 -35
  62. package/dist/collection/stories/Templates/balloonPop/balloonPop.stories.js +38 -38
  63. package/dist/collection/stories/Templates/blender/blender.stories.js +58 -58
  64. package/dist/collection/stories/Templates/bubbleType/bubbleType.stories.js +42 -42
  65. package/dist/collection/stories/Templates/calculator/calculator.stories.js +28 -28
  66. package/dist/collection/stories/Templates/categorize/categorize.stories.js +37 -37
  67. package/dist/collection/stories/Templates/categorize2/categorize2.stories.js +67 -67
  68. package/dist/collection/stories/Templates/checker-block/checkerBlock.stories.js +29 -29
  69. package/dist/collection/stories/Templates/checkerBlock/checkerBlock.stories.js +13 -13
  70. package/dist/collection/stories/Templates/create-sentence/createSentence.stories.js +74 -74
  71. package/dist/collection/stories/Templates/dragAndDrop/drag-drop.stories.js +69 -69
  72. package/dist/collection/stories/Templates/fillAnswer/fill-answer.stories.js +43 -43
  73. package/dist/collection/stories/Templates/fillBlank/fill-blank.stories.js +282 -282
  74. package/dist/collection/stories/Templates/foodJar/food-jar.stories.js +35 -35
  75. package/dist/collection/stories/Templates/grid/grid.stories.js +118 -118
  76. package/dist/collection/stories/Templates/gridGame/grid-game.stories.js +57 -57
  77. package/dist/collection/stories/Templates/imageMatch/imageMatch.stories.js +44 -44
  78. package/dist/collection/stories/Templates/jumpSentence/jumpSentence.stories.js +41 -41
  79. package/dist/collection/stories/Templates/letterboard/letterboard.stories.js +183 -183
  80. package/dist/collection/stories/Templates/makeSentence/make-sentence.stories.js +36 -36
  81. package/dist/collection/stories/Templates/matchBox/matchBox.stories.js +69 -69
  82. package/dist/collection/stories/Templates/matchBox/matchBox2.stories.js +84 -84
  83. package/dist/collection/stories/Templates/matchingCard/matching-card.stories.js +31 -31
  84. package/dist/collection/stories/Templates/multipleOption/mcqWithQuestionImage.stories.js +112 -112
  85. package/dist/collection/stories/Templates/multipleOption/multiple-option.stories.js +47 -47
  86. package/dist/collection/stories/Templates/multiplyBeeds/multiplyBeeds.stories.js +57 -57
  87. package/dist/collection/stories/Templates/nimbleTable/nimbleTable.stories.js +53 -53
  88. package/dist/collection/stories/Templates/numberBoard/numberBoard.stories.js +46 -46
  89. package/dist/collection/stories/Templates/numberBoardTwo/numberBoardTwo.stories.js +45 -45
  90. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.js +56 -56
  91. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.js +53 -53
  92. package/dist/collection/stories/Templates/numberPair/numberPair.stories.js +127 -127
  93. package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +47 -47
  94. package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +38 -38
  95. package/dist/collection/stories/Templates/order-tractor/order-tractor-ascending-order.stories.js +97 -97
  96. package/dist/collection/stories/Templates/order-tractor/order-tractor.stories.js +90 -90
  97. package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.js +63 -63
  98. package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.js +45 -45
  99. package/dist/collection/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.js +63 -63
  100. package/dist/collection/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.js +79 -79
  101. package/dist/collection/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.js +32 -32
  102. package/dist/collection/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.js +42 -42
  103. package/dist/collection/stories/Templates/palEgraOptionWithAudio/palEgraOptionWithAudio.stories.js +63 -63
  104. package/dist/collection/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.js +44 -44
  105. package/dist/collection/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.js +34 -34
  106. package/dist/collection/stories/Templates/palEgraWordMatch/palEgraWordMatch.stories.js +52 -52
  107. package/dist/collection/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.js +33 -33
  108. package/dist/collection/stories/Templates/palEgra_arrange_pictures/palEgra_arrange_pictures.stories.js +40 -40
  109. package/dist/collection/stories/Templates/palEgra_build_word/palEgra_build_word.stories.js +48 -48
  110. package/dist/collection/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.js +48 -48
  111. package/dist/collection/stories/Templates/palStorytale/palStorytale.stories.js +18 -18
  112. package/dist/collection/stories/Templates/phonic-tractor/phonic-tractor.stories.js +44 -44
  113. package/dist/collection/stories/Templates/pictureClues/pictureClues.stories.js +34 -34
  114. package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.js +36 -36
  115. package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.js +30 -30
  116. package/dist/collection/stories/Templates/picturemeaning/pictureMeaningCocos.stories.js +20 -20
  117. package/dist/collection/stories/Templates/puzzleGame/puzzleGame.stories.js +17 -17
  118. package/dist/collection/stories/Templates/questionBoard/questionBoard.stories.js +58 -58
  119. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracy.stories.js +50 -50
  120. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWithText.stories.js +36 -36
  121. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWord.stories.js +43 -43
  122. package/dist/collection/stories/Templates/quizMaths/quizMaths.stories.js +631 -631
  123. package/dist/collection/stories/Templates/reorder/reorder.stories.js +63 -63
  124. package/dist/collection/stories/Templates/rowBlocks/rowBlocks.stories.js +47 -47
  125. package/dist/collection/stories/Templates/sentenceMatch/sentenceMatch.stories.js +29 -29
  126. package/dist/collection/stories/Templates/sequenceBox/sequenceBox1.stories.js +64 -64
  127. package/dist/collection/stories/Templates/sequenceBox/sequenceBox2.stories.js +62 -62
  128. package/dist/collection/stories/Templates/shapePair/shape-pair.stories.js +106 -106
  129. package/dist/collection/stories/Templates/shapeTractor/shape-tractor.stories.js +50 -50
  130. package/dist/collection/stories/Templates/spellDoor/spellDoor.stories.js +41 -41
  131. package/dist/collection/stories/Templates/storyTale/storyTale.stories.js +39 -39
  132. package/dist/collection/stories/Templates/substraction/substractionWithimg.stories.js +62 -62
  133. package/dist/collection/stories/Templates/substraction/substractionWithoutImg.stories.js +42 -42
  134. package/dist/collection/stories/Templates/sumTogether/sumTogether.stories.js +50 -50
  135. package/dist/collection/stories/Templates/tenBox/tenBox.stories.js +88 -88
  136. package/dist/collection/stories/Templates/total/total.stories.js +28 -28
  137. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithimg.stories.js +35 -35
  138. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.js +34 -34
  139. package/dist/collection/stories/Templates/writeCard/writeCard.stories.js +31 -31
  140. package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +58 -58
  141. package/dist/collection/stories/Templates/writeNumber/writeNumber.stories.js +44 -44
  142. package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +31 -31
  143. package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +34 -34
  144. package/dist/collection/stories/components/flash-card.stories.js +48 -48
  145. package/dist/collection/stories/components/keyboard.stories.js +10 -10
  146. package/dist/collection/stories/components/slider.stories.js +4 -4
  147. package/dist/collection/stories/components/trace.stories.js +5 -5
  148. package/dist/collection/utils/utils.js +16 -10
  149. package/dist/collection/utils/utilsHandlers/animationHandler.js +25 -21
  150. package/dist/collection/utils/utilsHandlers/dragDropHandler.js +8 -8
  151. package/dist/collection/utils/utilsHandlers/highlightHandler.js +54 -54
  152. package/dist/collection/utils/utilsHandlers/lidoCalculatorHandler.js +8 -8
  153. package/dist/collection/utils/utilsHandlers/moveHandler.js +111 -0
  154. package/dist/collection/utils/utilsHandlers/sortHandler.js +10 -10
  155. package/dist/components/index.js +1 -1
  156. package/dist/components/lido-avatar.js +1 -1
  157. package/dist/components/lido-balance.js +1 -1
  158. package/dist/components/lido-calculator.js +1 -1
  159. package/dist/components/lido-canvas.js +1 -1
  160. package/dist/components/lido-cell.js +1 -1
  161. package/dist/components/lido-col.js +1 -1
  162. package/dist/components/lido-container.js +1 -1
  163. package/dist/components/lido-flash-card.js +1 -1
  164. package/dist/components/lido-float.js +1 -1
  165. package/dist/components/lido-home.js +1 -1
  166. package/dist/components/lido-image.js +1 -1
  167. package/dist/components/lido-keyboard.js +1 -1
  168. package/dist/components/lido-math-matrix.js +1 -1
  169. package/dist/components/lido-pos.js +1 -1
  170. package/dist/components/lido-random.js +1 -1
  171. package/dist/components/lido-root.js +1 -1
  172. package/dist/components/lido-row.js +1 -1
  173. package/dist/components/lido-shape.js +1 -1
  174. package/dist/components/lido-slide-fill.js +1 -1
  175. package/dist/components/lido-text.js +1 -1
  176. package/dist/components/lido-trace.js +1 -1
  177. package/dist/components/lido-wrap.js +1 -1
  178. package/dist/components/{p-CCR42e0i.js → p-BE25wHoo.js} +1 -1
  179. package/dist/components/p-BSV5U72F.js +1 -0
  180. package/dist/components/{p-CTlcpv4a.js → p-BfwUqpXc.js} +1 -1
  181. package/dist/components/{p-CgsPIpg0.js → p-Bw-OC9iR.js} +1 -1
  182. package/dist/components/{p-NHusmM9J.js → p-C2p0KZh4.js} +1 -1
  183. package/dist/components/p-C5jvgiPE.js +1 -0
  184. package/dist/components/{p-MkbxS5lW.js → p-C7U1h9gI.js} +1 -1
  185. package/dist/components/{p-C5WmmkI6.js → p-CPYnt0P-.js} +1 -1
  186. package/dist/components/{p-DaMpzrMk.js → p-CS6iRQJh.js} +1 -1
  187. package/dist/components/{p-BeRr8u5m.js → p-CwDTdXe5.js} +1 -1
  188. package/dist/components/{p-CXHPZN3m.js → p-CyGxEcn7.js} +1 -1
  189. package/dist/components/p-D-B1groh.js +1 -0
  190. package/dist/components/{p-CRzTmKDJ.js → p-D-IYWSAa.js} +1 -1
  191. package/dist/components/{p-DbZeFECr.js → p-DGvzMlyn.js} +2 -2
  192. package/dist/components/{p-D4s9ZWCB.js → p-DPAlnts-.js} +1 -1
  193. package/dist/components/{p-CayICx4g.js → p-DYs8s-uh.js} +1 -1
  194. package/dist/components/p-DbR5sNOj.js +1 -0
  195. package/dist/components/{p-BBHM059l.js → p-Sl9R-E6h.js} +1 -1
  196. package/dist/components/p-Uluc7jQ7.js +1 -0
  197. package/dist/components/p-leIEepjl.js +1 -0
  198. package/dist/components/{p-C70ykycD.js → p-useuhkjH.js} +1 -1
  199. package/dist/esm/{decode-DpcU-915.js → decode-C-vVYHke.js} +1 -1
  200. package/dist/esm/{index-Dki_0kla.js → index-BswlHnsY.js} +206 -86
  201. package/dist/esm/{index-Dfj4noku.js → index-Dq-Z8Dx0.js} +1 -1
  202. package/dist/esm/index.js +2 -2
  203. package/dist/esm/lido-avatar_22.entry.js +73 -50
  204. package/dist/esm/lido-player.js +3 -3
  205. package/dist/esm/loader.js +3 -3
  206. package/dist/lido-player/index.esm.js +1 -1
  207. package/dist/lido-player/lido-avatar.css +4 -4
  208. package/dist/lido-player/lido-avatar.tsx +207 -207
  209. package/dist/lido-player/lido-player.css +7 -7
  210. package/dist/lido-player/lido-player.esm.js +1 -1
  211. package/dist/lido-player/p-0l6uR1lH.js +1 -0
  212. package/dist/lido-player/{p-BZv5PD3F.js → p-CYMdg2_E.js} +1 -1
  213. package/dist/lido-player/p-Dq-Z8Dx0.js +2 -0
  214. package/dist/lido-player/{p-476aaf0e.entry.js → p-b2c60372.entry.js} +2 -2
  215. package/dist/lido-player/readme.md +49 -49
  216. package/dist/types/components/text/lido-text.d.ts +4 -0
  217. package/dist/types/components.d.ts +11 -0
  218. package/dist/types/types/json.d.ts +3 -3
  219. package/dist/types/utils/utilsHandlers/moveHandler.d.ts +1 -0
  220. package/package.json +73 -73
  221. package/readme.md +113 -113
  222. package/dist/components/p-CwIlwnQk.js +0 -1
  223. package/dist/components/p-DLyacZap.js +0 -1
  224. package/dist/components/p-DONbWJGn.js +0 -1
  225. package/dist/components/p-DVTigdH_.js +0 -1
  226. package/dist/components/p-DbDgJi-A.js +0 -1
  227. package/dist/components/p-fBjZoiLo.js +0 -1
  228. package/dist/lido-player/p-Dfj4noku.js +0 -2
  229. package/dist/lido-player/p-pxe3GMFr.js +0 -1
@@ -1,53 +1,53 @@
1
- .lido-text {
2
- /* background-color: #fff; */
3
- /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
4
- transition: background-color 0.3s ease;
5
- user-select: none;
6
- align-items: center;
7
- justify-content: center;
8
- text-align: center;
9
- border-radius: 24px;
10
- color: #333;
11
- cursor: pointer;
12
- font-family: 'Baloo Bhai 2', serif;
13
- }
14
-
15
- .text-letters {
16
- transition: color 0.3s, text-shadow 0.3s;
17
- display: inline-block;
18
- padding: 0 2px;
19
- }
20
-
21
- .text-letters.letter-highlight {
22
- color: #8e24aa;
23
- background: none;
24
- border-radius: 0;
25
- text-shadow: 0 2px 8px #8e24aa88;
26
- animation: text-letter-bounce 0.4s;
27
- }
28
-
29
- .text-words {
30
- transition: color 0.3s, text-shadow 0.3s;
31
- display: inline-block;
32
- padding: 0 2px;
33
- }
34
-
35
- .text-words.word-highlight {
36
- color: #8e24aa;
37
- background: none;
38
- border-radius: 0;
39
- text-shadow: 0 2px 8px #8e24aa88;
40
- animation: text-word-bounce 0.4s;
41
- }
42
-
43
- @keyframes text-letter-bounce {
44
- 0% { transform: scale(1); }
45
- 60% { transform: scale(1.4); }
46
- 100% { transform: scale(1); }
47
- }
48
-
49
- @keyframes text-word-bounce {
50
- 0% { transform: scale(1); }
51
- 60% { transform: scale(1.3); }
52
- 100% { transform: scale(1); }
53
- }
1
+ .lido-text {
2
+ /* background-color: #fff; */
3
+ /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
4
+ transition: background-color 0.3s ease;
5
+ user-select: none;
6
+ align-items: center;
7
+ justify-content: center;
8
+ text-align: center;
9
+ border-radius: 24px;
10
+ color: #333;
11
+ cursor: pointer;
12
+ font-family: 'Baloo Bhai 2', serif;
13
+ }
14
+
15
+ .text-letters {
16
+ transition: color 0.3s, text-shadow 0.3s;
17
+ display: inline-block;
18
+ padding: 0 2px;
19
+ }
20
+
21
+ .text-letters.letter-highlight {
22
+ color: #8e24aa;
23
+ background: none;
24
+ border-radius: 0;
25
+ text-shadow: 0 2px 8px #8e24aa88;
26
+ animation: text-letter-bounce 0.4s;
27
+ }
28
+
29
+ .text-words {
30
+ transition: color 0.3s, text-shadow 0.3s;
31
+ display: inline-block;
32
+ padding: 0 2px;
33
+ }
34
+
35
+ .text-words.word-highlight {
36
+ color: #8e24aa;
37
+ background: none;
38
+ border-radius: 0;
39
+ text-shadow: 0 2px 8px #8e24aa88;
40
+ animation: text-word-bounce 0.4s;
41
+ }
42
+
43
+ @keyframes text-letter-bounce {
44
+ 0% { transform: scale(1); }
45
+ 60% { transform: scale(1.4); }
46
+ 100% { transform: scale(1); }
47
+ }
48
+
49
+ @keyframes text-word-bounce {
50
+ 0% { transform: scale(1); }
51
+ 60% { transform: scale(1.3); }
52
+ 100% { transform: scale(1); }
53
+ }
@@ -59,6 +59,10 @@ export class LidoText {
59
59
  * The ARIA hidden attribute of the container. Used for accessibility to hide the element.
60
60
  */
61
61
  this.ariaHidden = '';
62
+ /**
63
+ * Allows the text element to be freely moved by pointer/touch and persists the final x/y attributes.
64
+ */
65
+ this.move = 'false';
62
66
  /**
63
67
  * X-axis (horizontal) position of the text component (CSS value, e.g., '10px', '5vw').
64
68
  */
@@ -256,7 +260,7 @@ export class LidoText {
256
260
  }
257
261
  }
258
262
  render() {
259
- return (h(Host, { key: 'a37ed0a4b40fc0aad45990020878198a30e06614', class: "lido-text", value: this.value, type: this.type, "tab-index": this.tabIndex, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, minDrops: this.minDrops, maxDrops: this.maxDrops, id: this.id, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, "span-type": this.spanType, "disable-speak": `${this.disableSpeak}` }, this.spanType !== '' ? h("div", { class: "lido-text-content" }, " ", i18next.t(this.string)) : i18next.t(this.string)));
263
+ return (h(Host, { key: '30e77a008aba08f90f88541574f70588bb8a2cd6', class: "lido-text", value: this.value, type: this.type, "tab-index": this.tabIndex, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, minDrops: this.minDrops, maxDrops: this.maxDrops, id: this.id, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, move: this.move, "span-type": this.spanType, "disable-speak": `${this.disableSpeak}` }, this.spanType !== '' ? h("div", { class: "lido-text-content" }, " ", i18next.t(this.string)) : i18next.t(this.string)));
260
264
  }
261
265
  static get is() { return "lido-text"; }
262
266
  static get originalStyleUrls() {
@@ -511,6 +515,26 @@ export class LidoText {
511
515
  "attribute": "aria-hidden",
512
516
  "defaultValue": "''"
513
517
  },
518
+ "move": {
519
+ "type": "string",
520
+ "mutable": false,
521
+ "complexType": {
522
+ "original": "string",
523
+ "resolved": "string",
524
+ "references": {}
525
+ },
526
+ "required": false,
527
+ "optional": false,
528
+ "docs": {
529
+ "tags": [],
530
+ "text": "Allows the text element to be freely moved by pointer/touch and persists the final x/y attributes."
531
+ },
532
+ "getter": false,
533
+ "setter": false,
534
+ "reflect": false,
535
+ "attribute": "move",
536
+ "defaultValue": "'false'"
537
+ },
514
538
  "x": {
515
539
  "type": "string",
516
540
  "mutable": false,
@@ -823,7 +847,7 @@ export class LidoText {
823
847
  "optional": false,
824
848
  "docs": {
825
849
  "tags": [],
826
- "text": "CSS margin value applied to each child element inside the container.\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
850
+ "text": "CSS margin value applied to each child element inside the container.\r\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
827
851
  },
828
852
  "getter": false,
829
853
  "setter": false,
@@ -843,7 +867,7 @@ export class LidoText {
843
867
  "optional": false,
844
868
  "docs": {
845
869
  "tags": [],
846
- "text": "CSS padding value applied to each child element inside the container.\nAccepts standard CSS padding formats (e.g., '10px', '5px 10px', etc.)."
870
+ "text": "CSS padding value applied to each child element inside the container.\r\nAccepts standard CSS padding formats (e.g., '10px', '5px 10px', etc.)."
847
871
  },
848
872
  "getter": false,
849
873
  "setter": false,
@@ -863,7 +887,7 @@ export class LidoText {
863
887
  "optional": false,
864
888
  "docs": {
865
889
  "tags": [],
866
- "text": "CSS filter to apply border radius to the image.\nExample: '10px' for images."
890
+ "text": "CSS filter to apply border radius to the image.\r\nExample: '10px' for images."
867
891
  },
868
892
  "getter": false,
869
893
  "setter": false,
@@ -883,7 +907,7 @@ export class LidoText {
883
907
  "optional": false,
884
908
  "docs": {
885
909
  "tags": [],
886
- "text": "Indicates whether to wrap each letter or each word of the text in a span element.\nThis can be useful for animations or styling individual letters."
910
+ "text": "Indicates whether to wrap each letter or each word of the text in a span element.\r\nThis can be useful for animations or styling individual letters."
887
911
  },
888
912
  "getter": false,
889
913
  "setter": false,
@@ -1,98 +1,98 @@
1
- :host {
2
- display: block;
3
- position: relative;
4
- }
5
-
6
- #lido-svgContainer {
7
- /* position: absolute; */
8
- /* top: 0; */
9
- /* left: 0; */
10
- /* right: 0; */
11
- /* bottom: 50px; */
12
- display: flex;
13
- justify-content: center;
14
- align-items: center;
15
- overflow: hidden;
16
- }
17
-
18
- .lido-trace-svg {
19
- width: 100%;
20
- height: 100%;
21
- /* max-height: calc(100vh - 50px); */
22
- /* border: 1px solid black; */
23
- touch-action: none;
24
- }
25
-
26
- #lido-draggableCircle {
27
- cursor: pointer;
28
- fill: #CF1565;
29
- transition: fill 0.2s, r 0.2s;
30
- }
31
-
32
- .lido-blindTracing {
33
- stroke: none !important;
34
- }
35
-
36
- .lido-blindFreeTrace {
37
- stroke: none !important;
38
- }
39
-
40
- .lido-hovered {
41
- cursor: grab;
42
- fill: darkred;
43
- }
44
-
45
- #lido-controls {
46
- position: fixed;
47
- bottom: 0;
48
- left: 0;
49
- right: 0;
50
- display: flex;
51
- justify-content: space-between;
52
- padding: 10px;
53
- background-color: #f0f0f0;
54
- border-top: 1px solid #ccc;
55
- }
56
-
57
- button {
58
- padding: 10px;
59
- font-size: 16px;
60
- }
61
-
62
- @media (max-width: 600px) {
63
- button {
64
- padding: 8px;
65
- font-size: 14px;
66
- }
67
- }
68
-
69
- .lido-trace-path-green {
70
- /* stroke: green !important; */
71
- }
72
-
73
- .lido-flow-indicator {
74
- stroke: blue;
75
- stroke-width: 2;
76
- stroke-dasharray: 6, 6; /* Uniform dotted line */
77
- fill: none;
78
- }
79
-
80
- .lido-trace {
81
- height: 700px;
82
- width: 700px;
83
- z-index: 1;
84
- /* position: absolute; */
85
- justify-items: center;
86
- /* align-items: center; */
87
- align-content: center;
88
- }
89
-
90
- .trace-animate {
91
- animation: trace-bounce 0.5s;
92
- }
93
- @keyframes trace-bounce {
94
- 0% { transform: scale(1); }
95
- 30% { transform: scale(1.05); }
96
- 60% { transform: scale(0.95); }
97
- 100% { transform: scale(1); }
1
+ :host {
2
+ display: block;
3
+ position: relative;
4
+ }
5
+
6
+ #lido-svgContainer {
7
+ /* position: absolute; */
8
+ /* top: 0; */
9
+ /* left: 0; */
10
+ /* right: 0; */
11
+ /* bottom: 50px; */
12
+ display: flex;
13
+ justify-content: center;
14
+ align-items: center;
15
+ overflow: hidden;
16
+ }
17
+
18
+ .lido-trace-svg {
19
+ width: 100%;
20
+ height: 100%;
21
+ /* max-height: calc(100vh - 50px); */
22
+ /* border: 1px solid black; */
23
+ touch-action: none;
24
+ }
25
+
26
+ #lido-draggableCircle {
27
+ cursor: pointer;
28
+ fill: #CF1565;
29
+ transition: fill 0.2s, r 0.2s;
30
+ }
31
+
32
+ .lido-blindTracing {
33
+ stroke: none !important;
34
+ }
35
+
36
+ .lido-blindFreeTrace {
37
+ stroke: none !important;
38
+ }
39
+
40
+ .lido-hovered {
41
+ cursor: grab;
42
+ fill: darkred;
43
+ }
44
+
45
+ #lido-controls {
46
+ position: fixed;
47
+ bottom: 0;
48
+ left: 0;
49
+ right: 0;
50
+ display: flex;
51
+ justify-content: space-between;
52
+ padding: 10px;
53
+ background-color: #f0f0f0;
54
+ border-top: 1px solid #ccc;
55
+ }
56
+
57
+ button {
58
+ padding: 10px;
59
+ font-size: 16px;
60
+ }
61
+
62
+ @media (max-width: 600px) {
63
+ button {
64
+ padding: 8px;
65
+ font-size: 14px;
66
+ }
67
+ }
68
+
69
+ .lido-trace-path-green {
70
+ /* stroke: green !important; */
71
+ }
72
+
73
+ .lido-flow-indicator {
74
+ stroke: blue;
75
+ stroke-width: 2;
76
+ stroke-dasharray: 6, 6; /* Uniform dotted line */
77
+ fill: none;
78
+ }
79
+
80
+ .lido-trace {
81
+ height: 700px;
82
+ width: 700px;
83
+ z-index: 1;
84
+ /* position: absolute; */
85
+ justify-items: center;
86
+ /* align-items: center; */
87
+ align-content: center;
88
+ }
89
+
90
+ .trace-animate {
91
+ animation: trace-bounce 0.5s;
92
+ }
93
+ @keyframes trace-bounce {
94
+ 0% { transform: scale(1); }
95
+ 30% { transform: scale(1.05); }
96
+ 60% { transform: scale(0.95); }
97
+ 100% { transform: scale(1); }
98
98
  }
@@ -1047,7 +1047,7 @@ export class LidoTrace {
1047
1047
  };
1048
1048
  }
1049
1049
  render() {
1050
- return (h(Host, { key: '89c30e4e8be379c026c6b241e240e343df91ec7c', class: "lido-trace", id: this.id, audio: this.audio, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex, "disable-speak": this.disableSpeak }, h("div", { key: '0d7c35704f98084d7c6b571d653f9a578d4011e2', style: this.style, id: "lido-svgContainer" })));
1050
+ return (h(Host, { key: '31f7f62d73ed98ce0a3b224435e7b64574cf506c', class: "lido-trace", id: this.id, audio: this.audio, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex, "disable-speak": this.disableSpeak }, h("div", { key: '6cf11b7d5f9aeb3c58cbb462e63d3f340384a403', style: this.style, id: "lido-svgContainer" })));
1051
1051
  }
1052
1052
  static get is() { return "lido-trace"; }
1053
1053
  static get originalStyleUrls() {
@@ -1335,7 +1335,7 @@ export class LidoTrace {
1335
1335
  "optional": false,
1336
1336
  "docs": {
1337
1337
  "tags": [],
1338
- "text": "Mode for the tracing interaction, defining how users interact with the SVG paths.\nOptions may include `\"noFlow\"`, `\"showFlow\"`, `\"freeTrace\"`, `\"blindTracing\"`, and `\"blindFreeTrace\"`"
1338
+ "text": "Mode for the tracing interaction, defining how users interact with the SVG paths.\r\nOptions may include `\"noFlow\"`, `\"showFlow\"`, `\"freeTrace\"`, `\"blindTracing\"`, and `\"blindFreeTrace\"`"
1339
1339
  },
1340
1340
  "getter": false,
1341
1341
  "setter": false,
@@ -1,18 +1,18 @@
1
- .lido-wrap {
2
- display: grid;
3
- grid-gap: 10px;
4
- grid-template-columns: repeat(auto-fill, minmax(186px, auto));
5
- }
6
-
7
- .lido-wrap > * {
8
- padding: 10px;
9
- background-color: var(--child-bg-color, #f0f0f0);
10
- box-sizing: border-box;
11
- }
12
-
13
- .lido-flex {
14
- display: flex;
15
- flex-wrap: wrap;
16
- align-content: flex-start;
17
- gap: 10px;
18
- }
1
+ .lido-wrap {
2
+ display: grid;
3
+ grid-gap: 10px;
4
+ grid-template-columns: repeat(auto-fill, minmax(186px, auto));
5
+ }
6
+
7
+ .lido-wrap > * {
8
+ padding: 10px;
9
+ background-color: var(--child-bg-color, #f0f0f0);
10
+ box-sizing: border-box;
11
+ }
12
+
13
+ .lido-flex {
14
+ display: flex;
15
+ flex-wrap: wrap;
16
+ align-content: flex-start;
17
+ gap: 10px;
18
+ }
@@ -75,7 +75,7 @@ export class LidoWrap {
75
75
  };
76
76
  }
77
77
  render() {
78
- return (h(Host, { key: '1b5a62590f56ae5623770a4333fe84fdffd5617f', class: "lido-wrap", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, minDrops: this.minDrops, maxDrops: this.maxDrops, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, disableSpeak: this.disableSpeak }, h("slot", { key: '081252d2c1074c0e1635b583f697d7d44aec1333' })));
78
+ return (h(Host, { key: '58b1e37a1787349d3ccd2bc6952d94a7d945e234', class: "lido-wrap", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, minDrops: this.minDrops, maxDrops: this.maxDrops, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, disableSpeak: this.disableSpeak }, h("slot", { key: '44389fcc3d2e86faf291b74bfe50b55d467a7278' })));
79
79
  }
80
80
  static get is() { return "lido-wrap"; }
81
81
  static get originalStyleUrls() {
@@ -464,7 +464,7 @@ export class LidoWrap {
464
464
  "optional": false,
465
465
  "docs": {
466
466
  "tags": [],
467
- "text": "The number of child elements that should be displayed inside the row.\nThis value is dynamically adjusted based on `minLength` and `maxLength`."
467
+ "text": "The number of child elements that should be displayed inside the row.\r\nThis value is dynamically adjusted based on `minLength` and `maxLength`."
468
468
  },
469
469
  "getter": false,
470
470
  "setter": false,
@@ -483,7 +483,7 @@ export class LidoWrap {
483
483
  "optional": false,
484
484
  "docs": {
485
485
  "tags": [],
486
- "text": "The minimum number of child elements that must be displayed inside the row.\nIf `childElementsLength` is less than this value, additional elements may be shown to meet this minimum."
486
+ "text": "The minimum number of child elements that must be displayed inside the row.\r\nIf `childElementsLength` is less than this value, additional elements may be shown to meet this minimum."
487
487
  },
488
488
  "getter": false,
489
489
  "setter": false,
@@ -502,7 +502,7 @@ export class LidoWrap {
502
502
  "optional": false,
503
503
  "docs": {
504
504
  "tags": [],
505
- "text": "The maximum number of child elements that can be displayed inside the row.\nIf `childElementsLength` exceeds this value, excess elements will be hidden."
505
+ "text": "The maximum number of child elements that can be displayed inside the row.\r\nIf `childElementsLength` exceeds this value, excess elements will be hidden."
506
506
  },
507
507
  "getter": false,
508
508
  "setter": false,
@@ -521,7 +521,7 @@ export class LidoWrap {
521
521
  "optional": false,
522
522
  "docs": {
523
523
  "tags": [],
524
- "text": "Enables flex layout mode for the container.\nIf set to `\"true\"`, the component will use a flex layout (`display: flex`) instead of the default grid layout (`display: grid`).\nAdditionally, the `lido-wrap` class will be replaced with `lido-flex` to allow custom flex-specific styling."
524
+ "text": "Enables flex layout mode for the container.\r\nIf set to `\"true\"`, the component will use a flex layout (`display: flex`) instead of the default grid layout (`display: grid`).\r\nAdditionally, the `lido-wrap` class will be replaced with `lido-flex` to allow custom flex-specific styling."
525
525
  },
526
526
  "getter": false,
527
527
  "setter": false,
@@ -580,7 +580,7 @@ export class LidoWrap {
580
580
  "optional": false,
581
581
  "docs": {
582
582
  "tags": [],
583
- "text": "CSS margin value applied to each child element inside the container.\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
583
+ "text": "CSS margin value applied to each child element inside the container.\r\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
584
584
  },
585
585
  "getter": false,
586
586
  "setter": false,