lido-player 0.0.2-beta-18-dev → 0.0.2-beta-21-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.
- package/LICENSE +21 -21
- package/dist/cjs/{decode-DUZYNXIv.js → decode-Buln7Iaf.js} +1 -1
- package/dist/cjs/{index-BEjUmVtH.js → index-Bb_TFgTA.js} +137 -64
- package/dist/cjs/{index-DnqQXD5x.js → index-DBCFoh1I.js} +12 -53
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/lido-avatar_22.cjs.entry.js +139 -50
- package/dist/cjs/lido-player.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/avatar/lido-avatar.css +4 -4
- package/dist/collection/components/avatar/lido-avatar.js +1 -1
- package/dist/collection/components/avatar/lido-avatar.tsx +207 -207
- package/dist/collection/components/avatar/readme.md +49 -49
- package/dist/collection/components/calculator/lido-calculator.css +89 -89
- package/dist/collection/components/calculator/lido-calculator.js +2 -2
- package/dist/collection/components/canvas/lido-canvas.css +33 -33
- package/dist/collection/components/canvas/lido-canvas.js +1 -1
- package/dist/collection/components/cell/lido-cell.css +100 -100
- package/dist/collection/components/cell/lido-cell.js +12 -12
- package/dist/collection/components/column/lido-col.css +19 -19
- package/dist/collection/components/column/lido-col.js +6 -6
- package/dist/collection/components/container/lido-container.css +10 -10
- package/dist/collection/components/container/lido-container.js +8 -8
- package/dist/collection/components/flashCard/lido-flash-card.css +28 -28
- package/dist/collection/components/flashCard/lido-flash-card.js +4 -4
- package/dist/collection/components/float/lido-float.css +30 -30
- package/dist/collection/components/float/lido-float.js +2 -2
- package/dist/collection/components/home/lido-home.css +309 -309
- package/dist/collection/components/home/lido-home.js +5 -5
- package/dist/collection/components/image/lido-image.css +17 -17
- package/dist/collection/components/image/lido-image.js +6 -6
- package/dist/collection/components/keyboard/lido-keyboard.css +38 -38
- package/dist/collection/components/keyboard/lido-keyboard.js +3 -3
- package/dist/collection/components/mathMatrix/lido-math-matrix.css +56 -56
- package/dist/collection/components/mathMatrix/lido-math-matrix.js +1 -1
- package/dist/collection/components/position/lido-pos.css +16 -16
- package/dist/collection/components/position/lido-pos.js +2 -2
- package/dist/collection/components/random/lido-random.css +8 -8
- package/dist/collection/components/random/lido-random.js +2 -2
- package/dist/collection/components/root/lido-root.js +5 -5
- package/dist/collection/components/row/lido-row.css +10 -10
- package/dist/collection/components/row/lido-row.js +6 -6
- package/dist/collection/components/scale/assets/Shadow.svg +9 -9
- package/dist/collection/components/scale/lido-balance.css +145 -145
- package/dist/collection/components/scale/lido-balance.js +13 -13
- package/dist/collection/components/shape/lido-shape.css +216 -216
- package/dist/collection/components/shape/lido-shape.js +6 -6
- package/dist/collection/components/slideFill/lido-slide-fill.css +3 -3
- package/dist/collection/components/slideFill/lido-slide-fill.js +13 -13
- package/dist/collection/components/text/lido-text.css +53 -53
- package/dist/collection/components/text/lido-text.js +5 -5
- package/dist/collection/components/trace/assets/Tracing-hand.svg +8 -8
- package/dist/collection/components/trace/lido-trace.css +97 -97
- package/dist/collection/components/trace/lido-trace.js +108 -19
- package/dist/collection/components/wrap/lido-wrap.css +18 -18
- package/dist/collection/components/wrap/lido-wrap.js +6 -6
- package/dist/collection/css/animation.css +211 -211
- package/dist/collection/css/index.css +324 -315
- package/dist/collection/stories/Templates/Fill-Up/fill-up.stories.js +61 -61
- package/dist/collection/stories/Templates/LetterPairing/LetterPairing.stories.js +123 -123
- package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +48 -48
- package/dist/collection/stories/Templates/Tag/tagGame.stories.js +39 -39
- package/dist/collection/stories/Templates/arrangeLetters/arrangeLetters.stories.js +44 -44
- package/dist/collection/stories/Templates/balancing/balancing.stories.js +35 -35
- package/dist/collection/stories/Templates/balloonPop/balloonPop.stories.js +38 -38
- package/dist/collection/stories/Templates/blender/blender.stories.js +59 -59
- package/dist/collection/stories/Templates/bubbleType/bubbleType.stories.js +42 -42
- package/dist/collection/stories/Templates/calculator/calculator.stories.js +28 -28
- package/dist/collection/stories/Templates/categorize/categorize.stories.js +37 -37
- package/dist/collection/stories/Templates/categorize2/categorize2.stories.js +67 -67
- package/dist/collection/stories/Templates/checker-block/checkerBlock.stories.js +29 -29
- package/dist/collection/stories/Templates/checkerBlock/checkerBlock.stories.js +13 -13
- package/dist/collection/stories/Templates/create-sentence/createSentence.stories.js +74 -74
- package/dist/collection/stories/Templates/dragAndDrop/drag-drop.stories.js +69 -69
- package/dist/collection/stories/Templates/fillAnswer/fill-answer.stories.js +43 -43
- package/dist/collection/stories/Templates/fillBlank/fill-blank.stories.js +282 -282
- package/dist/collection/stories/Templates/foodJar/food-jar.stories.js +35 -35
- package/dist/collection/stories/Templates/grid/grid.stories.js +118 -118
- package/dist/collection/stories/Templates/gridGame/grid-game.stories.js +57 -57
- package/dist/collection/stories/Templates/imageMatch/imageMatch.stories.js +44 -44
- package/dist/collection/stories/Templates/jumpSentence/jumpSentence.stories.js +41 -41
- package/dist/collection/stories/Templates/letterboard/letterboard.stories.js +183 -183
- package/dist/collection/stories/Templates/makeSentence/make-sentence.stories.js +36 -36
- package/dist/collection/stories/Templates/matchBox/matchBox.stories.js +69 -69
- package/dist/collection/stories/Templates/matchBox/matchBox2.stories.js +84 -84
- package/dist/collection/stories/Templates/matchingCard/matching-card.stories.js +31 -31
- package/dist/collection/stories/Templates/multipleOption/mcqWithQuestionImage.stories.js +112 -112
- package/dist/collection/stories/Templates/multipleOption/multiple-option.stories.js +47 -47
- package/dist/collection/stories/Templates/multiplyBeeds/multiplyBeeds.stories.js +57 -57
- package/dist/collection/stories/Templates/nimbleTable/nimbleTable.stories.js +53 -53
- package/dist/collection/stories/Templates/numberBoard/numberBoard.stories.js +46 -46
- package/dist/collection/stories/Templates/numberBoardTwo/numberBoardTwo.stories.js +45 -45
- package/dist/collection/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.js +56 -56
- package/dist/collection/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.js +53 -53
- package/dist/collection/stories/Templates/numberPair/numberPair.stories.js +127 -127
- package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +47 -47
- package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +38 -38
- package/dist/collection/stories/Templates/order-tractor/order-tractor-ascending-order.stories.js +97 -97
- package/dist/collection/stories/Templates/order-tractor/order-tractor.stories.js +90 -90
- package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.js +45 -45
- package/dist/collection/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.js +79 -79
- package/dist/collection/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.js +32 -32
- package/dist/collection/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.js +42 -42
- package/dist/collection/stories/Templates/palEgraOptionWithAudio/palEgraOptionWithAudio.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.js +44 -44
- package/dist/collection/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.js +34 -34
- package/dist/collection/stories/Templates/palEgraWordMatch/palEgraWordMatch.stories.js +52 -52
- package/dist/collection/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.js +33 -33
- package/dist/collection/stories/Templates/palEgra_arrange_pictures/palEgra_arrange_pictures.stories.js +40 -40
- package/dist/collection/stories/Templates/palEgra_build_word/palEgra_build_word.stories.js +48 -48
- package/dist/collection/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.js +48 -48
- package/dist/collection/stories/Templates/palStorytale/palStorytale.stories.js +18 -18
- package/dist/collection/stories/Templates/phonic-tractor/phonic-tractor.stories.js +44 -44
- package/dist/collection/stories/Templates/pictureClues/pictureClues.stories.js +34 -34
- package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.js +36 -36
- package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.js +30 -30
- package/dist/collection/stories/Templates/picturemeaning/pictureMeaningCocos.stories.js +20 -20
- package/dist/collection/stories/Templates/puzzleGame/puzzleGame.stories.js +17 -17
- package/dist/collection/stories/Templates/questionBoard/questionBoard.stories.js +58 -58
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracy.stories.js +50 -50
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWithText.stories.js +36 -36
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWord.stories.js +43 -43
- package/dist/collection/stories/Templates/quizMaths/quizMaths.stories.js +631 -631
- package/dist/collection/stories/Templates/reorder/reorder.stories.js +63 -63
- package/dist/collection/stories/Templates/rowBlocks/rowBlocks.stories.js +47 -47
- package/dist/collection/stories/Templates/sentenceMatch/sentenceMatch.stories.js +29 -29
- package/dist/collection/stories/Templates/sequenceBox/sequenceBox1.stories.js +64 -64
- package/dist/collection/stories/Templates/sequenceBox/sequenceBox2.stories.js +62 -62
- package/dist/collection/stories/Templates/shapePair/shape-pair.stories.js +106 -106
- package/dist/collection/stories/Templates/shapeTractor/shape-tractor.stories.js +50 -50
- package/dist/collection/stories/Templates/spellDoor/spellDoor.stories.js +41 -41
- package/dist/collection/stories/Templates/storyTale/storyTale.stories.js +39 -39
- package/dist/collection/stories/Templates/substraction/substractionWithimg.stories.js +62 -62
- package/dist/collection/stories/Templates/substraction/substractionWithoutImg.stories.js +42 -42
- package/dist/collection/stories/Templates/sumTogether/sumTogether.stories.js +50 -50
- package/dist/collection/stories/Templates/tenBox/tenBox.stories.js +88 -88
- package/dist/collection/stories/Templates/total/total.stories.js +28 -28
- package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithimg.stories.js +35 -35
- package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.js +34 -34
- package/dist/collection/stories/Templates/writeCard/writeCard.stories.js +31 -31
- package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +58 -58
- package/dist/collection/stories/Templates/writeNumber/writeNumber.stories.js +44 -44
- package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +31 -31
- package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +34 -34
- package/dist/collection/stories/components/flash-card.stories.js +48 -48
- package/dist/collection/stories/components/keyboard.stories.js +10 -10
- package/dist/collection/stories/components/slider.stories.js +4 -4
- package/dist/collection/stories/components/trace.stories.js +5 -5
- package/dist/collection/utils/audioPlayer.js +2 -5
- package/dist/collection/utils/utils.js +49 -9
- package/dist/collection/utils/utilsHandlers/dragDropHandler.js +10 -10
- package/dist/collection/utils/utilsHandlers/highlightHandler.js +54 -54
- package/dist/collection/utils/utilsHandlers/sortHandler.js +53 -15
- package/dist/components/index.js +1 -1
- package/dist/components/lido-avatar.js +1 -1
- package/dist/components/lido-balance.js +1 -1
- package/dist/components/lido-calculator.js +1 -1
- package/dist/components/lido-canvas.js +1 -1
- package/dist/components/lido-cell.js +1 -1
- package/dist/components/lido-col.js +1 -1
- package/dist/components/lido-container.js +1 -1
- package/dist/components/lido-flash-card.js +1 -1
- package/dist/components/lido-float.js +1 -1
- package/dist/components/lido-home.js +1 -1
- package/dist/components/lido-keyboard.js +1 -1
- package/dist/components/lido-math-matrix.js +1 -1
- package/dist/components/lido-pos.js +1 -1
- package/dist/components/lido-random.js +1 -1
- package/dist/components/lido-root.js +1 -1
- package/dist/components/lido-row.js +1 -1
- package/dist/components/lido-shape.js +1 -1
- package/dist/components/lido-slide-fill.js +1 -1
- package/dist/components/lido-text.js +1 -1
- package/dist/components/lido-trace.js +1 -1
- package/dist/components/lido-wrap.js +1 -1
- package/dist/components/{p-yT7udDfd.js → p-B4YAipq-.js} +1 -1
- package/dist/components/{p-DdQ1eqJr.js → p-B8nzzM8c.js} +1 -1
- package/dist/components/p-BAfFgI9q.js +1 -0
- package/dist/components/{p-Sl9R-E6h.js → p-BBHM059l.js} +1 -1
- package/dist/components/{p-SPZTb5fI.js → p-BJMjg5wu.js} +1 -1
- package/dist/components/{p-Cj-6tqzU.js → p-BOQDbCrm.js} +1 -1
- package/dist/components/{p-CwDTdXe5.js → p-BeRr8u5m.js} +1 -1
- package/dist/components/{p-CjdDpXfk.js → p-BfqihbR6.js} +1 -1
- package/dist/components/{p-CPYnt0P-.js → p-C5WmmkI6.js} +1 -1
- package/dist/components/{p-useuhkjH.js → p-C70ykycD.js} +1 -1
- package/dist/components/{p-BE25wHoo.js → p-CCR42e0i.js} +1 -1
- package/dist/components/{p-BfwUqpXc.js → p-CTlcpv4a.js} +1 -1
- package/dist/components/{p-CyGxEcn7.js → p-CXHPZN3m.js} +1 -1
- package/dist/components/{p-Bw-OC9iR.js → p-CgsPIpg0.js} +1 -1
- package/dist/components/{p-D54c-ybm.js → p-CljvnHkI.js} +1 -1
- package/dist/components/p-CwIlwnQk.js +1 -0
- package/dist/components/p-DLyacZap.js +1 -0
- package/dist/components/p-DONbWJGn.js +1 -0
- package/dist/components/p-DVTigdH_.js +1 -0
- package/dist/components/{p-BNNX1Pew.js → p-wF7SBGpr.js} +2 -2
- package/dist/esm/{decode-BgBfbPZu.js → decode-B_VrYFdJ.js} +1 -1
- package/dist/esm/{index-D-29PaRa.js → index-B-VyHxJa.js} +137 -64
- package/dist/esm/{index-BeHFCsWf.js → index-mMpK8062.js} +12 -53
- package/dist/esm/index.js +2 -2
- package/dist/esm/lido-avatar_22.entry.js +139 -50
- package/dist/esm/lido-player.js +3 -3
- package/dist/esm/loader.js +2 -2
- package/dist/lido-player/assets/Shadow.svg +9 -9
- package/dist/lido-player/assets/Tracing-hand.svg +8 -8
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-avatar.css +4 -4
- package/dist/lido-player/lido-avatar.tsx +207 -207
- package/dist/lido-player/lido-player.css +8 -8
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/{p-856e1956.entry.js → p-744dee1c.entry.js} +2 -2
- package/dist/lido-player/p-BK926Rl3.js +1 -0
- package/dist/lido-player/{p-BA2X6O7O.js → p-Cw84dpIR.js} +1 -1
- package/dist/lido-player/p-mMpK8062.js +2 -0
- package/dist/lido-player/readme.md +49 -49
- package/dist/types/components/trace/lido-trace.d.ts +9 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -12
- package/dist/types/types/json.d.ts +3 -3
- package/dist/types/utils/utils.d.ts +1 -1
- package/dist/types/utils/utilsHandlers/dragDropHandler.d.ts +1 -0
- package/dist/types/utils/utilsHandlers/sortHandler.d.ts +2 -0
- package/loader/index.d.ts +1 -1
- package/package.json +74 -74
- package/readme.md +113 -113
- package/dist/components/p-BSV5U72F.js +0 -1
- package/dist/components/p-CTlwn9r7.js +0 -1
- package/dist/components/p-D-B1groh.js +0 -1
- package/dist/components/p-DbR5sNOj.js +0 -1
- package/dist/components/p-leIEepjl.js +0 -1
- package/dist/lido-player/p-BeHFCsWf.js +0 -3
- package/dist/lido-player/p-TuBmCgtK.js +0 -1
|
@@ -552,7 +552,7 @@ export class LidoImage {
|
|
|
552
552
|
"optional": false,
|
|
553
553
|
"docs": {
|
|
554
554
|
"tags": [],
|
|
555
|
-
"text": "Specifies the width for border-image slice (e.g., \"30px\", \"2em\").\
|
|
555
|
+
"text": "Specifies the width for border-image slice (e.g., \"30px\", \"2em\").\nOnly used when `isSlice` is enabled."
|
|
556
556
|
},
|
|
557
557
|
"getter": false,
|
|
558
558
|
"setter": false,
|
|
@@ -612,7 +612,7 @@ export class LidoImage {
|
|
|
612
612
|
"optional": false,
|
|
613
613
|
"docs": {
|
|
614
614
|
"tags": [],
|
|
615
|
-
"text": "CSS margin value applied to each child element inside the container.\
|
|
615
|
+
"text": "CSS margin value applied to each child element inside the container.\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
|
|
616
616
|
},
|
|
617
617
|
"getter": false,
|
|
618
618
|
"setter": false,
|
|
@@ -632,7 +632,7 @@ export class LidoImage {
|
|
|
632
632
|
"optional": false,
|
|
633
633
|
"docs": {
|
|
634
634
|
"tags": [],
|
|
635
|
-
"text": "CSS padding value applied to each child element inside the container.\
|
|
635
|
+
"text": "CSS padding value applied to each child element inside the container.\nAccepts standard CSS padding formats (e.g., '10px', '5px 10px', etc.)."
|
|
636
636
|
},
|
|
637
637
|
"getter": false,
|
|
638
638
|
"setter": false,
|
|
@@ -652,7 +652,7 @@ export class LidoImage {
|
|
|
652
652
|
"optional": false,
|
|
653
653
|
"docs": {
|
|
654
654
|
"tags": [],
|
|
655
|
-
"text": "CSS filter to apply visual effects (e.g., blur, brightness) to the image.\
|
|
655
|
+
"text": "CSS filter to apply visual effects (e.g., blur, brightness) to the image.\nExample: 'blur(5px)', 'brightness(0.8)', 'grayscale(100%)'"
|
|
656
656
|
},
|
|
657
657
|
"getter": false,
|
|
658
658
|
"setter": false,
|
|
@@ -672,7 +672,7 @@ export class LidoImage {
|
|
|
672
672
|
"optional": false,
|
|
673
673
|
"docs": {
|
|
674
674
|
"tags": [],
|
|
675
|
-
"text": "CSS filter to apply border radius to the image.\
|
|
675
|
+
"text": "CSS filter to apply border radius to the image.\nExample: '10px' for images."
|
|
676
676
|
},
|
|
677
677
|
"getter": false,
|
|
678
678
|
"setter": false,
|
|
@@ -692,7 +692,7 @@ export class LidoImage {
|
|
|
692
692
|
"optional": false,
|
|
693
693
|
"docs": {
|
|
694
694
|
"tags": [],
|
|
695
|
-
"text": "CSS transform property to apply transformations like rotate, scale, translate, etc.\
|
|
695
|
+
"text": "CSS transform property to apply transformations like rotate, scale, translate, etc.\nExample: 'rotate(45deg)' or 'scale(1.2)'."
|
|
696
696
|
},
|
|
697
697
|
"getter": false,
|
|
698
698
|
"setter": false,
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
.lido-keyboard {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
gap: 30px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.input-area {
|
|
9
|
-
display: flex;
|
|
10
|
-
gap: 15px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
input[type="text"] {
|
|
14
|
-
font-size: 30px;
|
|
15
|
-
font-weight: 600;
|
|
16
|
-
padding-left: 20px;
|
|
17
|
-
width: 300px;
|
|
18
|
-
height: 70px;
|
|
19
|
-
border: 2px solid;
|
|
20
|
-
background: whitesmoke;
|
|
21
|
-
border-radius: 20px;
|
|
22
|
-
text-align: center;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.keyboard-wrapper {
|
|
26
|
-
justify-content: center;
|
|
27
|
-
width: 700px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.disabled {
|
|
31
|
-
opacity: 0.5;
|
|
32
|
-
pointer-events: none;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.key-button {
|
|
36
|
-
background: aquamarine;
|
|
37
|
-
font-weight: 600;
|
|
38
|
-
}
|
|
1
|
+
.lido-keyboard {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: 30px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.input-area {
|
|
9
|
+
display: flex;
|
|
10
|
+
gap: 15px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
input[type="text"] {
|
|
14
|
+
font-size: 30px;
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
padding-left: 20px;
|
|
17
|
+
width: 300px;
|
|
18
|
+
height: 70px;
|
|
19
|
+
border: 2px solid;
|
|
20
|
+
background: whitesmoke;
|
|
21
|
+
border-radius: 20px;
|
|
22
|
+
text-align: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.keyboard-wrapper {
|
|
26
|
+
justify-content: center;
|
|
27
|
+
width: 700px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.disabled {
|
|
31
|
+
opacity: 0.5;
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.key-button {
|
|
36
|
+
background: aquamarine;
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
}
|
|
@@ -139,10 +139,10 @@ export class LidoKeyboard {
|
|
|
139
139
|
const keysArray = this.keys.split(',').map(k => k.trim());
|
|
140
140
|
const container = document.getElementById(LidoContainer);
|
|
141
141
|
const showCheck = container.getAttribute('show-check') === 'true';
|
|
142
|
-
return (h(Host, { key: '
|
|
142
|
+
return (h(Host, { key: '5773e8189c512e90d63217048f9372d00e4a7fe9', class: "lido-keyboard", style: { width: this.style.width, height: this.style.height, position: 'relative', margin: this.style.margin, zIndex: this.z } }, this.keyboardInput && (h("div", { key: '136fa3a2b0459a9a63e14ac8e212997e4bd32224', class: "input-area" }, h("input", { key: 'd9a1dc064d615b40b1e0e2b008dbf79ec70eb19b', type: "text", value: this.inputString, class: "input-area", readonly: true }), h("lido-text", { key: 'e6c53ea590c607b355d1f57d445d078c0bcf9085', visible: showCheck ? 'true' : 'false', string: "<<", "bg-color": "black", "font-color": "white", "border-radius": "20px", "font-size": "30px", width: "100px", height: "70px", type: "click", onClick: () => {
|
|
143
143
|
this.inputString = this.inputString.slice(0, -1);
|
|
144
144
|
this.inputValidation(event);
|
|
145
|
-
} }), h("lido-text", { key: '
|
|
145
|
+
} }), h("lido-text", { key: '815877bd027aa3540871c511df5937cfb0b6f149', visible: showCheck ? 'true' : 'false', id: "lido-checkButton", string: "Enter", "bg-color": "green", "font-color": "white", "border-radius": "20px", "font-size": "30px", width: "150px", height: "70px", type: "click" }))), this.letterLength && (h("lido-text", { key: '73c08eac4f9c154f47371e812fb337de26b10691', visible: "true", string: `${this.numberOfClick}/${this.letterLength}`, "font-size": "60px", "font-color": "white", onEntry: "this.position='absolute'; this.right='0'; this.fontWeight='800';", x: "unset" })), h("div", { key: '1e7855724f15fdb432320f6186fc356518a29224', class: "keyboard-wrapper", style: {
|
|
146
146
|
display: 'flex',
|
|
147
147
|
flexWrap: 'wrap',
|
|
148
148
|
justifyContent: 'center',
|
|
@@ -514,7 +514,7 @@ export class LidoKeyboard {
|
|
|
514
514
|
"optional": false,
|
|
515
515
|
"docs": {
|
|
516
516
|
"tags": [],
|
|
517
|
-
"text": "Indicates whether the keyboard input is enabled.\
|
|
517
|
+
"text": "Indicates whether the keyboard input is enabled.\nWhen set to `true`, the component will respond to keyboard events."
|
|
518
518
|
},
|
|
519
519
|
"getter": false,
|
|
520
520
|
"setter": false,
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
.math-matrix {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.slot {
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
text-align: center;
|
|
12
|
-
align-content: center;
|
|
13
|
-
font-size: 42px;
|
|
14
|
-
font-weight: 800;
|
|
15
|
-
font-family: 'Baloo Bhai 2';
|
|
16
|
-
box-sizing: content-box;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.slot:hover {
|
|
20
|
-
/* background-color: rgba(0, 0, 0, 0.116); */
|
|
21
|
-
opacity: 0.7;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.slot-parent {
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: 100%;
|
|
27
|
-
display: flex;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
align-items: center;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.slot-active {
|
|
34
|
-
background-color: var(--active-bg-color);
|
|
35
|
-
background-image: var(--bg-image);
|
|
36
|
-
background-size: contain;
|
|
37
|
-
background-position: center;
|
|
38
|
-
background-repeat: no-repeat;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.slot-inactive {
|
|
42
|
-
background-color: var(--deactive-bg-color);
|
|
43
|
-
background-size: cover;
|
|
44
|
-
background-position: center;
|
|
45
|
-
background-repeat: no-repeat;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.topIndex, .leftIndex, .bottomIndex {
|
|
49
|
-
height: 100%;
|
|
50
|
-
width: 100%;
|
|
51
|
-
text-align: center;
|
|
52
|
-
align-content: center;
|
|
53
|
-
font-size: 30px;
|
|
54
|
-
font-weight: 600;
|
|
55
|
-
font-family: 'Baloo Bhai 2';
|
|
56
|
-
}
|
|
1
|
+
.math-matrix {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.slot {
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
text-align: center;
|
|
12
|
+
align-content: center;
|
|
13
|
+
font-size: 42px;
|
|
14
|
+
font-weight: 800;
|
|
15
|
+
font-family: 'Baloo Bhai 2';
|
|
16
|
+
box-sizing: content-box;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.slot:hover {
|
|
20
|
+
/* background-color: rgba(0, 0, 0, 0.116); */
|
|
21
|
+
opacity: 0.7;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.slot-parent {
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
display: flex;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
align-items: center;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.slot-active {
|
|
34
|
+
background-color: var(--active-bg-color);
|
|
35
|
+
background-image: var(--bg-image);
|
|
36
|
+
background-size: contain;
|
|
37
|
+
background-position: center;
|
|
38
|
+
background-repeat: no-repeat;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.slot-inactive {
|
|
42
|
+
background-color: var(--deactive-bg-color);
|
|
43
|
+
background-size: cover;
|
|
44
|
+
background-position: center;
|
|
45
|
+
background-repeat: no-repeat;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.topIndex, .leftIndex, .bottomIndex {
|
|
49
|
+
height: 100%;
|
|
50
|
+
width: 100%;
|
|
51
|
+
text-align: center;
|
|
52
|
+
align-content: center;
|
|
53
|
+
font-size: 30px;
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
font-family: 'Baloo Bhai 2';
|
|
56
|
+
}
|
|
@@ -209,7 +209,7 @@ export class LidoMathMatrix {
|
|
|
209
209
|
render() {
|
|
210
210
|
let slotNumber = 1;
|
|
211
211
|
const slotData = this.getSlotData();
|
|
212
|
-
return (h(Host, { key: '
|
|
212
|
+
return (h(Host, { key: '2ef30835855363ba9fc7932122d1d505a451e055', class: "math-matrix", style: {
|
|
213
213
|
height: this.style.height,
|
|
214
214
|
width: this.style.width,
|
|
215
215
|
z: this.style.z,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
.lido-pos {
|
|
2
|
-
top: var(--y, 0);
|
|
3
|
-
left: var(--x, 0);
|
|
4
|
-
height: var(--height, 100%);
|
|
5
|
-
width: var(--width, 100%);
|
|
6
|
-
background-color: var(--bgColor, #eeeeee);
|
|
7
|
-
display: flex;
|
|
8
|
-
justify-content: space-around;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
position: fixed;
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.lido-pos > * {
|
|
15
|
-
position: absolute;
|
|
16
|
-
}
|
|
1
|
+
.lido-pos {
|
|
2
|
+
top: var(--y, 0);
|
|
3
|
+
left: var(--x, 0);
|
|
4
|
+
height: var(--height, 100%);
|
|
5
|
+
width: var(--width, 100%);
|
|
6
|
+
background-color: var(--bgColor, #eeeeee);
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: space-around;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
position: fixed;
|
|
11
|
+
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.lido-pos > * {
|
|
15
|
+
position: absolute;
|
|
16
|
+
}
|
|
@@ -131,7 +131,7 @@ export class LidoPos {
|
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
render() {
|
|
134
|
-
return (h(Host, { key: '
|
|
134
|
+
return (h(Host, { key: '4c417a789cc167f7d701b8469890631f9871fe6f', id: this.id, class: "lido-pos", type: this.type, "tab-index": this.tabIndex, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, minDrops: this.minDrops, maxDrops: this.maxDrops, value: this.value, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, h("slot", { key: 'd5026f61804b53e63aa1cc6c15b3de91543cf426' })));
|
|
135
135
|
}
|
|
136
136
|
static get is() { return "lido-pos"; }
|
|
137
137
|
static get originalStyleUrls() {
|
|
@@ -558,7 +558,7 @@ export class LidoPos {
|
|
|
558
558
|
"optional": false,
|
|
559
559
|
"docs": {
|
|
560
560
|
"tags": [],
|
|
561
|
-
"text": "CSS margin value applied to each child element inside the container.\
|
|
561
|
+
"text": "CSS margin value applied to each child element inside the container.\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
|
|
562
562
|
},
|
|
563
563
|
"getter": false,
|
|
564
564
|
"setter": false,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.lido-random {
|
|
2
|
-
position: relative; /* Ensures children position within this box */
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.lido-random > * {
|
|
8
|
-
position: absolute;
|
|
1
|
+
.lido-random {
|
|
2
|
+
position: relative; /* Ensures children position within this box */
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.lido-random > * {
|
|
8
|
+
position: absolute;
|
|
9
9
|
}
|
|
@@ -142,7 +142,7 @@ export class LidoRandom {
|
|
|
142
142
|
backgroundColor: this.bgColor,
|
|
143
143
|
margin: this.margin,
|
|
144
144
|
};
|
|
145
|
-
return (h(Host, { key: '
|
|
145
|
+
return (h(Host, { key: 'e0ed354e54ea3c5112d0e068b2a94356ef437874', class: "lido-random", type: this.type, "tab-index": this.tabIndex, value: this.value, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, minDrops: this.minDrops, maxDrops: this.maxDrops, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, h("slot", { key: 'ed0386cda3ba55d89fb08607775a49a4180f08b3' })));
|
|
146
146
|
}
|
|
147
147
|
static get is() { return "lido-random"; }
|
|
148
148
|
static get originalStyleUrls() {
|
|
@@ -589,7 +589,7 @@ export class LidoRandom {
|
|
|
589
589
|
"optional": false,
|
|
590
590
|
"docs": {
|
|
591
591
|
"tags": [],
|
|
592
|
-
"text": "CSS margin value applied to each child element inside the container.\
|
|
592
|
+
"text": "CSS margin value applied to each child element inside the container.\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
|
|
593
593
|
},
|
|
594
594
|
"getter": false,
|
|
595
595
|
"setter": false,
|
|
@@ -165,7 +165,7 @@ export class LidoRoot {
|
|
|
165
165
|
"optional": false,
|
|
166
166
|
"docs": {
|
|
167
167
|
"tags": [],
|
|
168
|
-
"text": "CSS margin value applied to each child element inside the container.\
|
|
168
|
+
"text": "CSS margin value applied to each child element inside the container.\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
|
|
169
169
|
},
|
|
170
170
|
"getter": false,
|
|
171
171
|
"setter": false,
|
|
@@ -245,7 +245,7 @@ export class LidoRoot {
|
|
|
245
245
|
"optional": false,
|
|
246
246
|
"docs": {
|
|
247
247
|
"tags": [],
|
|
248
|
-
"text": "Custom URL for the Exit button icon.\
|
|
248
|
+
"text": "Custom URL for the Exit button icon.\nFalls back to the default icon if not provided or invalid."
|
|
249
249
|
},
|
|
250
250
|
"getter": false,
|
|
251
251
|
"setter": false,
|
|
@@ -264,7 +264,7 @@ export class LidoRoot {
|
|
|
264
264
|
"optional": false,
|
|
265
265
|
"docs": {
|
|
266
266
|
"tags": [],
|
|
267
|
-
"text": "Custom URL for the Previous button icon.\
|
|
267
|
+
"text": "Custom URL for the Previous button icon.\nFalls back to the default icon if not provided or invalid."
|
|
268
268
|
},
|
|
269
269
|
"getter": false,
|
|
270
270
|
"setter": false,
|
|
@@ -283,7 +283,7 @@ export class LidoRoot {
|
|
|
283
283
|
"optional": false,
|
|
284
284
|
"docs": {
|
|
285
285
|
"tags": [],
|
|
286
|
-
"text": "Custom URL for the Next button icon.\
|
|
286
|
+
"text": "Custom URL for the Next button icon.\nFalls back to the default icon if not provided or invalid."
|
|
287
287
|
},
|
|
288
288
|
"getter": false,
|
|
289
289
|
"setter": false,
|
|
@@ -302,7 +302,7 @@ export class LidoRoot {
|
|
|
302
302
|
"optional": false,
|
|
303
303
|
"docs": {
|
|
304
304
|
"tags": [],
|
|
305
|
-
"text": "Custom URL for the Speaker button icon.\
|
|
305
|
+
"text": "Custom URL for the Speaker button icon.\nFalls back to the default icon if not provided or invalid."
|
|
306
306
|
},
|
|
307
307
|
"getter": false,
|
|
308
308
|
"setter": false,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.lido-row {
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: space-around;
|
|
4
|
-
align-items: center;
|
|
5
|
-
/* position: absolute; */
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.lido-row > * {
|
|
9
|
-
/* position: relative; */
|
|
10
|
-
}
|
|
1
|
+
.lido-row {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: space-around;
|
|
4
|
+
align-items: center;
|
|
5
|
+
/* position: absolute; */
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.lido-row > * {
|
|
9
|
+
/* position: relative; */
|
|
10
|
+
}
|
|
@@ -77,7 +77,7 @@ export class LidoRow {
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
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' })));
|
|
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.\
|
|
450
|
+
"text": "The number of child elements that should be displayed inside the row.\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.\
|
|
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."
|
|
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.\
|
|
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."
|
|
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.\
|
|
566
|
+
"text": "Sets the CSS display property for the component.\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.\
|
|
585
|
+
"text": "CSS margin value applied to each child element inside the container.\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>
|