lido-player 0.0.2-beta-19-dev → 0.0.2-beta-22-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-Bny56MQ9.js → decode-Cr5DANqc.js} +1 -1
- package/dist/cjs/{index-BY9fvbr8.js → index-0BvcfeCt.js} +144 -68
- package/dist/cjs/{index-DjsCseV8.js → index-DnaH8sO-.js} +20 -67
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/lido-avatar_22.cjs.entry.js +279 -66
- package/dist/cjs/lido-player.cjs.js +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- 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 +46 -28
- package/dist/collection/components/flashCard/lido-flash-card.js +131 -14
- 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 +9 -6
- 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 +174 -145
- package/dist/collection/components/scale/lido-balance.js +54 -14
- 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 +119 -23
- 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 +323 -323
- 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 +9 -12
- package/dist/collection/utils/utils.js +24 -8
- package/dist/collection/utils/utilsHandlers/dragDropHandler.js +16 -10
- package/dist/collection/utils/utilsHandlers/highlightHandler.js +54 -54
- package/dist/collection/utils/utilsHandlers/lidoBalanceHandler.js +58 -1
- package/dist/collection/utils/utilsHandlers/sortHandler.js +10 -10
- 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-BOQDbCrm.js → p-BJiyBHYT.js} +1 -1
- package/dist/components/p-BUfCIPRa.js +1 -0
- package/dist/components/{p-CTlcpv4a.js → p-BfwUqpXc.js} +1 -1
- package/dist/components/p-BiBt9LGP.js +1 -0
- package/dist/components/{p-CgsPIpg0.js → p-Bw-OC9iR.js} +1 -1
- package/dist/components/{p-B4YAipq-.js → p-CFzvgrMa.js} +1 -1
- package/dist/components/{p-C5WmmkI6.js → p-CPYnt0P-.js} +1 -1
- package/dist/components/{p-CCR42e0i.js → p-ChfVUoX4.js} +1 -1
- package/dist/components/{p-CWwymnbk.js → p-CkxAm8rY.js} +2 -2
- package/dist/components/{p-BeRr8u5m.js → p-CwDTdXe5.js} +1 -1
- package/dist/components/{p-CXHPZN3m.js → p-CyGxEcn7.js} +1 -1
- package/dist/components/{p-BJMjg5wu.js → p-D2GhaM-T.js} +1 -1
- package/dist/components/{p-BBHM059l.js → p-DDS30M3y.js} +1 -1
- package/dist/components/p-DP6jQ5ML.js +1 -0
- package/dist/components/{p-CljvnHkI.js → p-DZRNZCPt.js} +1 -1
- package/dist/components/p-DbR5sNOj.js +1 -0
- package/dist/components/{p-B8nzzM8c.js → p-DdQ1eqJr.js} +1 -1
- package/dist/components/p-leIEepjl.js +1 -0
- package/dist/components/p-u3czV7QM.js +1 -0
- package/dist/components/{p-C70ykycD.js → p-useuhkjH.js} +1 -1
- package/dist/esm/{decode-Buyq-Iy5.js → decode-DkSXjv7K.js} +1 -1
- package/dist/esm/{index-CQXciux9.js → index-D9-TTsdZ.js} +144 -68
- package/dist/esm/{index-DQZfuGjI.js → index-Dvjbti-h.js} +20 -67
- package/dist/esm/index.js +2 -2
- package/dist/esm/lido-avatar_22.entry.js +279 -66
- package/dist/esm/lido-player.js +4 -4
- package/dist/esm/loader.js +3 -3
- 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 +7 -7
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/p-35fa0b8b.entry.js +12 -0
- package/dist/lido-player/p-D2iINRNN.js +1 -0
- package/dist/lido-player/{p-CFtq4Thh.js → p-Dc8j8Hxw.js} +1 -1
- package/dist/lido-player/p-Dvjbti-h.js +2 -0
- package/dist/lido-player/readme.md +49 -49
- package/dist/types/components/flashCard/lido-flash-card.d.ts +10 -0
- package/dist/types/components/scale/lido-balance.d.ts +5 -0
- package/dist/types/components/trace/lido-trace.d.ts +9 -1
- package/dist/types/components.d.ts +10 -0
- package/dist/types/stencil-public-runtime.d.ts +55 -73
- package/dist/types/types/json.d.ts +3 -3
- package/dist/types/utils/audioPlayer.d.ts +1 -1
- package/dist/types/utils/utilsHandlers/lidoBalanceHandler.d.ts +10 -0
- package/loader/index.d.ts +1 -1
- package/package.json +74 -74
- package/readme.md +113 -113
- package/dist/components/p-BfqihbR6.js +0 -1
- package/dist/components/p-CwIlwnQk.js +0 -1
- package/dist/components/p-DLyacZap.js +0 -1
- package/dist/components/p-DONbWJGn.js +0 -1
- package/dist/components/p-DVTigdH_.js +0 -1
- package/dist/components/p-DYFVwyRr.js +0 -1
- package/dist/lido-player/p-37736e11.entry.js +0 -12
- package/dist/lido-player/p-3Ry570XH.js +0 -1
- package/dist/lido-player/p-DQZfuGjI.js +0 -3
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
# lido-avatar
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Properties
|
|
9
|
-
|
|
10
|
-
| Property | Attribute | Description | Type | Default |
|
|
11
|
-
| -------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------- | --------- | -------- |
|
|
12
|
-
| `ariaHidden` | `aria-hidden` | The ARIA hidden attribute of the container. Used for accessibility to hide the element. | `string` | `''` |
|
|
13
|
-
| `ariaLabel` | `aria-label` | The ARIA label of the container. Used for accessibility to indicate the purpose of the element. | `string` | `''` |
|
|
14
|
-
| `audio` | `audio` | Audio file URL or identifier for sound that will be associated with the column. | `string` | `''` |
|
|
15
|
-
| `bgColor` | `bg-color` | The background color of the column (CSS color value, e.g., '#FFFFFF', 'blue'). | `string` | `''` |
|
|
16
|
-
| `delayVisible` | `delay-visible` | Delay in milliseconds to make the cell visible after mount. | `string` | `''` |
|
|
17
|
-
| `height` | `height` | The height of the column component (CSS value, e.g., '100px', '50%'). | `string` | `''` |
|
|
18
|
-
| `id` | `id` | The unique identifier for the column component. | `string` | `''` |
|
|
19
|
-
| `onCorrect` | `on-correct` | Event handler for a Correct matching action, which can be used to hide the column or trigger other custom logic. | `string` | `''` |
|
|
20
|
-
| `onEntry` | `on-entry` | Event handler for when the column is entered, which can be used to initiate specific behaviors on entry. | `string` | `''` |
|
|
21
|
-
| `onInCorrect` | `on-in-correct` | Event handler for an Incorrect matching action, which can be used to trigger custom logic when the action is incorrect. | `string` | `''` |
|
|
22
|
-
| `onTouch` | `on-touch` | Event handler for a touch event, where a custom function can be triggered when the column is touched. | `string` | `''` |
|
|
23
|
-
| `src` | `src` | Source URL of the Rive (.riv) file | `string` | `''` |
|
|
24
|
-
| `tabIndex` | `tab-index` | The tab index value, used to set the tab order of the column for keyboard navigation. | `number` | `0` |
|
|
25
|
-
| `type` | `type` | Defines the type of the column, which can be used for styling or specific logic handling. | `string` | `''` |
|
|
26
|
-
| `value` | `value` | The value associated with the column component. Typically used for internal logic. | `string` | `''` |
|
|
27
|
-
| `visible` | `visible` | A boolean that controls whether the column is visible (`true`) or hidden (`false`). | `boolean` | `false` |
|
|
28
|
-
| `width` | `width` | The width of the column component (CSS value, e.g., '100px', '50%'). | `string` | `'auto'` |
|
|
29
|
-
| `x` | `x` | The x-coordinate (left position) of the column within its container (CSS value, e.g., '10px', '5vw'). | `string` | `'0px'` |
|
|
30
|
-
| `y` | `y` | The y-coordinate (top position) of the column within its container (CSS value, e.g., '10px', '5vh'). | `string` | `'0px'` |
|
|
31
|
-
| `z` | `z` | The z-index of the column to control stacking order. | `string` | `'0'` |
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
## Dependencies
|
|
35
|
-
|
|
36
|
-
### Used by
|
|
37
|
-
|
|
38
|
-
- [lido-home](../home)
|
|
39
|
-
|
|
40
|
-
### Graph
|
|
41
|
-
```mermaid
|
|
42
|
-
graph TD;
|
|
43
|
-
lido-home --> lido-avatar
|
|
44
|
-
style lido-avatar fill:#f9f,stroke:#333,stroke-width:4px
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
----------------------------------------------
|
|
48
|
-
|
|
49
|
-
*Built with [StencilJS](https://stenciljs.com/)*
|
|
1
|
+
# lido-avatar
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| -------------- | --------------- | ----------------------------------------------------------------------------------------------------------------------- | --------- | -------- |
|
|
12
|
+
| `ariaHidden` | `aria-hidden` | The ARIA hidden attribute of the container. Used for accessibility to hide the element. | `string` | `''` |
|
|
13
|
+
| `ariaLabel` | `aria-label` | The ARIA label of the container. Used for accessibility to indicate the purpose of the element. | `string` | `''` |
|
|
14
|
+
| `audio` | `audio` | Audio file URL or identifier for sound that will be associated with the column. | `string` | `''` |
|
|
15
|
+
| `bgColor` | `bg-color` | The background color of the column (CSS color value, e.g., '#FFFFFF', 'blue'). | `string` | `''` |
|
|
16
|
+
| `delayVisible` | `delay-visible` | Delay in milliseconds to make the cell visible after mount. | `string` | `''` |
|
|
17
|
+
| `height` | `height` | The height of the column component (CSS value, e.g., '100px', '50%'). | `string` | `''` |
|
|
18
|
+
| `id` | `id` | The unique identifier for the column component. | `string` | `''` |
|
|
19
|
+
| `onCorrect` | `on-correct` | Event handler for a Correct matching action, which can be used to hide the column or trigger other custom logic. | `string` | `''` |
|
|
20
|
+
| `onEntry` | `on-entry` | Event handler for when the column is entered, which can be used to initiate specific behaviors on entry. | `string` | `''` |
|
|
21
|
+
| `onInCorrect` | `on-in-correct` | Event handler for an Incorrect matching action, which can be used to trigger custom logic when the action is incorrect. | `string` | `''` |
|
|
22
|
+
| `onTouch` | `on-touch` | Event handler for a touch event, where a custom function can be triggered when the column is touched. | `string` | `''` |
|
|
23
|
+
| `src` | `src` | Source URL of the Rive (.riv) file | `string` | `''` |
|
|
24
|
+
| `tabIndex` | `tab-index` | The tab index value, used to set the tab order of the column for keyboard navigation. | `number` | `0` |
|
|
25
|
+
| `type` | `type` | Defines the type of the column, which can be used for styling or specific logic handling. | `string` | `''` |
|
|
26
|
+
| `value` | `value` | The value associated with the column component. Typically used for internal logic. | `string` | `''` |
|
|
27
|
+
| `visible` | `visible` | A boolean that controls whether the column is visible (`true`) or hidden (`false`). | `boolean` | `false` |
|
|
28
|
+
| `width` | `width` | The width of the column component (CSS value, e.g., '100px', '50%'). | `string` | `'auto'` |
|
|
29
|
+
| `x` | `x` | The x-coordinate (left position) of the column within its container (CSS value, e.g., '10px', '5vw'). | `string` | `'0px'` |
|
|
30
|
+
| `y` | `y` | The y-coordinate (top position) of the column within its container (CSS value, e.g., '10px', '5vh'). | `string` | `'0px'` |
|
|
31
|
+
| `z` | `z` | The z-index of the column to control stacking order. | `string` | `'0'` |
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## Dependencies
|
|
35
|
+
|
|
36
|
+
### Used by
|
|
37
|
+
|
|
38
|
+
- [lido-home](../home)
|
|
39
|
+
|
|
40
|
+
### Graph
|
|
41
|
+
```mermaid
|
|
42
|
+
graph TD;
|
|
43
|
+
lido-home --> lido-avatar
|
|
44
|
+
style lido-avatar fill:#f9f,stroke:#333,stroke-width:4px
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
----------------------------------------------
|
|
48
|
+
|
|
49
|
+
*Built with [StencilJS](https://stenciljs.com/)*
|
|
@@ -86,6 +86,10 @@ export declare class LidoFlash {
|
|
|
86
86
|
* `reflect` keeps the `<lido-flash-card flipped>` attribute in sync.
|
|
87
87
|
*/
|
|
88
88
|
flipped: boolean;
|
|
89
|
+
autoFlipAfter: number;
|
|
90
|
+
private autoFlipTimer?;
|
|
91
|
+
private instructionDone;
|
|
92
|
+
private onAudioEnded;
|
|
89
93
|
/**
|
|
90
94
|
* CSS margin value applied to each child element inside the container.
|
|
91
95
|
* Accepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.).
|
|
@@ -112,5 +116,11 @@ export declare class LidoFlash {
|
|
|
112
116
|
private updateStyles;
|
|
113
117
|
/** Toggle the card when it is clicked. */
|
|
114
118
|
private handleFlip;
|
|
119
|
+
private instructionText;
|
|
120
|
+
private frontText;
|
|
121
|
+
private backText;
|
|
122
|
+
private speakFront;
|
|
123
|
+
private showArrow;
|
|
124
|
+
private setArrowVisible;
|
|
115
125
|
render(): any;
|
|
116
126
|
}
|
|
@@ -114,6 +114,7 @@ export declare class LidoBalance {
|
|
|
114
114
|
* Current computed value of the right side of the balance.
|
|
115
115
|
*/
|
|
116
116
|
rightVal: number;
|
|
117
|
+
feedbackColor: string;
|
|
117
118
|
/**
|
|
118
119
|
* Reference to the scale (bar) DOM element.
|
|
119
120
|
* Used to apply rotation transforms during balance animation.
|
|
@@ -144,10 +145,14 @@ export declare class LidoBalance {
|
|
|
144
145
|
* Used to adjust Y-translation of dropped content during tilt.
|
|
145
146
|
*/
|
|
146
147
|
private rightParentEl;
|
|
148
|
+
private leftFeedbackEl;
|
|
149
|
+
private rightFeedbackEl;
|
|
147
150
|
revealSymbol(): Promise<void>;
|
|
148
151
|
hideSymbol(): Promise<void>;
|
|
152
|
+
setFeedbackColor(color?: string): Promise<void>;
|
|
149
153
|
el: HTMLElement;
|
|
150
154
|
componentWillLoad(): Promise<void>;
|
|
155
|
+
private initializeInitialSymbol;
|
|
151
156
|
componentDidLoad(): void;
|
|
152
157
|
disconnectedCallback(): void;
|
|
153
158
|
private fetchAndApplyFill;
|
|
@@ -117,6 +117,7 @@ export declare class LidoTrace {
|
|
|
117
117
|
fileIndex: number;
|
|
118
118
|
isDragging: boolean;
|
|
119
119
|
activePointerId: number | null;
|
|
120
|
+
private activeTraceState;
|
|
120
121
|
private freeTraceUpdateCounter;
|
|
121
122
|
/** ───────────────────────────────────────────────────────────
|
|
122
123
|
* NEW: idle‑timer + finger‑hint state
|
|
@@ -127,6 +128,8 @@ export declare class LidoTrace {
|
|
|
127
128
|
componentDidLoad(): void;
|
|
128
129
|
componentWillLoad(): void;
|
|
129
130
|
disconnectedCallback(): void;
|
|
131
|
+
/** Release listeners, pending frames, timers, and cached SVG geometry. */
|
|
132
|
+
private cleanupTraceState;
|
|
130
133
|
/** ───────────────────────────────────────────────────────────
|
|
131
134
|
* Idle‑timer helpers
|
|
132
135
|
* ─────────────────────────────────────────────────────────── */
|
|
@@ -151,7 +154,12 @@ export declare class LidoTrace {
|
|
|
151
154
|
handlePointerMove(state: any): Promise<void>;
|
|
152
155
|
private animatePathToEnd;
|
|
153
156
|
moveToNextContainer(): Promise<void>;
|
|
154
|
-
getPointerPosition(evt: PointerEvent, svg: SVGSVGElement
|
|
157
|
+
getPointerPosition(evt: PointerEvent, svg: SVGSVGElement, cachedTransform?: {
|
|
158
|
+
offsetX: number;
|
|
159
|
+
offsetY: number;
|
|
160
|
+
scaleX: number;
|
|
161
|
+
scaleY: number;
|
|
162
|
+
}, cachedRect?: DOMRect): {
|
|
155
163
|
x: number;
|
|
156
164
|
y: number;
|
|
157
165
|
};
|
|
@@ -174,6 +174,7 @@ export namespace Components {
|
|
|
174
174
|
* @default ''
|
|
175
175
|
*/
|
|
176
176
|
"scaleimage": string;
|
|
177
|
+
"setFeedbackColor": (color?: string) => Promise<void>;
|
|
177
178
|
/**
|
|
178
179
|
* Whether the balance symbol is currently displayed. Can be toggled with `revealSymbol()` and `hideSymbol()`.
|
|
179
180
|
* @default false
|
|
@@ -813,6 +814,10 @@ export namespace Components {
|
|
|
813
814
|
* @default ''
|
|
814
815
|
*/
|
|
815
816
|
"audio": string;
|
|
817
|
+
/**
|
|
818
|
+
* @default 4500
|
|
819
|
+
*/
|
|
820
|
+
"autoFlipAfter": number;
|
|
816
821
|
/**
|
|
817
822
|
* Content (any markup) shown on the back face.
|
|
818
823
|
*/
|
|
@@ -3537,6 +3542,10 @@ declare namespace LocalJSX {
|
|
|
3537
3542
|
* @default ''
|
|
3538
3543
|
*/
|
|
3539
3544
|
"audio"?: string;
|
|
3545
|
+
/**
|
|
3546
|
+
* @default 4500
|
|
3547
|
+
*/
|
|
3548
|
+
"autoFlipAfter"?: number;
|
|
3540
3549
|
/**
|
|
3541
3550
|
* Content (any markup) shown on the back face.
|
|
3542
3551
|
*/
|
|
@@ -5391,6 +5400,7 @@ declare namespace LocalJSX {
|
|
|
5391
5400
|
"front": string;
|
|
5392
5401
|
"back": string;
|
|
5393
5402
|
"flipped": boolean;
|
|
5403
|
+
"autoFlipAfter": number;
|
|
5394
5404
|
"margin": string;
|
|
5395
5405
|
"disableSpeak": boolean;
|
|
5396
5406
|
"delayVisible": string;
|
|
@@ -752,7 +752,7 @@ declare namespace LocalJSX {
|
|
|
752
752
|
}
|
|
753
753
|
export { LocalJSX as JSX };
|
|
754
754
|
export declare namespace JSXBase {
|
|
755
|
-
|
|
755
|
+
interface IntrinsicElements {
|
|
756
756
|
slot: JSXBase.SlotAttributes<HTMLSlotElement>;
|
|
757
757
|
a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
758
758
|
abbr: JSXBase.HTMLAttributes;
|
|
@@ -923,12 +923,12 @@ export declare namespace JSXBase {
|
|
|
923
923
|
use: JSXBase.SVGAttributes;
|
|
924
924
|
view: JSXBase.SVGAttributes;
|
|
925
925
|
}
|
|
926
|
-
|
|
926
|
+
interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
|
|
927
927
|
name?: string;
|
|
928
928
|
slot?: string;
|
|
929
929
|
onSlotchange?: (event: Event) => void;
|
|
930
930
|
}
|
|
931
|
-
|
|
931
|
+
interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
932
932
|
download?: any;
|
|
933
933
|
href?: string;
|
|
934
934
|
hrefLang?: string;
|
|
@@ -939,9 +939,9 @@ export declare namespace JSXBase {
|
|
|
939
939
|
target?: string;
|
|
940
940
|
referrerPolicy?: ReferrerPolicy;
|
|
941
941
|
}
|
|
942
|
-
|
|
942
|
+
interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
943
943
|
}
|
|
944
|
-
|
|
944
|
+
interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
945
945
|
alt?: string;
|
|
946
946
|
coords?: string;
|
|
947
947
|
download?: any;
|
|
@@ -953,14 +953,14 @@ export declare namespace JSXBase {
|
|
|
953
953
|
shape?: string;
|
|
954
954
|
target?: string;
|
|
955
955
|
}
|
|
956
|
-
|
|
956
|
+
interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
957
957
|
href?: string;
|
|
958
958
|
target?: string;
|
|
959
959
|
}
|
|
960
|
-
|
|
960
|
+
interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
961
961
|
cite?: string;
|
|
962
962
|
}
|
|
963
|
-
|
|
963
|
+
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
964
964
|
disabled?: boolean;
|
|
965
965
|
form?: string;
|
|
966
966
|
formAction?: string;
|
|
@@ -983,45 +983,44 @@ export declare namespace JSXBase {
|
|
|
983
983
|
commandFor?: string;
|
|
984
984
|
commandfor?: string;
|
|
985
985
|
}
|
|
986
|
-
|
|
986
|
+
interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
987
987
|
height?: number | string;
|
|
988
988
|
width?: number | string;
|
|
989
989
|
}
|
|
990
|
-
|
|
990
|
+
interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
991
991
|
span?: number;
|
|
992
992
|
}
|
|
993
|
-
|
|
993
|
+
interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
994
994
|
span?: number;
|
|
995
995
|
}
|
|
996
|
-
|
|
996
|
+
interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
997
997
|
open?: boolean;
|
|
998
998
|
name?: string;
|
|
999
999
|
onToggle?: (event: ToggleEvent) => void;
|
|
1000
1000
|
}
|
|
1001
|
-
|
|
1001
|
+
interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1002
1002
|
cite?: string;
|
|
1003
1003
|
dateTime?: string;
|
|
1004
1004
|
datetime?: string;
|
|
1005
1005
|
}
|
|
1006
|
-
|
|
1006
|
+
interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1007
1007
|
onCancel?: (event: Event) => void;
|
|
1008
1008
|
onClose?: (event: Event) => void;
|
|
1009
1009
|
open?: boolean;
|
|
1010
1010
|
returnValue?: string;
|
|
1011
|
-
closedby?: 'any' | 'closerequest' | 'none';
|
|
1012
1011
|
}
|
|
1013
|
-
|
|
1012
|
+
interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1014
1013
|
height?: number | string;
|
|
1015
1014
|
src?: string;
|
|
1016
1015
|
type?: string;
|
|
1017
1016
|
width?: number | string;
|
|
1018
1017
|
}
|
|
1019
|
-
|
|
1018
|
+
interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1020
1019
|
disabled?: boolean;
|
|
1021
1020
|
form?: string;
|
|
1022
1021
|
name?: string;
|
|
1023
1022
|
}
|
|
1024
|
-
|
|
1023
|
+
interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1025
1024
|
acceptCharset?: string;
|
|
1026
1025
|
acceptcharset?: string;
|
|
1027
1026
|
action?: string;
|
|
@@ -1035,10 +1034,10 @@ export declare namespace JSXBase {
|
|
|
1035
1034
|
novalidate?: boolean | string;
|
|
1036
1035
|
target?: string;
|
|
1037
1036
|
}
|
|
1038
|
-
|
|
1037
|
+
interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1039
1038
|
manifest?: string;
|
|
1040
1039
|
}
|
|
1041
|
-
|
|
1040
|
+
interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1042
1041
|
allow?: string;
|
|
1043
1042
|
allowFullScreen?: boolean;
|
|
1044
1043
|
allowfullScreen?: string | boolean;
|
|
@@ -1046,8 +1045,6 @@ export declare namespace JSXBase {
|
|
|
1046
1045
|
allowtransparency?: string | boolean;
|
|
1047
1046
|
frameBorder?: number | string;
|
|
1048
1047
|
frameborder?: number | string;
|
|
1049
|
-
fetchPriority?: 'high' | 'low' | 'auto';
|
|
1050
|
-
fetchpriority?: 'high' | 'low' | 'auto';
|
|
1051
1048
|
importance?: 'low' | 'auto' | 'high';
|
|
1052
1049
|
height?: number | string;
|
|
1053
1050
|
loading?: 'lazy' | 'auto' | 'eager';
|
|
@@ -1065,13 +1062,11 @@ export declare namespace JSXBase {
|
|
|
1065
1062
|
srcdoc?: string;
|
|
1066
1063
|
width?: number | string;
|
|
1067
1064
|
}
|
|
1068
|
-
|
|
1065
|
+
interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1069
1066
|
alt?: string;
|
|
1070
1067
|
crossOrigin?: string;
|
|
1071
1068
|
crossorigin?: string;
|
|
1072
1069
|
decoding?: 'async' | 'auto' | 'sync';
|
|
1073
|
-
fetchPriority?: 'high' | 'low' | 'auto';
|
|
1074
|
-
fetchpriority?: 'high' | 'low' | 'auto';
|
|
1075
1070
|
importance?: 'low' | 'auto' | 'high';
|
|
1076
1071
|
height?: number | string;
|
|
1077
1072
|
loading?: 'lazy' | 'auto' | 'eager';
|
|
@@ -1084,12 +1079,12 @@ export declare namespace JSXBase {
|
|
|
1084
1079
|
usemap?: string;
|
|
1085
1080
|
width?: number | string;
|
|
1086
1081
|
}
|
|
1087
|
-
|
|
1082
|
+
interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1088
1083
|
cite?: string;
|
|
1089
1084
|
dateTime?: string;
|
|
1090
1085
|
datetime?: string;
|
|
1091
1086
|
}
|
|
1092
|
-
|
|
1087
|
+
interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1093
1088
|
accept?: string;
|
|
1094
1089
|
allowdirs?: boolean;
|
|
1095
1090
|
alt?: string;
|
|
@@ -1152,7 +1147,7 @@ export declare namespace JSXBase {
|
|
|
1152
1147
|
popoverTargetElement?: Element | null;
|
|
1153
1148
|
popoverTarget?: string;
|
|
1154
1149
|
}
|
|
1155
|
-
|
|
1150
|
+
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1156
1151
|
challenge?: string;
|
|
1157
1152
|
disabled?: boolean;
|
|
1158
1153
|
form?: string;
|
|
@@ -1162,17 +1157,15 @@ export declare namespace JSXBase {
|
|
|
1162
1157
|
keyparams?: string;
|
|
1163
1158
|
name?: string;
|
|
1164
1159
|
}
|
|
1165
|
-
|
|
1160
|
+
interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1166
1161
|
form?: string;
|
|
1167
1162
|
htmlFor?: string;
|
|
1168
1163
|
}
|
|
1169
|
-
|
|
1164
|
+
interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1170
1165
|
value?: string | string[] | number;
|
|
1171
1166
|
}
|
|
1172
|
-
|
|
1167
|
+
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1173
1168
|
as?: string;
|
|
1174
|
-
fetchPriority?: 'high' | 'low' | 'auto';
|
|
1175
|
-
fetchpriority?: 'high' | 'low' | 'auto';
|
|
1176
1169
|
href?: string;
|
|
1177
1170
|
hrefLang?: string;
|
|
1178
1171
|
hreflang?: string;
|
|
@@ -1183,13 +1176,13 @@ export declare namespace JSXBase {
|
|
|
1183
1176
|
sizes?: string;
|
|
1184
1177
|
type?: string;
|
|
1185
1178
|
}
|
|
1186
|
-
|
|
1179
|
+
interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1187
1180
|
name?: string;
|
|
1188
1181
|
}
|
|
1189
|
-
|
|
1182
|
+
interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1190
1183
|
type?: string;
|
|
1191
1184
|
}
|
|
1192
|
-
|
|
1185
|
+
interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1193
1186
|
autoPlay?: boolean;
|
|
1194
1187
|
autoplay?: boolean | string;
|
|
1195
1188
|
controls?: boolean;
|
|
@@ -1229,7 +1222,7 @@ export declare namespace JSXBase {
|
|
|
1229
1222
|
onVolumeChange?: (event: Event) => void;
|
|
1230
1223
|
onWaiting?: (event: Event) => void;
|
|
1231
1224
|
}
|
|
1232
|
-
|
|
1225
|
+
interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1233
1226
|
charSet?: string;
|
|
1234
1227
|
charset?: string;
|
|
1235
1228
|
content?: string;
|
|
@@ -1237,7 +1230,7 @@ export declare namespace JSXBase {
|
|
|
1237
1230
|
httpequiv?: string;
|
|
1238
1231
|
name?: string;
|
|
1239
1232
|
}
|
|
1240
|
-
|
|
1233
|
+
interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1241
1234
|
form?: string;
|
|
1242
1235
|
high?: number;
|
|
1243
1236
|
low?: number;
|
|
@@ -1246,10 +1239,10 @@ export declare namespace JSXBase {
|
|
|
1246
1239
|
optimum?: number;
|
|
1247
1240
|
value?: string | string[] | number;
|
|
1248
1241
|
}
|
|
1249
|
-
|
|
1242
|
+
interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1250
1243
|
cite?: string;
|
|
1251
1244
|
}
|
|
1252
|
-
|
|
1245
|
+
interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1253
1246
|
classID?: string;
|
|
1254
1247
|
classid?: string;
|
|
1255
1248
|
data?: string;
|
|
@@ -1262,49 +1255,47 @@ export declare namespace JSXBase {
|
|
|
1262
1255
|
width?: number | string;
|
|
1263
1256
|
wmode?: string;
|
|
1264
1257
|
}
|
|
1265
|
-
|
|
1258
|
+
interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1266
1259
|
reversed?: boolean;
|
|
1267
1260
|
start?: number;
|
|
1268
1261
|
}
|
|
1269
|
-
|
|
1262
|
+
interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1270
1263
|
disabled?: boolean;
|
|
1271
1264
|
label?: string;
|
|
1272
1265
|
}
|
|
1273
|
-
|
|
1266
|
+
interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1274
1267
|
disabled?: boolean;
|
|
1275
1268
|
label?: string;
|
|
1276
1269
|
selected?: boolean;
|
|
1277
1270
|
value?: string | string[] | number;
|
|
1278
1271
|
}
|
|
1279
|
-
|
|
1272
|
+
interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1280
1273
|
form?: string;
|
|
1281
1274
|
htmlFor?: string;
|
|
1282
1275
|
name?: string;
|
|
1283
1276
|
}
|
|
1284
|
-
|
|
1277
|
+
interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1285
1278
|
name?: string;
|
|
1286
1279
|
value?: string | string[] | number;
|
|
1287
1280
|
}
|
|
1288
|
-
|
|
1281
|
+
interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1289
1282
|
max?: number | string;
|
|
1290
1283
|
value?: string | string[] | number;
|
|
1291
1284
|
}
|
|
1292
|
-
|
|
1285
|
+
interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1293
1286
|
async?: boolean;
|
|
1294
1287
|
charSet?: string;
|
|
1295
1288
|
charset?: string;
|
|
1296
1289
|
crossOrigin?: string;
|
|
1297
1290
|
crossorigin?: string;
|
|
1298
1291
|
defer?: boolean;
|
|
1299
|
-
fetchPriority?: 'high' | 'low' | 'auto';
|
|
1300
|
-
fetchpriority?: 'high' | 'low' | 'auto';
|
|
1301
1292
|
importance?: 'low' | 'auto' | 'high';
|
|
1302
1293
|
integrity?: string;
|
|
1303
1294
|
nonce?: string;
|
|
1304
1295
|
src?: string;
|
|
1305
1296
|
type?: string;
|
|
1306
1297
|
}
|
|
1307
|
-
|
|
1298
|
+
interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1308
1299
|
disabled?: boolean;
|
|
1309
1300
|
form?: string;
|
|
1310
1301
|
multiple?: boolean;
|
|
@@ -1314,7 +1305,7 @@ export declare namespace JSXBase {
|
|
|
1314
1305
|
autoComplete?: string;
|
|
1315
1306
|
autocomplete?: string;
|
|
1316
1307
|
}
|
|
1317
|
-
|
|
1308
|
+
interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1318
1309
|
height?: number;
|
|
1319
1310
|
media?: string;
|
|
1320
1311
|
sizes?: string;
|
|
@@ -1323,20 +1314,20 @@ export declare namespace JSXBase {
|
|
|
1323
1314
|
type?: string;
|
|
1324
1315
|
width?: number;
|
|
1325
1316
|
}
|
|
1326
|
-
|
|
1317
|
+
interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1327
1318
|
media?: string;
|
|
1328
1319
|
nonce?: string;
|
|
1329
1320
|
scoped?: boolean;
|
|
1330
1321
|
type?: string;
|
|
1331
1322
|
}
|
|
1332
|
-
|
|
1323
|
+
interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1333
1324
|
cellPadding?: number | string;
|
|
1334
1325
|
cellpadding?: number | string;
|
|
1335
1326
|
cellSpacing?: number | string;
|
|
1336
1327
|
cellspacing?: number | string;
|
|
1337
1328
|
summary?: string;
|
|
1338
1329
|
}
|
|
1339
|
-
|
|
1330
|
+
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1340
1331
|
autoComplete?: string;
|
|
1341
1332
|
autocomplete?: string;
|
|
1342
1333
|
cols?: number;
|
|
@@ -1357,12 +1348,12 @@ export declare namespace JSXBase {
|
|
|
1357
1348
|
value?: string | string[] | number;
|
|
1358
1349
|
wrap?: string;
|
|
1359
1350
|
}
|
|
1360
|
-
|
|
1351
|
+
interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1361
1352
|
colSpan?: number;
|
|
1362
1353
|
headers?: string;
|
|
1363
1354
|
rowSpan?: number;
|
|
1364
1355
|
}
|
|
1365
|
-
|
|
1356
|
+
interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1366
1357
|
abbr?: string;
|
|
1367
1358
|
colSpan?: number;
|
|
1368
1359
|
headers?: string;
|
|
@@ -1370,10 +1361,10 @@ export declare namespace JSXBase {
|
|
|
1370
1361
|
rowspan?: number | string;
|
|
1371
1362
|
scope?: string;
|
|
1372
1363
|
}
|
|
1373
|
-
|
|
1364
|
+
interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1374
1365
|
dateTime?: string;
|
|
1375
1366
|
}
|
|
1376
|
-
|
|
1367
|
+
interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1377
1368
|
default?: boolean;
|
|
1378
1369
|
kind?: string;
|
|
1379
1370
|
label?: string;
|
|
@@ -1381,14 +1372,14 @@ export declare namespace JSXBase {
|
|
|
1381
1372
|
srcLang?: string;
|
|
1382
1373
|
srclang?: string;
|
|
1383
1374
|
}
|
|
1384
|
-
|
|
1375
|
+
interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
1385
1376
|
height?: number | string;
|
|
1386
1377
|
playsInline?: boolean;
|
|
1387
1378
|
playsinline?: boolean | string;
|
|
1388
1379
|
poster?: string;
|
|
1389
1380
|
width?: number | string;
|
|
1390
1381
|
}
|
|
1391
|
-
|
|
1382
|
+
interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
|
|
1392
1383
|
innerHTML?: string;
|
|
1393
1384
|
accessKey?: string;
|
|
1394
1385
|
autoFocus?: boolean;
|
|
@@ -1413,10 +1404,7 @@ export declare namespace JSXBase {
|
|
|
1413
1404
|
tabIndex?: number;
|
|
1414
1405
|
tabindex?: number | string;
|
|
1415
1406
|
title?: string;
|
|
1416
|
-
translate?: 'yes' | 'no' | (string & {});
|
|
1417
1407
|
popover?: string | null;
|
|
1418
|
-
focusgroup?: string;
|
|
1419
|
-
focusgroupstart?: boolean;
|
|
1420
1408
|
inputMode?: string;
|
|
1421
1409
|
inputmode?: string;
|
|
1422
1410
|
enterKeyHint?: string;
|
|
@@ -1454,7 +1442,7 @@ export declare namespace JSXBase {
|
|
|
1454
1442
|
security?: string;
|
|
1455
1443
|
unselectable?: boolean;
|
|
1456
1444
|
}
|
|
1457
|
-
|
|
1445
|
+
interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
|
|
1458
1446
|
class?: string | {
|
|
1459
1447
|
[className: string]: boolean;
|
|
1460
1448
|
};
|
|
@@ -1716,19 +1704,13 @@ export declare namespace JSXBase {
|
|
|
1716
1704
|
zoomAndPan?: string;
|
|
1717
1705
|
}
|
|
1718
1706
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
|
|
1719
|
-
|
|
1707
|
+
interface ToggleEvent extends Event {
|
|
1720
1708
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
|
|
1721
1709
|
readonly newState: string;
|
|
1722
1710
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
|
|
1723
1711
|
readonly oldState: string;
|
|
1724
1712
|
}
|
|
1725
|
-
|
|
1726
|
-
[K in keyof ARIAMixin]: ARIAMixin[K] extends string | null ? K : never;
|
|
1727
|
-
}[keyof ARIAMixin];
|
|
1728
|
-
type JSXAriaProperties = {
|
|
1729
|
-
[K in AriaIDLPropertyName]?: string | boolean | undefined;
|
|
1730
|
-
};
|
|
1731
|
-
export interface DOMAttributes<T> extends JSXAttributes<T>, JSXAriaProperties {
|
|
1713
|
+
interface DOMAttributes<T> extends JSXAttributes<T> {
|
|
1732
1714
|
slot?: string;
|
|
1733
1715
|
part?: string;
|
|
1734
1716
|
exportparts?: string;
|
|
@@ -1858,8 +1840,8 @@ export declare namespace JSXBase {
|
|
|
1858
1840
|
onTransitionStart?: (event: TransitionEvent) => void;
|
|
1859
1841
|
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
|
1860
1842
|
[key: `aria-${string}`]: string | boolean | undefined;
|
|
1843
|
+
[key: `aria${string}`]: string | boolean | undefined;
|
|
1861
1844
|
}
|
|
1862
|
-
export {};
|
|
1863
1845
|
}
|
|
1864
1846
|
export interface JSXAttributes<T = Element> {
|
|
1865
1847
|
key?: string | number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module "*.json" {
|
|
2
|
-
const value: any;
|
|
3
|
-
export default value;
|
|
1
|
+
declare module "*.json" {
|
|
2
|
+
const value: any;
|
|
3
|
+
export default value;
|
|
4
4
|
}
|
|
@@ -24,7 +24,7 @@ export declare class AudioPlayer {
|
|
|
24
24
|
private handleVisibilityChange;
|
|
25
25
|
private resolveVisibilityWaiters;
|
|
26
26
|
private getLidoTextElement;
|
|
27
|
-
play(targetElement: HTMLElement): any;
|
|
27
|
+
play(targetElement: HTMLElement, suppressHighlight?: boolean): any;
|
|
28
28
|
private registerGlobalStopEvents;
|
|
29
29
|
private unregisterGlobalStopEvents;
|
|
30
30
|
private registerVisibilityEvents;
|