lido-player 0.0.2-beta-24 → 0.0.2-beta-26-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 (240) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/{decode-BCvdWRyT.js → decode-CE64w_Pc.js} +1 -1
  3. package/dist/cjs/{index-DjM03fsg.js → index-Cf9LHdIw.js} +238 -87
  4. package/dist/cjs/{index-DBCFoh1I.js → index-DnaH8sO-.js} +1 -1
  5. package/dist/cjs/index.cjs.js +2 -2
  6. package/dist/cjs/lido-avatar_22.cjs.entry.js +214 -53
  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 +214 -214
  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 +34 -10
  22. package/dist/collection/components/container/lido-container.js +55 -9
  23. package/dist/collection/components/flashCard/lido-flash-card.css +72 -72
  24. package/dist/collection/components/flashCard/lido-flash-card.js +84 -15
  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 +38 -14
  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 +6 -6
  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/assets/Shadow.svg +9 -9
  43. package/dist/collection/components/scale/lido-balance.css +174 -174
  44. package/dist/collection/components/scale/lido-balance.js +13 -13
  45. package/dist/collection/components/shape/lido-shape.css +216 -216
  46. package/dist/collection/components/shape/lido-shape.js +6 -6
  47. package/dist/collection/components/slideFill/lido-slide-fill.css +3 -3
  48. package/dist/collection/components/slideFill/lido-slide-fill.js +13 -13
  49. package/dist/collection/components/text/lido-text.css +53 -53
  50. package/dist/collection/components/text/lido-text.js +6 -6
  51. package/dist/collection/components/trace/assets/Tracing-hand.svg +8 -8
  52. package/dist/collection/components/trace/lido-trace.css +97 -97
  53. package/dist/collection/components/trace/lido-trace.js +2 -2
  54. package/dist/collection/components/wrap/lido-wrap.css +18 -18
  55. package/dist/collection/components/wrap/lido-wrap.js +6 -6
  56. package/dist/collection/css/animation.css +211 -211
  57. package/dist/collection/css/index.css +323 -323
  58. package/dist/collection/stories/Templates/Fill-Up/fill-up.stories.js +61 -61
  59. package/dist/collection/stories/Templates/LetterPairing/LetterPairing.stories.js +123 -123
  60. package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +48 -48
  61. package/dist/collection/stories/Templates/Tag/tagGame.stories.js +39 -39
  62. package/dist/collection/stories/Templates/arrangeLetters/arrangeLetters.stories.js +44 -44
  63. package/dist/collection/stories/Templates/balancing/balancing.stories.js +35 -35
  64. package/dist/collection/stories/Templates/balloonPop/balloonPop.stories.js +38 -38
  65. package/dist/collection/stories/Templates/blender/blender.stories.js +59 -59
  66. package/dist/collection/stories/Templates/bubbleType/bubbleType.stories.js +42 -42
  67. package/dist/collection/stories/Templates/calculator/calculator.stories.js +28 -28
  68. package/dist/collection/stories/Templates/categorize/categorize.stories.js +37 -37
  69. package/dist/collection/stories/Templates/categorize2/categorize2.stories.js +67 -67
  70. package/dist/collection/stories/Templates/checker-block/checkerBlock.stories.js +29 -29
  71. package/dist/collection/stories/Templates/checkerBlock/checkerBlock.stories.js +13 -13
  72. package/dist/collection/stories/Templates/create-sentence/createSentence.stories.js +74 -74
  73. package/dist/collection/stories/Templates/dragAndDrop/drag-drop.stories.js +69 -69
  74. package/dist/collection/stories/Templates/fillAnswer/fill-answer.stories.js +43 -43
  75. package/dist/collection/stories/Templates/fillBlank/fill-blank.stories.js +282 -282
  76. package/dist/collection/stories/Templates/foodJar/food-jar.stories.js +35 -35
  77. package/dist/collection/stories/Templates/grid/grid.stories.js +118 -118
  78. package/dist/collection/stories/Templates/gridGame/grid-game.stories.js +57 -57
  79. package/dist/collection/stories/Templates/imageMatch/imageMatch.stories.js +44 -44
  80. package/dist/collection/stories/Templates/jumpSentence/jumpSentence.stories.js +41 -41
  81. package/dist/collection/stories/Templates/letterboard/letterboard.stories.js +183 -183
  82. package/dist/collection/stories/Templates/makeSentence/make-sentence.stories.js +36 -36
  83. package/dist/collection/stories/Templates/matchBox/matchBox.stories.js +69 -69
  84. package/dist/collection/stories/Templates/matchBox/matchBox2.stories.js +84 -84
  85. package/dist/collection/stories/Templates/matchingCard/matching-card.stories.js +31 -31
  86. package/dist/collection/stories/Templates/multipleOption/mcqWithQuestionImage.stories.js +112 -112
  87. package/dist/collection/stories/Templates/multipleOption/multiple-option.stories.js +47 -47
  88. package/dist/collection/stories/Templates/multiplyBeeds/multiplyBeeds.stories.js +57 -57
  89. package/dist/collection/stories/Templates/nimbleTable/nimbleTable.stories.js +53 -53
  90. package/dist/collection/stories/Templates/numberBoard/numberBoard.stories.js +46 -46
  91. package/dist/collection/stories/Templates/numberBoardTwo/numberBoardTwo.stories.js +45 -45
  92. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.js +56 -56
  93. package/dist/collection/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.js +53 -53
  94. package/dist/collection/stories/Templates/numberPair/numberPair.stories.js +127 -127
  95. package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +47 -47
  96. package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +38 -38
  97. package/dist/collection/stories/Templates/order-tractor/order-tractor-ascending-order.stories.js +97 -97
  98. package/dist/collection/stories/Templates/order-tractor/order-tractor.stories.js +90 -90
  99. package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.js +63 -63
  100. package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.js +45 -45
  101. package/dist/collection/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.js +63 -63
  102. package/dist/collection/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.js +79 -79
  103. package/dist/collection/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.js +32 -32
  104. package/dist/collection/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.js +42 -42
  105. package/dist/collection/stories/Templates/palEgraOptionWithAudio/palEgraOptionWithAudio.stories.js +63 -63
  106. package/dist/collection/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.js +44 -44
  107. package/dist/collection/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.js +34 -34
  108. package/dist/collection/stories/Templates/palEgraWordMatch/palEgraWordMatch.stories.js +52 -52
  109. package/dist/collection/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.js +33 -33
  110. package/dist/collection/stories/Templates/palEgra_arrange_pictures/palEgra_arrange_pictures.stories.js +40 -40
  111. package/dist/collection/stories/Templates/palEgra_build_word/palEgra_build_word.stories.js +48 -48
  112. package/dist/collection/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.js +48 -48
  113. package/dist/collection/stories/Templates/palStorytale/palStorytale.stories.js +18 -18
  114. package/dist/collection/stories/Templates/phonic-tractor/phonic-tractor.stories.js +44 -44
  115. package/dist/collection/stories/Templates/pictureClues/pictureClues.stories.js +34 -34
  116. package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.js +36 -36
  117. package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.js +30 -30
  118. package/dist/collection/stories/Templates/picturemeaning/pictureMeaningCocos.stories.js +20 -20
  119. package/dist/collection/stories/Templates/puzzleGame/puzzleGame.stories.js +17 -17
  120. package/dist/collection/stories/Templates/questionBoard/questionBoard.stories.js +58 -58
  121. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracy.stories.js +50 -50
  122. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWithText.stories.js +36 -36
  123. package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWord.stories.js +43 -43
  124. package/dist/collection/stories/Templates/quizMaths/quizMaths.stories.js +633 -633
  125. package/dist/collection/stories/Templates/reorder/reorder.stories.js +63 -63
  126. package/dist/collection/stories/Templates/rowBlocks/rowBlocks.stories.js +47 -47
  127. package/dist/collection/stories/Templates/sentenceMatch/sentenceMatch.stories.js +29 -29
  128. package/dist/collection/stories/Templates/sequenceBox/sequenceBox1.stories.js +64 -64
  129. package/dist/collection/stories/Templates/sequenceBox/sequenceBox2.stories.js +62 -62
  130. package/dist/collection/stories/Templates/shapePair/shape-pair.stories.js +106 -106
  131. package/dist/collection/stories/Templates/shapeTractor/shape-tractor.stories.js +50 -50
  132. package/dist/collection/stories/Templates/spellDoor/spellDoor.stories.js +41 -41
  133. package/dist/collection/stories/Templates/storyTale/storyTale.stories.js +39 -39
  134. package/dist/collection/stories/Templates/substraction/substractionWithimg.stories.js +62 -62
  135. package/dist/collection/stories/Templates/substraction/substractionWithoutImg.stories.js +42 -42
  136. package/dist/collection/stories/Templates/sumTogether/sumTogether.stories.js +50 -50
  137. package/dist/collection/stories/Templates/tenBox/tenBox.stories.js +88 -88
  138. package/dist/collection/stories/Templates/total/total.stories.js +28 -28
  139. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithimg.stories.js +35 -35
  140. package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.js +34 -34
  141. package/dist/collection/stories/Templates/writeCard/writeCard.stories.js +31 -31
  142. package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +58 -58
  143. package/dist/collection/stories/Templates/writeNumber/writeNumber.stories.js +44 -44
  144. package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +31 -31
  145. package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +34 -34
  146. package/dist/collection/stories/components/flash-card.stories.js +48 -48
  147. package/dist/collection/stories/components/keyboard.stories.js +10 -10
  148. package/dist/collection/stories/components/slider.stories.js +4 -4
  149. package/dist/collection/stories/components/trace.stories.js +5 -5
  150. package/dist/collection/utils/audioPlayer.js +10 -3
  151. package/dist/collection/utils/constants.js +6 -0
  152. package/dist/collection/utils/utils.js +109 -14
  153. package/dist/collection/utils/utilsHandlers/dragDropHandler.js +8 -8
  154. package/dist/collection/utils/utilsHandlers/highlightHandler.js +54 -54
  155. package/dist/collection/utils/utilsHandlers/slideHandler.js +58 -19
  156. package/dist/collection/utils/utilsHandlers/sortHandler.js +10 -10
  157. package/dist/components/index.js +1 -1
  158. package/dist/components/lido-avatar.js +1 -1
  159. package/dist/components/lido-balance.js +1 -1
  160. package/dist/components/lido-calculator.js +1 -1
  161. package/dist/components/lido-canvas.js +1 -1
  162. package/dist/components/lido-cell.js +1 -1
  163. package/dist/components/lido-col.js +1 -1
  164. package/dist/components/lido-container.js +1 -1
  165. package/dist/components/lido-flash-card.js +1 -1
  166. package/dist/components/lido-float.js +1 -1
  167. package/dist/components/lido-home.js +1 -1
  168. package/dist/components/lido-image.js +1 -1
  169. package/dist/components/lido-keyboard.js +1 -1
  170. package/dist/components/lido-math-matrix.js +1 -1
  171. package/dist/components/lido-pos.js +1 -1
  172. package/dist/components/lido-random.js +1 -1
  173. package/dist/components/lido-root.js +1 -1
  174. package/dist/components/lido-row.js +1 -1
  175. package/dist/components/lido-shape.js +1 -1
  176. package/dist/components/lido-slide-fill.js +1 -1
  177. package/dist/components/lido-text.js +1 -1
  178. package/dist/components/lido-trace.js +1 -1
  179. package/dist/components/lido-wrap.js +1 -1
  180. package/dist/components/p-B4iWvszS.js +1 -0
  181. package/dist/components/{p-C5jvgiPE.js → p-BA-XmR9g.js} +1 -1
  182. package/dist/components/p-BJt-z8VW.js +1 -0
  183. package/dist/components/{p-CTlcpv4a.js → p-BfwUqpXc.js} +1 -1
  184. package/dist/components/{p-DNo3iX_r.js → p-BiBt9LGP.js} +1 -1
  185. package/dist/components/{p-DG0KR2iN.js → p-BlN0IsR4.js} +1 -1
  186. package/dist/components/{p-CFPSty2U.js → p-BpVpANK9.js} +1 -1
  187. package/dist/components/{p-CgsPIpg0.js → p-Bw-OC9iR.js} +1 -1
  188. package/dist/components/p-C2J7-bcH.js +1 -0
  189. package/dist/components/{p-CFWohOId.js → p-CEmofYPx.js} +1 -1
  190. package/dist/components/{p-C5WmmkI6.js → p-CPYnt0P-.js} +1 -1
  191. package/dist/components/{p-CsDu4kiC.js → p-ChfVUoX4.js} +1 -1
  192. package/dist/components/p-CnQ-4EIw.js +1 -0
  193. package/dist/components/{p-CXHPZN3m.js → p-CyGxEcn7.js} +1 -1
  194. package/dist/components/{p-C-pHQRbp.js → p-D1cBkIab.js} +1 -1
  195. package/dist/components/p-DP6jQ5ML.js +1 -0
  196. package/dist/components/{p-Bv1hunWk.js → p-DV-k1ulI.js} +1 -1
  197. package/dist/components/p-Qhj9-H6e.js +12 -0
  198. package/dist/components/{p-Bh_vemY3.js → p-hUfX1As2.js} +1 -1
  199. package/dist/components/p-leIEepjl.js +1 -0
  200. package/dist/components/{p-B8nzzM8c.js → p-s4oGlKg6.js} +1 -1
  201. package/dist/components/{p-C70ykycD.js → p-useuhkjH.js} +1 -1
  202. package/dist/esm/{decode-BxzUG5XP.js → decode-DhjaTUf2.js} +1 -1
  203. package/dist/esm/{index-C_uxZLF-.js → index-Bc6Y7rds.js} +235 -88
  204. package/dist/esm/{index-mMpK8062.js → index-Dvjbti-h.js} +1 -1
  205. package/dist/esm/index.js +2 -2
  206. package/dist/esm/lido-avatar_22.entry.js +214 -53
  207. package/dist/esm/lido-player.js +3 -3
  208. package/dist/esm/loader.js +3 -3
  209. package/dist/lido-player/assets/Shadow.svg +9 -9
  210. package/dist/lido-player/assets/Tracing-hand.svg +8 -8
  211. package/dist/lido-player/index.esm.js +1 -1
  212. package/dist/lido-player/lido-avatar.css +4 -4
  213. package/dist/lido-player/lido-avatar.tsx +214 -214
  214. package/dist/lido-player/lido-player.css +7 -7
  215. package/dist/lido-player/lido-player.esm.js +1 -1
  216. package/dist/lido-player/{p-CsCr7DlS.js → p-CORilAH-.js} +1 -1
  217. package/dist/lido-player/p-D66K5DXn.js +1 -0
  218. package/dist/lido-player/p-Dvjbti-h.js +2 -0
  219. package/dist/lido-player/p-ca195982.entry.js +12 -0
  220. package/dist/lido-player/readme.md +49 -49
  221. package/dist/types/components/container/lido-container.d.ts +7 -0
  222. package/dist/types/components/flashCard/lido-flash-card.d.ts +2 -0
  223. package/dist/types/components.d.ts +1 -0
  224. package/dist/types/types/json.d.ts +3 -3
  225. package/dist/types/utils/audioPlayer.d.ts +1 -1
  226. package/dist/types/utils/constants.d.ts +2 -0
  227. package/dist/types/utils/utils.d.ts +11 -0
  228. package/dist/types/utils/utilsHandlers/slideHandler.d.ts +1 -1
  229. package/package.json +73 -73
  230. package/readme.md +113 -113
  231. package/dist/components/p-CgBwmr9A.js +0 -12
  232. package/dist/components/p-Ckb8QhUV.js +0 -1
  233. package/dist/components/p-DDwqmTYM.js +0 -1
  234. package/dist/components/p-DLyacZap.js +0 -1
  235. package/dist/components/p-DONbWJGn.js +0 -1
  236. package/dist/components/p-DXy70SGv.js +0 -1
  237. package/dist/components/p-Gwko4CTL.js +0 -1
  238. package/dist/lido-player/p-00993d1a.entry.js +0 -12
  239. package/dist/lido-player/p-mMpK8062.js +0 -2
  240. package/dist/lido-player/p-v3GBrpv9.js +0 -1
@@ -77,7 +77,7 @@ export class LidoRow {
77
77
  };
78
78
  }
79
79
  render() {
80
- return (h(Host, { key: '30b1857fc65b826cfad9c08f71ea1c2f7cc966e4', class: "lido-row", type: this.type, "tab-index": this.tabIndex, value: this.value, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, minDrops: this.minDrops, maxDrops: this.maxDrops, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, "disable-speak": this.disableSpeak }, h("slot", { key: '747f20051ad1fd1dd075ba457b612e9d8ef7d27d' })));
80
+ return (h(Host, { key: 'c69aea0b1b11d9aec167d1a4376f68073f91ca81', class: "lido-row", type: this.type, "tab-index": this.tabIndex, value: this.value, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, minDrops: this.minDrops, maxDrops: this.maxDrops, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, "disable-speak": this.disableSpeak }, h("slot", { key: '8756ee0447057cddb949e23decbde5fe4d1d25c8' })));
81
81
  }
82
82
  static get is() { return "lido-row"; }
83
83
  static get originalStyleUrls() {
@@ -447,7 +447,7 @@ export class LidoRow {
447
447
  "optional": false,
448
448
  "docs": {
449
449
  "tags": [],
450
- "text": "The number of child elements that should be displayed inside the row.\nThis value is dynamically adjusted based on `minLength` and `maxLength`."
450
+ "text": "The number of child elements that should be displayed inside the row.\r\nThis value is dynamically adjusted based on `minLength` and `maxLength`."
451
451
  },
452
452
  "getter": false,
453
453
  "setter": false,
@@ -466,7 +466,7 @@ export class LidoRow {
466
466
  "optional": false,
467
467
  "docs": {
468
468
  "tags": [],
469
- "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."
469
+ "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."
470
470
  },
471
471
  "getter": false,
472
472
  "setter": false,
@@ -485,7 +485,7 @@ export class LidoRow {
485
485
  "optional": false,
486
486
  "docs": {
487
487
  "tags": [],
488
- "text": "The maximum number of child elements that can be displayed inside the row.\nIf `childElementsLength` exceeds this value, excess elements will be hidden."
488
+ "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."
489
489
  },
490
490
  "getter": false,
491
491
  "setter": false,
@@ -563,7 +563,7 @@ export class LidoRow {
563
563
  "optional": true,
564
564
  "docs": {
565
565
  "tags": [],
566
- "text": "Sets the CSS display property for the component.\nAccepts any valid CSS display value (e.g., 'block', 'flex', 'grid', 'none')."
566
+ "text": "Sets the CSS display property for the component.\r\nAccepts any valid CSS display value (e.g., 'block', 'flex', 'grid', 'none')."
567
567
  },
568
568
  "getter": false,
569
569
  "setter": false,
@@ -582,7 +582,7 @@ export class LidoRow {
582
582
  "optional": false,
583
583
  "docs": {
584
584
  "tags": [],
585
- "text": "CSS margin value applied to each child element inside the container.\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
585
+ "text": "CSS margin value applied to each child element inside the container.\r\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
586
586
  },
587
587
  "getter": false,
588
588
  "setter": false,
@@ -1,9 +1,9 @@
1
- <svg width="120" height="60" viewBox="0 0 120 60" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <defs>
3
- <radialGradient id="shadowGradient" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(60 34) rotate(90) scale(34 46)">
4
- <stop offset="0" stop-color="#000000" stop-opacity="0.35"/>
5
- <stop offset="1" stop-color="#000000" stop-opacity="0"/>
6
- </radialGradient>
7
- </defs>
8
- <ellipse cx="60" cy="34" rx="46" ry="14" fill="url(#shadowGradient)"/>
9
- </svg>
1
+ <svg width="120" height="60" viewBox="0 0 120 60" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <defs>
3
+ <radialGradient id="shadowGradient" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(60 34) rotate(90) scale(34 46)">
4
+ <stop offset="0" stop-color="#000000" stop-opacity="0.35"/>
5
+ <stop offset="1" stop-color="#000000" stop-opacity="0"/>
6
+ </radialGradient>
7
+ </defs>
8
+ <ellipse cx="60" cy="34" rx="46" ry="14" fill="url(#shadowGradient)"/>
9
+ </svg>
@@ -1,174 +1,174 @@
1
- #lido-balance {
2
- position: relative;
3
- height: 500px;
4
- width: 1205px;
5
- top: 20%;
6
- left: -91px;
7
- z-index: 0;
8
- }
9
-
10
- .lido-balance-symbol {
11
- position: absolute;
12
- top: 64%;
13
- left: 50%;
14
- transform: translate(-50%, -50%);
15
- font-size: 5vw;
16
- font-weight: bold;
17
- color: black;
18
- pointer-events: none;
19
- z-index: 999;
20
- }
21
- @media (orientation: portrait) {
22
- .lido-balance-shadow {
23
- height: 100px;
24
- position: absolute;
25
- top: 80%;
26
- left: 28%;
27
- }
28
- }
29
-
30
- .balance-plate-feedback {
31
- position: absolute;
32
- top: 52%;
33
- width: 34%;
34
- height: 12px;
35
- border-radius: 0 0 8px 8px;
36
- opacity: 0.95;
37
- box-shadow: 0 9px 10px -2px rgba(70, 0, 0, 0.6);
38
- pointer-events: none;
39
- z-index: 95;
40
- }
41
-
42
- .balance-plate-feedback[aria-hidden='true'] { display: none; }
43
- .balance-plate-feedback.left { left: 2.5%; }
44
- .balance-plate-feedback.right { right: 2.5%; }
45
- .balance-plate-feedback::after {
46
- content: '';
47
- position: absolute;
48
- top: 100%;
49
- left: 4%;
50
- width: 92%;
51
- height: 11px;
52
- border-radius: 0 0 8px 8px;
53
- background: inherit;
54
- opacity: 0.75;
55
- filter: blur(5px);
56
- pointer-events: none;
57
- }
58
-
59
- @media (orientation: landscape) {
60
- .lido-balance-shadow {
61
- height: 100px ;
62
- position: absolute;
63
- top: 90% ;
64
- left: 33% ;
65
- }
66
- }
67
- @media (orientation: portrait) {
68
- #pivotimg {
69
- position: absolute;
70
- height:auto;
71
- width: 23%;
72
- bottom: 18%;
73
- left: 38%;
74
- z-index: 100;
75
-
76
- }
77
- }
78
-
79
- #pivotimg::after {
80
- content: "";
81
- position: absolute;
82
- bottom: -30px;
83
- left: 50%;
84
- transform: translateX(-50%);
85
- width: 120%;
86
- height: 60px;
87
- background-image: var(--lido-balance-shadow-url);
88
- background-size: contain;
89
- background-repeat: no-repeat;
90
- background-position: center;
91
- pointer-events: none;
92
- z-index: 10;
93
- }
94
-
95
- @media (orientation: landscape) {
96
- #pivotimg {
97
- position: absolute;
98
- height:auto;
99
- width: 23%;
100
- bottom: 8%;
101
- left: 38%;
102
- z-index: 100;
103
- }
104
- }
105
-
106
- .lido-balance .pivot svg {
107
- width: 100%;
108
- height: auto;
109
- }
110
-
111
-
112
- #scaleimg {
113
- position: absolute;
114
- width: 73%;
115
- height: auto;
116
- top: 61%;
117
- left: 14%;
118
- z-index: 90;
119
- }
120
- .lido-balance .scale svg {
121
- width: 100%;
122
- height: auto;
123
- }
124
-
125
- @media (orientation: landscape) {
126
- #handlerimg {
127
- position: absolute;
128
- width: 35%;
129
- height: auto;
130
- top:49%;
131
- left: 2%;
132
- }}
133
- @media (orientation:portrait ) {
134
- #handlerimg {
135
- position: absolute;
136
- width: 35%;
137
- height: auto;
138
- top:53%;
139
- left: 2%;
140
- }}
141
- .lido-balance .handler svg {
142
- width: 100%;
143
- height: auto;
144
- fill: brown;
145
- }
146
-
147
- @media (orientation: landscape) {
148
- #handimg {
149
- position: absolute;
150
- width: 35%;
151
- height: auto;
152
- top: 49%;
153
- right: 2%;
154
- }}
155
- @media (orientation:portrait) {
156
- #handimg {
157
- position: absolute;
158
- width: 35%;
159
- height: auto;
160
- top: 53%;
161
- right: 2%;
162
- }}
163
- .lido-balance .hand svg {
164
- width: 100%;
165
- height: auto;
166
- fill: brown;
167
- }
168
-
169
- .pivot svg path:nth-of-type(1) {
170
- fill: brown;
171
- }
172
- .pivot svg path[d^="M78.9414"] {
173
- fill: white;
174
- }
1
+ #lido-balance {
2
+ position: relative;
3
+ height: 500px;
4
+ width: 1205px;
5
+ top: 20%;
6
+ left: -91px;
7
+ z-index: 0;
8
+ }
9
+
10
+ .lido-balance-symbol {
11
+ position: absolute;
12
+ top: 64%;
13
+ left: 50%;
14
+ transform: translate(-50%, -50%);
15
+ font-size: 5vw;
16
+ font-weight: bold;
17
+ color: black;
18
+ pointer-events: none;
19
+ z-index: 999;
20
+ }
21
+ @media (orientation: portrait) {
22
+ .lido-balance-shadow {
23
+ height: 100px;
24
+ position: absolute;
25
+ top: 80%;
26
+ left: 28%;
27
+ }
28
+ }
29
+
30
+ .balance-plate-feedback {
31
+ position: absolute;
32
+ top: 52%;
33
+ width: 34%;
34
+ height: 12px;
35
+ border-radius: 0 0 8px 8px;
36
+ opacity: 0.95;
37
+ box-shadow: 0 9px 10px -2px rgba(70, 0, 0, 0.6);
38
+ pointer-events: none;
39
+ z-index: 95;
40
+ }
41
+
42
+ .balance-plate-feedback[aria-hidden='true'] { display: none; }
43
+ .balance-plate-feedback.left { left: 2.5%; }
44
+ .balance-plate-feedback.right { right: 2.5%; }
45
+ .balance-plate-feedback::after {
46
+ content: '';
47
+ position: absolute;
48
+ top: 100%;
49
+ left: 4%;
50
+ width: 92%;
51
+ height: 11px;
52
+ border-radius: 0 0 8px 8px;
53
+ background: inherit;
54
+ opacity: 0.75;
55
+ filter: blur(5px);
56
+ pointer-events: none;
57
+ }
58
+
59
+ @media (orientation: landscape) {
60
+ .lido-balance-shadow {
61
+ height: 100px ;
62
+ position: absolute;
63
+ top: 90% ;
64
+ left: 33% ;
65
+ }
66
+ }
67
+ @media (orientation: portrait) {
68
+ #pivotimg {
69
+ position: absolute;
70
+ height:auto;
71
+ width: 23%;
72
+ bottom: 18%;
73
+ left: 38%;
74
+ z-index: 100;
75
+
76
+ }
77
+ }
78
+
79
+ #pivotimg::after {
80
+ content: "";
81
+ position: absolute;
82
+ bottom: -30px;
83
+ left: 50%;
84
+ transform: translateX(-50%);
85
+ width: 120%;
86
+ height: 60px;
87
+ background-image: var(--lido-balance-shadow-url);
88
+ background-size: contain;
89
+ background-repeat: no-repeat;
90
+ background-position: center;
91
+ pointer-events: none;
92
+ z-index: 10;
93
+ }
94
+
95
+ @media (orientation: landscape) {
96
+ #pivotimg {
97
+ position: absolute;
98
+ height:auto;
99
+ width: 23%;
100
+ bottom: 8%;
101
+ left: 38%;
102
+ z-index: 100;
103
+ }
104
+ }
105
+
106
+ .lido-balance .pivot svg {
107
+ width: 100%;
108
+ height: auto;
109
+ }
110
+
111
+
112
+ #scaleimg {
113
+ position: absolute;
114
+ width: 73%;
115
+ height: auto;
116
+ top: 61%;
117
+ left: 14%;
118
+ z-index: 90;
119
+ }
120
+ .lido-balance .scale svg {
121
+ width: 100%;
122
+ height: auto;
123
+ }
124
+
125
+ @media (orientation: landscape) {
126
+ #handlerimg {
127
+ position: absolute;
128
+ width: 35%;
129
+ height: auto;
130
+ top:49%;
131
+ left: 2%;
132
+ }}
133
+ @media (orientation:portrait ) {
134
+ #handlerimg {
135
+ position: absolute;
136
+ width: 35%;
137
+ height: auto;
138
+ top:53%;
139
+ left: 2%;
140
+ }}
141
+ .lido-balance .handler svg {
142
+ width: 100%;
143
+ height: auto;
144
+ fill: brown;
145
+ }
146
+
147
+ @media (orientation: landscape) {
148
+ #handimg {
149
+ position: absolute;
150
+ width: 35%;
151
+ height: auto;
152
+ top: 49%;
153
+ right: 2%;
154
+ }}
155
+ @media (orientation:portrait) {
156
+ #handimg {
157
+ position: absolute;
158
+ width: 35%;
159
+ height: auto;
160
+ top: 53%;
161
+ right: 2%;
162
+ }}
163
+ .lido-balance .hand svg {
164
+ width: 100%;
165
+ height: auto;
166
+ fill: brown;
167
+ }
168
+
169
+ .pivot svg path:nth-of-type(1) {
170
+ fill: brown;
171
+ }
172
+ .pivot svg path[d^="M78.9414"] {
173
+ fill: white;
174
+ }
@@ -231,7 +231,7 @@ export class LidoBalance {
231
231
  };
232
232
  }
233
233
  render() {
234
- return (h(Host, { key: 'e0e67ca26ec3906d9f085686dcb7c12f5022c35c', id: "lido-balance", "bg-color": "red", onEntry: this.onEntry, class: "lido-balance", tilt: this.tilt.toString(), style: this.style, operation: this.operation.toString(), "pivot-image": this.pivotSvg, "scale-image": this.scaleSvg, "handler-image": this.handlerSvg }, h("div", { key: 'e69bada9ab75d0d73dbf2b999b52e149125d213b', innerHTML: this.pivotSvg, id: "pivotimg", class: "pivot" }), h("div", { key: '2b0cc721fe9e90c4343e9401ce6b2c5a6c689d2e', innerHTML: this.scaleSvg, id: "scaleimg", class: "scale", ref: (el) => (this.scaleEl = el) }), h("div", { key: 'd2acc209d2fb3e74c148b8464895bec91f9e32ad', innerHTML: this.handlerSvg, id: "handlerimg", class: "handler", ref: (el) => (this.leftHandleEl = el) }), h("div", { key: 'e5c1c7f4143e97c30b0866dde1919667b3ec4a61', innerHTML: this.handlerSvg, id: "handimg", class: "hand", ref: (el) => (this.rightHandleEl = el) }), h("div", { key: '425602ff5dcbd12479651c7ed3f9585dcc1fcf06', class: "balance-plate-feedback left", ref: (el) => (this.leftFeedbackEl = el), style: { backgroundColor: this.feedbackColor }, "aria-hidden": !this.feedbackColor }), h("div", { key: '2bb09b99cc5ed98773c65465a1c6f28c89e97800', class: "balance-plate-feedback right", ref: (el) => (this.rightFeedbackEl = el), style: { backgroundColor: this.feedbackColor }, "aria-hidden": !this.feedbackColor }), h("div", { key: 'cc31758d61122a9e7ecca387d4e62fcab55516a4', id: "balanceSymbol", class: "lido-balance-symbol", "aria-hidden": !this.showSymbol }, this.showSymbol ? this.balanceSymbol : '')));
234
+ return (h(Host, { key: 'b455b2b5d330a2125f7fb8b4e2165d2e6e6bc1a0', id: "lido-balance", "bg-color": "red", onEntry: this.onEntry, class: "lido-balance", tilt: this.tilt.toString(), style: this.style, operation: this.operation.toString(), "pivot-image": this.pivotSvg, "scale-image": this.scaleSvg, "handler-image": this.handlerSvg }, h("div", { key: '657f471d397dd7e3476d5b6e35ee4495c8f2db4c', innerHTML: this.pivotSvg, id: "pivotimg", class: "pivot" }), h("div", { key: '7b91e1919db1fdbcddf79f43a9ad51695b7c806f', innerHTML: this.scaleSvg, id: "scaleimg", class: "scale", ref: (el) => (this.scaleEl = el) }), h("div", { key: '137a1440d55776d0771d8cd71741202c224896db', innerHTML: this.handlerSvg, id: "handlerimg", class: "handler", ref: (el) => (this.leftHandleEl = el) }), h("div", { key: 'd6e0deae63a4e219757240e585d582fb5a72a071', innerHTML: this.handlerSvg, id: "handimg", class: "hand", ref: (el) => (this.rightHandleEl = el) }), h("div", { key: 'ef51f98937cf10c017c8289359c92c24e7316a16', class: "balance-plate-feedback left", ref: (el) => (this.leftFeedbackEl = el), style: { backgroundColor: this.feedbackColor }, "aria-hidden": !this.feedbackColor }), h("div", { key: 'f21aade8543977b657a4d2fbcd623cf8769459a0', class: "balance-plate-feedback right", ref: (el) => (this.rightFeedbackEl = el), style: { backgroundColor: this.feedbackColor }, "aria-hidden": !this.feedbackColor }), h("div", { key: '0470afcef443dbeb69a7d651220d5ff50be3836e', id: "balanceSymbol", class: "lido-balance-symbol", "aria-hidden": !this.showSymbol }, this.showSymbol ? this.balanceSymbol : '')));
235
235
  }
236
236
  static get is() { return "lido-balance"; }
237
237
  static get originalStyleUrls() {
@@ -319,7 +319,7 @@ export class LidoBalance {
319
319
  "optional": false,
320
320
  "docs": {
321
321
  "tags": [],
322
- "text": "Fill color applied to all loaded SVGs (pivot, scale, handler).\nDefaults to \"brown\"."
322
+ "text": "Fill color applied to all loaded SVGs (pivot, scale, handler).\r\nDefaults to \"brown\"."
323
323
  },
324
324
  "getter": false,
325
325
  "setter": false,
@@ -339,7 +339,7 @@ export class LidoBalance {
339
339
  "optional": false,
340
340
  "docs": {
341
341
  "tags": [],
342
- "text": "Initial tilt value of the balance.\nNegative = tilts left, Positive = tilts right."
342
+ "text": "Initial tilt value of the balance.\r\nNegative = tilts left, Positive = tilts right."
343
343
  },
344
344
  "getter": false,
345
345
  "setter": false,
@@ -379,7 +379,7 @@ export class LidoBalance {
379
379
  "optional": false,
380
380
  "docs": {
381
381
  "tags": [],
382
- "text": "Action(s) to execute when the component enters the DOM.\nExample: trigger animations or audio cues."
382
+ "text": "Action(s) to execute when the component enters the DOM.\r\nExample: trigger animations or audio cues."
383
383
  },
384
384
  "getter": false,
385
385
  "setter": false,
@@ -399,7 +399,7 @@ export class LidoBalance {
399
399
  "optional": false,
400
400
  "docs": {
401
401
  "tags": [],
402
- "text": "CSS height of the component (responsive values allowed).\nDefault: \"auto\"."
402
+ "text": "CSS height of the component (responsive values allowed).\r\nDefault: \"auto\"."
403
403
  },
404
404
  "getter": false,
405
405
  "setter": false,
@@ -419,7 +419,7 @@ export class LidoBalance {
419
419
  "optional": false,
420
420
  "docs": {
421
421
  "tags": [],
422
- "text": "CSS width of the component (responsive values allowed).\nDefault: \"auto\"."
422
+ "text": "CSS width of the component (responsive values allowed).\r\nDefault: \"auto\"."
423
423
  },
424
424
  "getter": false,
425
425
  "setter": false,
@@ -439,7 +439,7 @@ export class LidoBalance {
439
439
  "optional": false,
440
440
  "docs": {
441
441
  "tags": [],
442
- "text": "Horizontal (X-axis) offset for positioning the component.\nDefault: \"0px\"."
442
+ "text": "Horizontal (X-axis) offset for positioning the component.\r\nDefault: \"0px\"."
443
443
  },
444
444
  "getter": false,
445
445
  "setter": false,
@@ -459,7 +459,7 @@ export class LidoBalance {
459
459
  "optional": false,
460
460
  "docs": {
461
461
  "tags": [],
462
- "text": "Vertical (Y-axis) offset for positioning the component.\nDefault: \"0px\"."
462
+ "text": "Vertical (Y-axis) offset for positioning the component.\r\nDefault: \"0px\"."
463
463
  },
464
464
  "getter": false,
465
465
  "setter": false,
@@ -479,7 +479,7 @@ export class LidoBalance {
479
479
  "optional": false,
480
480
  "docs": {
481
481
  "tags": [],
482
- "text": "Z-index for stacking order of the component.\nDefault: \"0\"."
482
+ "text": "Z-index for stacking order of the component.\r\nDefault: \"0\"."
483
483
  },
484
484
  "getter": false,
485
485
  "setter": false,
@@ -499,7 +499,7 @@ export class LidoBalance {
499
499
  "optional": false,
500
500
  "docs": {
501
501
  "tags": [],
502
- "text": "Controls component visibility.\nAccepts boolean (`true`/`false`) or string (\"true\"/\"false\")."
502
+ "text": "Controls component visibility.\r\nAccepts boolean (`true`/`false`) or string (\"true\"/\"false\")."
503
503
  },
504
504
  "getter": false,
505
505
  "setter": false,
@@ -559,7 +559,7 @@ export class LidoBalance {
559
559
  "optional": false,
560
560
  "docs": {
561
561
  "tags": [],
562
- "text": "Balance symbol shown when `showSymbol` is true.\nDefault: \"=\"."
562
+ "text": "Balance symbol shown when `showSymbol` is true.\r\nDefault: \"=\"."
563
563
  },
564
564
  "getter": false,
565
565
  "setter": false,
@@ -579,7 +579,7 @@ export class LidoBalance {
579
579
  "optional": false,
580
580
  "docs": {
581
581
  "tags": [],
582
- "text": "Whether the balance symbol is currently displayed.\nCan be toggled with `revealSymbol()` and `hideSymbol()`."
582
+ "text": "Whether the balance symbol is currently displayed.\r\nCan be toggled with `revealSymbol()` and `hideSymbol()`."
583
583
  },
584
584
  "getter": false,
585
585
  "setter": false,
@@ -599,7 +599,7 @@ export class LidoBalance {
599
599
  "optional": false,
600
600
  "docs": {
601
601
  "tags": [],
602
- "text": "Operation type used to calculate balance values.\nSupported: \"count\", \"add\", \"subtract\", etc."
602
+ "text": "Operation type used to calculate balance values.\r\nSupported: \"count\", \"add\", \"subtract\", etc."
603
603
  },
604
604
  "getter": false,
605
605
  "setter": false,