@nanoporetech-digital/components 6.1.0 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cjs/index-14451c95.js +6 -2
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/nano-animation.cjs.entry.js +1209 -0
  5. package/dist/cjs/nano-animation.cjs.entry.js.map +1 -0
  6. package/dist/cjs/nano-components.cjs.js +1 -1
  7. package/dist/cjs/nano-global-nav-user-profile_3.cjs.entry.js.map +1 -1
  8. package/dist/cjs/nano-hero.cjs.entry.js +1 -1
  9. package/dist/cjs/nano-hero.cjs.entry.js.map +1 -1
  10. package/dist/cjs/nano-intersection-observe.cjs.entry.js +131 -0
  11. package/dist/cjs/nano-intersection-observe.cjs.entry.js.map +1 -0
  12. package/dist/cjs/nano-resize-observe_2.cjs.entry.js +1 -1
  13. package/dist/cjs/nano-resize-observe_2.cjs.entry.js.map +1 -1
  14. package/dist/cjs/nano-sticker.cjs.entry.js +2 -27
  15. package/dist/cjs/nano-sticker.cjs.entry.js.map +1 -1
  16. package/dist/cjs/{nano-table-6f48a747.js → nano-table-06530d49.js} +5 -25
  17. package/dist/cjs/nano-table-06530d49.js.map +1 -0
  18. package/dist/cjs/nano-table.cjs.entry.js +2 -1
  19. package/dist/cjs/nano-table.cjs.entry.js.map +1 -1
  20. package/dist/cjs/scroll-parent-87393de2.js +31 -0
  21. package/dist/cjs/scroll-parent-87393de2.js.map +1 -0
  22. package/dist/cjs/{table.worker-f3e54773.js → table.worker-b4922b9b.js} +3 -2
  23. package/dist/cjs/table.worker-b4922b9b.js.map +1 -0
  24. package/dist/collection/collection-manifest.json +2 -1
  25. package/dist/collection/components/animation/animation.js +547 -0
  26. package/dist/collection/components/animation/animation.js.map +1 -0
  27. package/dist/collection/components/animation/animations/attention_seekers/bounce.js +43 -0
  28. package/dist/collection/components/animation/animations/attention_seekers/flash.js +7 -0
  29. package/dist/collection/components/animation/animations/attention_seekers/headShake.js +8 -0
  30. package/dist/collection/components/animation/animations/attention_seekers/heartBeat.js +7 -0
  31. package/dist/collection/components/animation/animations/attention_seekers/jello.js +15 -0
  32. package/dist/collection/components/animation/animations/attention_seekers/pulse.js +5 -0
  33. package/dist/collection/components/animation/animations/attention_seekers/rubberBand.js +9 -0
  34. package/dist/collection/components/animation/animations/attention_seekers/shake.js +13 -0
  35. package/dist/collection/components/animation/animations/attention_seekers/shakeX.js +13 -0
  36. package/dist/collection/components/animation/animations/attention_seekers/shakeY.js +13 -0
  37. package/dist/collection/components/animation/animations/attention_seekers/swing.js +7 -0
  38. package/dist/collection/components/animation/animations/attention_seekers/tada.js +13 -0
  39. package/dist/collection/components/animation/animations/attention_seekers/wobble.js +18 -0
  40. package/dist/collection/components/animation/animations/back_entrances/backInDown.js +5 -0
  41. package/dist/collection/components/animation/animations/back_entrances/backInLeft.js +5 -0
  42. package/dist/collection/components/animation/animations/back_entrances/backInRight.js +5 -0
  43. package/dist/collection/components/animation/animations/back_entrances/backInUp.js +5 -0
  44. package/dist/collection/components/animation/animations/back_exits/backOutDown.js +5 -0
  45. package/dist/collection/components/animation/animations/back_exits/backOutLeft.js +5 -0
  46. package/dist/collection/components/animation/animations/back_exits/backOutRight.js +5 -0
  47. package/dist/collection/components/animation/animations/back_exits/backOutUp.js +5 -0
  48. package/dist/collection/components/animation/animations/bouncing_entrances/bounceIn.js +14 -0
  49. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInDown.js +20 -0
  50. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInLeft.js +16 -0
  51. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInRight.js +16 -0
  52. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInUp.js +16 -0
  53. package/dist/collection/components/animation/animations/bouncing_exits/bounceOut.js +6 -0
  54. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutDown.js +14 -0
  55. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutLeft.js +12 -0
  56. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutRight.js +8 -0
  57. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutUp.js +18 -0
  58. package/dist/collection/components/animation/animations/easings/easings.js +35 -0
  59. package/dist/collection/components/animation/animations/easings/easings.js.map +1 -0
  60. package/dist/collection/components/animation/animations/fading_entrances/fadeIn.js +4 -0
  61. package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomLeft.js +4 -0
  62. package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomRight.js +4 -0
  63. package/dist/collection/components/animation/animations/fading_entrances/fadeInDown.js +4 -0
  64. package/dist/collection/components/animation/animations/fading_entrances/fadeInDownBig.js +4 -0
  65. package/dist/collection/components/animation/animations/fading_entrances/fadeInLeft.js +4 -0
  66. package/dist/collection/components/animation/animations/fading_entrances/fadeInLeftBig.js +4 -0
  67. package/dist/collection/components/animation/animations/fading_entrances/fadeInRight.js +4 -0
  68. package/dist/collection/components/animation/animations/fading_entrances/fadeInRightBig.js +4 -0
  69. package/dist/collection/components/animation/animations/fading_entrances/fadeInTopLeft.js +4 -0
  70. package/dist/collection/components/animation/animations/fading_entrances/fadeInTopRight.js +4 -0
  71. package/dist/collection/components/animation/animations/fading_entrances/fadeInUp.js +4 -0
  72. package/dist/collection/components/animation/animations/fading_entrances/fadeInUpBig.js +4 -0
  73. package/dist/collection/components/animation/animations/fading_exits/fadeOut.js +4 -0
  74. package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomLeft.js +4 -0
  75. package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomRight.js +4 -0
  76. package/dist/collection/components/animation/animations/fading_exits/fadeOutDown.js +4 -0
  77. package/dist/collection/components/animation/animations/fading_exits/fadeOutDownBig.js +4 -0
  78. package/dist/collection/components/animation/animations/fading_exits/fadeOutLeft.js +4 -0
  79. package/dist/collection/components/animation/animations/fading_exits/fadeOutLeftBig.js +4 -0
  80. package/dist/collection/components/animation/animations/fading_exits/fadeOutRight.js +4 -0
  81. package/dist/collection/components/animation/animations/fading_exits/fadeOutRightBig.js +4 -0
  82. package/dist/collection/components/animation/animations/fading_exits/fadeOutTopLeft.js +4 -0
  83. package/dist/collection/components/animation/animations/fading_exits/fadeOutTopRight.js +4 -0
  84. package/dist/collection/components/animation/animations/fading_exits/fadeOutUp.js +4 -0
  85. package/dist/collection/components/animation/animations/fading_exits/fadeOutUpBig.js +4 -0
  86. package/dist/collection/components/animation/animations/flippers/flip.js +32 -0
  87. package/dist/collection/components/animation/animations/flippers/flipInX.js +20 -0
  88. package/dist/collection/components/animation/animations/flippers/flipInY.js +20 -0
  89. package/dist/collection/components/animation/animations/flippers/flipOutX.js +13 -0
  90. package/dist/collection/components/animation/animations/flippers/flipOutY.js +13 -0
  91. package/dist/collection/components/animation/animations/index.js +203 -0
  92. package/dist/collection/components/animation/animations/index.js.map +1 -0
  93. package/dist/collection/components/animation/animations/lightspeed/lightSpeedInLeft.js +10 -0
  94. package/dist/collection/components/animation/animations/lightspeed/lightSpeedInRight.js +10 -0
  95. package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutLeft.js +8 -0
  96. package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutRight.js +8 -0
  97. package/dist/collection/components/animation/animations/rotating_entrances/rotateIn.js +4 -0
  98. package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownLeft.js +4 -0
  99. package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownRight.js +4 -0
  100. package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpLeft.js +4 -0
  101. package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpRight.js +4 -0
  102. package/dist/collection/components/animation/animations/rotating_exits/rotateOut.js +4 -0
  103. package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownLeft.js +4 -0
  104. package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownRight.js +4 -0
  105. package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpLeft.js +4 -0
  106. package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpRight.js +4 -0
  107. package/dist/collection/components/animation/animations/sliding_entrances/slideInDown.js +4 -0
  108. package/dist/collection/components/animation/animations/sliding_entrances/slideInLeft.js +4 -0
  109. package/dist/collection/components/animation/animations/sliding_entrances/slideInRight.js +4 -0
  110. package/dist/collection/components/animation/animations/sliding_entrances/slideInUp.js +4 -0
  111. package/dist/collection/components/animation/animations/sliding_exits/slideOutDown.js +4 -0
  112. package/dist/collection/components/animation/animations/sliding_exits/slideOutLeft.js +4 -0
  113. package/dist/collection/components/animation/animations/sliding_exits/slideOutRight.js +4 -0
  114. package/dist/collection/components/animation/animations/sliding_exits/slideOutUp.js +4 -0
  115. package/dist/collection/components/animation/animations/specials/hinge.js +18 -0
  116. package/dist/collection/components/animation/animations/specials/jackInTheBox.js +11 -0
  117. package/dist/collection/components/animation/animations/specials/rollIn.js +8 -0
  118. package/dist/collection/components/animation/animations/specials/rollOut.js +8 -0
  119. package/dist/collection/components/animation/animations/zooming_entrances/zoomIn.js +4 -0
  120. package/dist/collection/components/animation/animations/zooming_entrances/zoomInDown.js +14 -0
  121. package/dist/collection/components/animation/animations/zooming_entrances/zoomInLeft.js +14 -0
  122. package/dist/collection/components/animation/animations/zooming_entrances/zoomInRight.js +14 -0
  123. package/dist/collection/components/animation/animations/zooming_entrances/zoomInUp.js +14 -0
  124. package/dist/collection/components/animation/animations/zooming_exits/zoomOut.js +5 -0
  125. package/dist/collection/components/animation/animations/zooming_exits/zoomOutDown.js +14 -0
  126. package/dist/collection/components/animation/animations/zooming_exits/zoomOutLeft.js +12 -0
  127. package/dist/collection/components/animation/animations/zooming_exits/zoomOutRight.js +12 -0
  128. package/dist/collection/components/animation/animations/zooming_exits/zoomOutUp.js +14 -0
  129. package/dist/collection/components/hero/hero.css +0 -1
  130. package/dist/collection/components/intersection-observe/intersection-observe.js +256 -0
  131. package/dist/collection/components/intersection-observe/intersection-observe.js.map +1 -0
  132. package/dist/collection/components/resize-observe/resize-observe.js +1 -1
  133. package/dist/collection/components/resize-observe/resize-observe.js.map +1 -1
  134. package/dist/collection/components/select/select.js +5 -5
  135. package/dist/collection/components/select/select.js.map +1 -1
  136. package/dist/collection/components/sticker/sticker.js +2 -27
  137. package/dist/collection/components/sticker/sticker.js.map +1 -1
  138. package/dist/collection/components/table/table.js +2 -1
  139. package/dist/collection/components/table/table.js.map +1 -1
  140. package/dist/collection/components/table/table.utils.js +0 -21
  141. package/dist/collection/components/table/table.utils.js.map +1 -1
  142. package/dist/collection/utils/scroll-parent.js +26 -0
  143. package/dist/collection/utils/scroll-parent.js.map +1 -0
  144. package/dist/components/index.d.ts +2 -1
  145. package/dist/components/index.js +2 -1
  146. package/dist/components/index.js.map +1 -1
  147. package/dist/components/{nano-aspect-ratio.d.ts → nano-animation.d.ts} +4 -4
  148. package/dist/components/nano-animation.js +1239 -0
  149. package/dist/components/nano-animation.js.map +1 -0
  150. package/dist/components/nano-hero.js +1 -1
  151. package/dist/components/nano-hero.js.map +1 -1
  152. package/dist/components/nano-intersection-observe.d.ts +11 -0
  153. package/dist/components/nano-intersection-observe.js +149 -0
  154. package/dist/components/nano-intersection-observe.js.map +1 -0
  155. package/dist/components/resize-observe.js +1 -1
  156. package/dist/components/resize-observe.js.map +1 -1
  157. package/dist/components/scroll-parent.js +29 -0
  158. package/dist/components/scroll-parent.js.map +1 -0
  159. package/dist/components/select.js.map +1 -1
  160. package/dist/components/sticker.js +2 -27
  161. package/dist/components/sticker.js.map +1 -1
  162. package/dist/components/table.js +1 -21
  163. package/dist/components/table.js.map +1 -1
  164. package/dist/esm/index-9695db0a.js +6 -2
  165. package/dist/esm/loader.js +1 -1
  166. package/dist/esm/nano-animation.entry.js +1205 -0
  167. package/dist/esm/nano-animation.entry.js.map +1 -0
  168. package/dist/esm/nano-components.js +1 -1
  169. package/dist/esm/nano-global-nav-user-profile_3.entry.js.map +1 -1
  170. package/dist/esm/nano-hero.entry.js +1 -1
  171. package/dist/esm/nano-hero.entry.js.map +1 -1
  172. package/dist/esm/nano-intersection-observe.entry.js +127 -0
  173. package/dist/esm/nano-intersection-observe.entry.js.map +1 -0
  174. package/dist/esm/nano-resize-observe_2.entry.js +1 -1
  175. package/dist/esm/nano-resize-observe_2.entry.js.map +1 -1
  176. package/dist/esm/nano-sticker.entry.js +2 -27
  177. package/dist/esm/nano-sticker.entry.js.map +1 -1
  178. package/dist/esm/{nano-table-fc01a927.js → nano-table-c85a2fd3.js} +3 -23
  179. package/dist/esm/nano-table-c85a2fd3.js.map +1 -0
  180. package/dist/esm/nano-table.entry.js +2 -1
  181. package/dist/esm/nano-table.entry.js.map +1 -1
  182. package/dist/esm/scroll-parent-bab1cbf7.js +29 -0
  183. package/dist/esm/scroll-parent-bab1cbf7.js.map +1 -0
  184. package/dist/esm/{table.worker-c70f6379.js → table.worker-761fba3e.js} +3 -2
  185. package/dist/esm/table.worker-761fba3e.js.map +1 -0
  186. package/dist/nano-components/nano-animation.entry.js +5 -0
  187. package/dist/nano-components/nano-animation.entry.js.map +1 -0
  188. package/dist/nano-components/nano-components.css +1 -1
  189. package/dist/nano-components/nano-components.esm.js +1 -1
  190. package/dist/nano-components/nano-components.esm.js.map +1 -1
  191. package/dist/nano-components/nano-global-nav-user-profile_3.entry.js.map +1 -1
  192. package/dist/nano-components/nano-hero.entry.js +1 -1
  193. package/dist/nano-components/nano-hero.entry.js.map +1 -1
  194. package/dist/nano-components/nano-intersection-observe.entry.js +5 -0
  195. package/dist/nano-components/nano-intersection-observe.entry.js.map +1 -0
  196. package/dist/nano-components/nano-resize-observe_2.entry.js +1 -1
  197. package/dist/nano-components/nano-resize-observe_2.entry.js.map +1 -1
  198. package/dist/nano-components/nano-sticker.entry.js +1 -1
  199. package/dist/nano-components/nano-sticker.entry.js.map +1 -1
  200. package/dist/nano-components/nano-table-c85a2fd3.js +5 -0
  201. package/dist/nano-components/nano-table-c85a2fd3.js.map +1 -0
  202. package/dist/nano-components/nano-table.entry.js +1 -1
  203. package/dist/nano-components/scroll-parent-bab1cbf7.js +5 -0
  204. package/dist/nano-components/scroll-parent-bab1cbf7.js.map +1 -0
  205. package/dist/nano-components/table.worker-761fba3e.js +5 -0
  206. package/dist/types/components/animation/animation.d.ts +74 -0
  207. package/dist/types/components/animation/animations/easings/easings.d.ts +31 -0
  208. package/dist/types/components/animation/animations/index.d.ts +101 -0
  209. package/dist/types/components/intersection-observe/intersection-observe.d.ts +45 -0
  210. package/dist/types/components/select/select.d.ts +2 -4
  211. package/dist/types/components/sticker/sticker.d.ts +0 -5
  212. package/dist/types/components/table/table.utils.d.ts +0 -6
  213. package/dist/types/components.d.ts +209 -42
  214. package/dist/types/interface.d.ts +6 -2
  215. package/dist/types/utils/scroll-parent.d.ts +6 -0
  216. package/docs-json.json +945 -31
  217. package/docs-vscode.json +488 -8
  218. package/hydrate/index.js +1393 -113
  219. package/package.json +2 -2
  220. package/dist/cjs/nano-aspect-ratio.cjs.entry.js +0 -53
  221. package/dist/cjs/nano-aspect-ratio.cjs.entry.js.map +0 -1
  222. package/dist/cjs/nano-table-6f48a747.js.map +0 -1
  223. package/dist/cjs/table.worker-f3e54773.js.map +0 -1
  224. package/dist/collection/components/aspect-ratio/aspect-ratio.css +0 -38
  225. package/dist/collection/components/aspect-ratio/aspect-ratio.js +0 -106
  226. package/dist/collection/components/aspect-ratio/aspect-ratio.js.map +0 -1
  227. package/dist/components/nano-aspect-ratio.js +0 -70
  228. package/dist/components/nano-aspect-ratio.js.map +0 -1
  229. package/dist/esm/nano-aspect-ratio.entry.js +0 -49
  230. package/dist/esm/nano-aspect-ratio.entry.js.map +0 -1
  231. package/dist/esm/nano-table-fc01a927.js.map +0 -1
  232. package/dist/esm/table.worker-c70f6379.js.map +0 -1
  233. package/dist/nano-components/nano-aspect-ratio.entry.js +0 -5
  234. package/dist/nano-components/nano-aspect-ratio.entry.js.map +0 -1
  235. package/dist/nano-components/nano-table-fc01a927.js +0 -5
  236. package/dist/nano-components/nano-table-fc01a927.js.map +0 -1
  237. package/dist/nano-components/table.worker-c70f6379.js +0 -5
  238. package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +0 -19
  239. /package/dist/nano-components/{table.worker-c70f6379.js.map → table.worker-761fba3e.js.map} +0 -0
package/docs-json.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-04-26T12:55:52",
2
+ "timestamp": "2024-05-03T10:38:32",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "2.23.2",
@@ -1321,26 +1321,773 @@
1321
1321
  "dependencyGraph": {}
1322
1322
  },
1323
1323
  {
1324
- "filePath": "./src/components/aspect-ratio/aspect-ratio.tsx",
1324
+ "filePath": "./src/components/animation/animation.tsx",
1325
1325
  "encapsulation": "shadow",
1326
- "tag": "nano-aspect-ratio",
1327
- "readme": "# nano-aspect-ratio\n\n\n",
1328
- "docs": "Displays media in the desired aspect ratio.\nYou can slot in any replaced element, including `<iframe>`, `<img>`, and `<video>`.\nAs the element's width changes, its height will resize proportionally. Only one element should be slotted into the container.\nThe default aspect ratio is 16:9.",
1329
- "docsTags": [],
1326
+ "tag": "nano-animation",
1327
+ "readme": "# nano-animation\n\n\n",
1328
+ "docs": "Animate elements declaratively with [~100 baked-in presets](https://animate.style/), or make your own with custom keyframes.\nPowered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).",
1329
+ "docsTags": [
1330
+ {
1331
+ "name": "slot",
1332
+ "text": "- The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple *nano-animation* elements."
1333
+ }
1334
+ ],
1330
1335
  "usage": {},
1331
1336
  "props": [
1332
1337
  {
1333
- "name": "aspectRatio",
1334
- "type": "string",
1335
- "mutable": false,
1336
- "attr": "aspect-ratio",
1337
- "reflectToAttr": false,
1338
- "docs": "The aspect ratio of the embedded media in the format of `width:height`, e.g. `16:9`, `4:3`, or `1:1`.\nRatios not in this format will be ignored.",
1338
+ "name": "currentTime",
1339
+ "type": "number",
1340
+ "mutable": false,
1341
+ "attr": "current-time",
1342
+ "reflectToAttr": false,
1343
+ "docs": "Gets and sets the current animation time.",
1344
+ "docsTags": [],
1345
+ "values": [
1346
+ {
1347
+ "type": "number"
1348
+ }
1349
+ ],
1350
+ "optional": false,
1351
+ "required": false,
1352
+ "getter": true,
1353
+ "setter": true
1354
+ },
1355
+ {
1356
+ "name": "delay",
1357
+ "type": "number",
1358
+ "mutable": false,
1359
+ "attr": "delay",
1360
+ "reflectToAttr": false,
1361
+ "docs": "The number of milliseconds to delay the start of the animation.",
1362
+ "docsTags": [],
1363
+ "default": "0",
1364
+ "values": [
1365
+ {
1366
+ "type": "number"
1367
+ }
1368
+ ],
1369
+ "optional": false,
1370
+ "required": false,
1371
+ "getter": false,
1372
+ "setter": false
1373
+ },
1374
+ {
1375
+ "name": "direction",
1376
+ "type": "\"alternate\" | \"alternate-reverse\" | \"normal\" | \"reverse\"",
1377
+ "mutable": false,
1378
+ "attr": "direction",
1379
+ "reflectToAttr": false,
1380
+ "docs": "Determines the direction of playback as well as the behavior when reaching the end of an iteration.\n[Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)",
1381
+ "docsTags": [],
1382
+ "default": "'normal'",
1383
+ "values": [
1384
+ {
1385
+ "value": "alternate",
1386
+ "type": "string"
1387
+ },
1388
+ {
1389
+ "value": "alternate-reverse",
1390
+ "type": "string"
1391
+ },
1392
+ {
1393
+ "value": "normal",
1394
+ "type": "string"
1395
+ },
1396
+ {
1397
+ "value": "reverse",
1398
+ "type": "string"
1399
+ }
1400
+ ],
1401
+ "optional": false,
1402
+ "required": false,
1403
+ "getter": false,
1404
+ "setter": false
1405
+ },
1406
+ {
1407
+ "name": "duration",
1408
+ "type": "number",
1409
+ "mutable": false,
1410
+ "attr": "duration",
1411
+ "reflectToAttr": false,
1412
+ "docs": "The number of milliseconds each iteration of the animation takes to complete.",
1413
+ "docsTags": [],
1414
+ "default": "1000",
1415
+ "values": [
1416
+ {
1417
+ "type": "number"
1418
+ }
1419
+ ],
1420
+ "optional": false,
1421
+ "required": false,
1422
+ "getter": false,
1423
+ "setter": false
1424
+ },
1425
+ {
1426
+ "name": "easing",
1427
+ "type": "\"linear\" | \"ease\" | \"easeIn\" | \"easeOut\" | \"easeInOut\" | \"easeInSine\" | \"easeOutSine\" | \"easeInOutSine\" | \"easeInQuad\" | \"easeOutQuad\" | \"easeInOutQuad\" | \"easeInCubic\" | \"easeOutCubic\" | \"easeInOutCubic\" | \"easeInQuart\" | \"easeOutQuart\" | \"easeInOutQuart\" | \"easeInQuint\" | \"easeOutQuint\" | \"easeInOutQuint\" | \"easeInExpo\" | \"easeOutExpo\" | \"easeInOutExpo\" | \"easeInCirc\" | \"easeOutCirc\" | \"easeInOutCirc\" | \"easeInBack\" | \"easeOutBack\" | \"easeInOutBack\"",
1428
+ "mutable": false,
1429
+ "attr": "easing",
1430
+ "reflectToAttr": false,
1431
+ "docs": "The easing function to use for the animation. This can be a easing function or a custom easing function\nsuch as `cubic-bezier(0, 1, .76, 1.14)`.",
1432
+ "docsTags": [],
1433
+ "default": "'ease'",
1434
+ "values": [
1435
+ {
1436
+ "value": "linear",
1437
+ "type": "string"
1438
+ },
1439
+ {
1440
+ "value": "ease",
1441
+ "type": "string"
1442
+ },
1443
+ {
1444
+ "value": "easeIn",
1445
+ "type": "string"
1446
+ },
1447
+ {
1448
+ "value": "easeOut",
1449
+ "type": "string"
1450
+ },
1451
+ {
1452
+ "value": "easeInOut",
1453
+ "type": "string"
1454
+ },
1455
+ {
1456
+ "value": "easeInSine",
1457
+ "type": "string"
1458
+ },
1459
+ {
1460
+ "value": "easeOutSine",
1461
+ "type": "string"
1462
+ },
1463
+ {
1464
+ "value": "easeInOutSine",
1465
+ "type": "string"
1466
+ },
1467
+ {
1468
+ "value": "easeInQuad",
1469
+ "type": "string"
1470
+ },
1471
+ {
1472
+ "value": "easeOutQuad",
1473
+ "type": "string"
1474
+ },
1475
+ {
1476
+ "value": "easeInOutQuad",
1477
+ "type": "string"
1478
+ },
1479
+ {
1480
+ "value": "easeInCubic",
1481
+ "type": "string"
1482
+ },
1483
+ {
1484
+ "value": "easeOutCubic",
1485
+ "type": "string"
1486
+ },
1487
+ {
1488
+ "value": "easeInOutCubic",
1489
+ "type": "string"
1490
+ },
1491
+ {
1492
+ "value": "easeInQuart",
1493
+ "type": "string"
1494
+ },
1495
+ {
1496
+ "value": "easeOutQuart",
1497
+ "type": "string"
1498
+ },
1499
+ {
1500
+ "value": "easeInOutQuart",
1501
+ "type": "string"
1502
+ },
1503
+ {
1504
+ "value": "easeInQuint",
1505
+ "type": "string"
1506
+ },
1507
+ {
1508
+ "value": "easeOutQuint",
1509
+ "type": "string"
1510
+ },
1511
+ {
1512
+ "value": "easeInOutQuint",
1513
+ "type": "string"
1514
+ },
1515
+ {
1516
+ "value": "easeInExpo",
1517
+ "type": "string"
1518
+ },
1519
+ {
1520
+ "value": "easeOutExpo",
1521
+ "type": "string"
1522
+ },
1523
+ {
1524
+ "value": "easeInOutExpo",
1525
+ "type": "string"
1526
+ },
1527
+ {
1528
+ "value": "easeInCirc",
1529
+ "type": "string"
1530
+ },
1531
+ {
1532
+ "value": "easeOutCirc",
1533
+ "type": "string"
1534
+ },
1535
+ {
1536
+ "value": "easeInOutCirc",
1537
+ "type": "string"
1538
+ },
1539
+ {
1540
+ "value": "easeInBack",
1541
+ "type": "string"
1542
+ },
1543
+ {
1544
+ "value": "easeOutBack",
1545
+ "type": "string"
1546
+ },
1547
+ {
1548
+ "value": "easeInOutBack",
1549
+ "type": "string"
1550
+ }
1551
+ ],
1552
+ "optional": false,
1553
+ "required": false,
1554
+ "getter": false,
1555
+ "setter": false
1556
+ },
1557
+ {
1558
+ "name": "endDelay",
1559
+ "type": "number",
1560
+ "mutable": false,
1561
+ "attr": "end-delay",
1562
+ "reflectToAttr": false,
1563
+ "docs": "The number of milliseconds to delay after the active period of an animation sequence.",
1564
+ "docsTags": [],
1565
+ "default": "0",
1566
+ "values": [
1567
+ {
1568
+ "type": "number"
1569
+ }
1570
+ ],
1571
+ "optional": false,
1572
+ "required": false,
1573
+ "getter": false,
1574
+ "setter": false
1575
+ },
1576
+ {
1577
+ "name": "fill",
1578
+ "type": "\"auto\" | \"backwards\" | \"both\" | \"forwards\" | \"none\"",
1579
+ "mutable": false,
1580
+ "attr": "fill",
1581
+ "reflectToAttr": false,
1582
+ "docs": "Sets how the animation applies styles to its target before and after its execution.",
1583
+ "docsTags": [],
1584
+ "default": "'auto'",
1585
+ "values": [
1586
+ {
1587
+ "value": "auto",
1588
+ "type": "string"
1589
+ },
1590
+ {
1591
+ "value": "backwards",
1592
+ "type": "string"
1593
+ },
1594
+ {
1595
+ "value": "both",
1596
+ "type": "string"
1597
+ },
1598
+ {
1599
+ "value": "forwards",
1600
+ "type": "string"
1601
+ },
1602
+ {
1603
+ "value": "none",
1604
+ "type": "string"
1605
+ }
1606
+ ],
1607
+ "optional": false,
1608
+ "required": false,
1609
+ "getter": false,
1610
+ "setter": false
1611
+ },
1612
+ {
1613
+ "name": "iterationStart",
1614
+ "type": "number",
1615
+ "mutable": false,
1616
+ "attr": "iteration-start",
1617
+ "reflectToAttr": false,
1618
+ "docs": "The offset at which to start the animation, usually between 0 (start) and 1 (end).",
1619
+ "docsTags": [],
1620
+ "default": "0",
1621
+ "values": [
1622
+ {
1623
+ "type": "number"
1624
+ }
1625
+ ],
1626
+ "optional": false,
1627
+ "required": false,
1628
+ "getter": false,
1629
+ "setter": false
1630
+ },
1631
+ {
1632
+ "name": "iterations",
1633
+ "type": "number",
1634
+ "mutable": false,
1635
+ "attr": "iterations",
1636
+ "reflectToAttr": false,
1637
+ "docs": "The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.",
1638
+ "docsTags": [],
1639
+ "default": "Infinity",
1640
+ "values": [
1641
+ {
1642
+ "type": "number"
1643
+ }
1644
+ ],
1645
+ "optional": false,
1646
+ "required": false,
1647
+ "getter": false,
1648
+ "setter": false
1649
+ },
1650
+ {
1651
+ "name": "keyframes",
1652
+ "type": "Keyframe[]",
1653
+ "mutable": false,
1654
+ "reflectToAttr": false,
1655
+ "docs": "The keyframes to use for the animation. If this is set, `name` will be ignored.",
1656
+ "docsTags": [],
1657
+ "values": [
1658
+ {
1659
+ "type": "Keyframe[]"
1660
+ }
1661
+ ],
1662
+ "optional": true,
1663
+ "required": false,
1664
+ "getter": false,
1665
+ "setter": false
1666
+ },
1667
+ {
1668
+ "name": "name",
1669
+ "type": "\"flip\" | \"none\" | \"bounce\" | \"flash\" | \"headShake\" | \"heartBeat\" | \"jello\" | \"pulse\" | \"rubberBand\" | \"shake\" | \"shakeX\" | \"shakeY\" | \"swing\" | \"tada\" | \"wobble\" | \"backInDown\" | \"backInLeft\" | \"backInRight\" | \"backInUp\" | \"backOutDown\" | \"backOutLeft\" | \"backOutRight\" | \"backOutUp\" | \"bounceIn\" | \"bounceInDown\" | \"bounceInLeft\" | \"bounceInRight\" | \"bounceInUp\" | \"bounceOut\" | \"bounceOutDown\" | \"bounceOutLeft\" | \"bounceOutRight\" | \"bounceOutUp\" | \"fadeIn\" | \"fadeInBottomLeft\" | \"fadeInBottomRight\" | \"fadeInDown\" | \"fadeInDownBig\" | \"fadeInLeft\" | \"fadeInLeftBig\" | \"fadeInRight\" | \"fadeInRightBig\" | \"fadeInTopLeft\" | \"fadeInTopRight\" | \"fadeInUp\" | \"fadeInUpBig\" | \"fadeOut\" | \"fadeOutBottomLeft\" | \"fadeOutBottomRight\" | \"fadeOutDown\" | \"fadeOutDownBig\" | \"fadeOutLeft\" | \"fadeOutLeftBig\" | \"fadeOutRight\" | \"fadeOutRightBig\" | \"fadeOutTopLeft\" | \"fadeOutTopRight\" | \"fadeOutUp\" | \"fadeOutUpBig\" | \"flipInX\" | \"flipInY\" | \"flipOutX\" | \"flipOutY\" | \"lightSpeedInLeft\" | \"lightSpeedInRight\" | \"lightSpeedOutLeft\" | \"lightSpeedOutRight\" | \"rotateIn\" | \"rotateInDownLeft\" | \"rotateInDownRight\" | \"rotateInUpLeft\" | \"rotateInUpRight\" | \"rotateOut\" | \"rotateOutDownLeft\" | \"rotateOutDownRight\" | \"rotateOutUpLeft\" | \"rotateOutUpRight\" | \"slideInDown\" | \"slideInLeft\" | \"slideInRight\" | \"slideInUp\" | \"slideOutDown\" | \"slideOutLeft\" | \"slideOutRight\" | \"slideOutUp\" | \"hinge\" | \"jackInTheBox\" | \"rollIn\" | \"rollOut\" | \"zoomIn\" | \"zoomInDown\" | \"zoomInLeft\" | \"zoomInRight\" | \"zoomInUp\" | \"zoomOut\" | \"zoomOutDown\" | \"zoomOutLeft\" | \"zoomOutRight\" | \"zoomOutUp\"",
1670
+ "mutable": false,
1671
+ "attr": "name",
1672
+ "reflectToAttr": false,
1673
+ "docs": "The name of the built-in animation to use. For custom animations, use the `keyframes` prop.",
1674
+ "docsTags": [],
1675
+ "default": "'none'",
1676
+ "values": [
1677
+ {
1678
+ "value": "flip",
1679
+ "type": "string"
1680
+ },
1681
+ {
1682
+ "value": "none",
1683
+ "type": "string"
1684
+ },
1685
+ {
1686
+ "value": "bounce",
1687
+ "type": "string"
1688
+ },
1689
+ {
1690
+ "value": "flash",
1691
+ "type": "string"
1692
+ },
1693
+ {
1694
+ "value": "headShake",
1695
+ "type": "string"
1696
+ },
1697
+ {
1698
+ "value": "heartBeat",
1699
+ "type": "string"
1700
+ },
1701
+ {
1702
+ "value": "jello",
1703
+ "type": "string"
1704
+ },
1705
+ {
1706
+ "value": "pulse",
1707
+ "type": "string"
1708
+ },
1709
+ {
1710
+ "value": "rubberBand",
1711
+ "type": "string"
1712
+ },
1713
+ {
1714
+ "value": "shake",
1715
+ "type": "string"
1716
+ },
1717
+ {
1718
+ "value": "shakeX",
1719
+ "type": "string"
1720
+ },
1721
+ {
1722
+ "value": "shakeY",
1723
+ "type": "string"
1724
+ },
1725
+ {
1726
+ "value": "swing",
1727
+ "type": "string"
1728
+ },
1729
+ {
1730
+ "value": "tada",
1731
+ "type": "string"
1732
+ },
1733
+ {
1734
+ "value": "wobble",
1735
+ "type": "string"
1736
+ },
1737
+ {
1738
+ "value": "backInDown",
1739
+ "type": "string"
1740
+ },
1741
+ {
1742
+ "value": "backInLeft",
1743
+ "type": "string"
1744
+ },
1745
+ {
1746
+ "value": "backInRight",
1747
+ "type": "string"
1748
+ },
1749
+ {
1750
+ "value": "backInUp",
1751
+ "type": "string"
1752
+ },
1753
+ {
1754
+ "value": "backOutDown",
1755
+ "type": "string"
1756
+ },
1757
+ {
1758
+ "value": "backOutLeft",
1759
+ "type": "string"
1760
+ },
1761
+ {
1762
+ "value": "backOutRight",
1763
+ "type": "string"
1764
+ },
1765
+ {
1766
+ "value": "backOutUp",
1767
+ "type": "string"
1768
+ },
1769
+ {
1770
+ "value": "bounceIn",
1771
+ "type": "string"
1772
+ },
1773
+ {
1774
+ "value": "bounceInDown",
1775
+ "type": "string"
1776
+ },
1777
+ {
1778
+ "value": "bounceInLeft",
1779
+ "type": "string"
1780
+ },
1781
+ {
1782
+ "value": "bounceInRight",
1783
+ "type": "string"
1784
+ },
1785
+ {
1786
+ "value": "bounceInUp",
1787
+ "type": "string"
1788
+ },
1789
+ {
1790
+ "value": "bounceOut",
1791
+ "type": "string"
1792
+ },
1793
+ {
1794
+ "value": "bounceOutDown",
1795
+ "type": "string"
1796
+ },
1797
+ {
1798
+ "value": "bounceOutLeft",
1799
+ "type": "string"
1800
+ },
1801
+ {
1802
+ "value": "bounceOutRight",
1803
+ "type": "string"
1804
+ },
1805
+ {
1806
+ "value": "bounceOutUp",
1807
+ "type": "string"
1808
+ },
1809
+ {
1810
+ "value": "fadeIn",
1811
+ "type": "string"
1812
+ },
1813
+ {
1814
+ "value": "fadeInBottomLeft",
1815
+ "type": "string"
1816
+ },
1817
+ {
1818
+ "value": "fadeInBottomRight",
1819
+ "type": "string"
1820
+ },
1821
+ {
1822
+ "value": "fadeInDown",
1823
+ "type": "string"
1824
+ },
1825
+ {
1826
+ "value": "fadeInDownBig",
1827
+ "type": "string"
1828
+ },
1829
+ {
1830
+ "value": "fadeInLeft",
1831
+ "type": "string"
1832
+ },
1833
+ {
1834
+ "value": "fadeInLeftBig",
1835
+ "type": "string"
1836
+ },
1837
+ {
1838
+ "value": "fadeInRight",
1839
+ "type": "string"
1840
+ },
1841
+ {
1842
+ "value": "fadeInRightBig",
1843
+ "type": "string"
1844
+ },
1845
+ {
1846
+ "value": "fadeInTopLeft",
1847
+ "type": "string"
1848
+ },
1849
+ {
1850
+ "value": "fadeInTopRight",
1851
+ "type": "string"
1852
+ },
1853
+ {
1854
+ "value": "fadeInUp",
1855
+ "type": "string"
1856
+ },
1857
+ {
1858
+ "value": "fadeInUpBig",
1859
+ "type": "string"
1860
+ },
1861
+ {
1862
+ "value": "fadeOut",
1863
+ "type": "string"
1864
+ },
1865
+ {
1866
+ "value": "fadeOutBottomLeft",
1867
+ "type": "string"
1868
+ },
1869
+ {
1870
+ "value": "fadeOutBottomRight",
1871
+ "type": "string"
1872
+ },
1873
+ {
1874
+ "value": "fadeOutDown",
1875
+ "type": "string"
1876
+ },
1877
+ {
1878
+ "value": "fadeOutDownBig",
1879
+ "type": "string"
1880
+ },
1881
+ {
1882
+ "value": "fadeOutLeft",
1883
+ "type": "string"
1884
+ },
1885
+ {
1886
+ "value": "fadeOutLeftBig",
1887
+ "type": "string"
1888
+ },
1889
+ {
1890
+ "value": "fadeOutRight",
1891
+ "type": "string"
1892
+ },
1893
+ {
1894
+ "value": "fadeOutRightBig",
1895
+ "type": "string"
1896
+ },
1897
+ {
1898
+ "value": "fadeOutTopLeft",
1899
+ "type": "string"
1900
+ },
1901
+ {
1902
+ "value": "fadeOutTopRight",
1903
+ "type": "string"
1904
+ },
1905
+ {
1906
+ "value": "fadeOutUp",
1907
+ "type": "string"
1908
+ },
1909
+ {
1910
+ "value": "fadeOutUpBig",
1911
+ "type": "string"
1912
+ },
1913
+ {
1914
+ "value": "flipInX",
1915
+ "type": "string"
1916
+ },
1917
+ {
1918
+ "value": "flipInY",
1919
+ "type": "string"
1920
+ },
1921
+ {
1922
+ "value": "flipOutX",
1923
+ "type": "string"
1924
+ },
1925
+ {
1926
+ "value": "flipOutY",
1927
+ "type": "string"
1928
+ },
1929
+ {
1930
+ "value": "lightSpeedInLeft",
1931
+ "type": "string"
1932
+ },
1933
+ {
1934
+ "value": "lightSpeedInRight",
1935
+ "type": "string"
1936
+ },
1937
+ {
1938
+ "value": "lightSpeedOutLeft",
1939
+ "type": "string"
1940
+ },
1941
+ {
1942
+ "value": "lightSpeedOutRight",
1943
+ "type": "string"
1944
+ },
1945
+ {
1946
+ "value": "rotateIn",
1947
+ "type": "string"
1948
+ },
1949
+ {
1950
+ "value": "rotateInDownLeft",
1951
+ "type": "string"
1952
+ },
1953
+ {
1954
+ "value": "rotateInDownRight",
1955
+ "type": "string"
1956
+ },
1957
+ {
1958
+ "value": "rotateInUpLeft",
1959
+ "type": "string"
1960
+ },
1961
+ {
1962
+ "value": "rotateInUpRight",
1963
+ "type": "string"
1964
+ },
1965
+ {
1966
+ "value": "rotateOut",
1967
+ "type": "string"
1968
+ },
1969
+ {
1970
+ "value": "rotateOutDownLeft",
1971
+ "type": "string"
1972
+ },
1973
+ {
1974
+ "value": "rotateOutDownRight",
1975
+ "type": "string"
1976
+ },
1977
+ {
1978
+ "value": "rotateOutUpLeft",
1979
+ "type": "string"
1980
+ },
1981
+ {
1982
+ "value": "rotateOutUpRight",
1983
+ "type": "string"
1984
+ },
1985
+ {
1986
+ "value": "slideInDown",
1987
+ "type": "string"
1988
+ },
1989
+ {
1990
+ "value": "slideInLeft",
1991
+ "type": "string"
1992
+ },
1993
+ {
1994
+ "value": "slideInRight",
1995
+ "type": "string"
1996
+ },
1997
+ {
1998
+ "value": "slideInUp",
1999
+ "type": "string"
2000
+ },
2001
+ {
2002
+ "value": "slideOutDown",
2003
+ "type": "string"
2004
+ },
2005
+ {
2006
+ "value": "slideOutLeft",
2007
+ "type": "string"
2008
+ },
2009
+ {
2010
+ "value": "slideOutRight",
2011
+ "type": "string"
2012
+ },
2013
+ {
2014
+ "value": "slideOutUp",
2015
+ "type": "string"
2016
+ },
2017
+ {
2018
+ "value": "hinge",
2019
+ "type": "string"
2020
+ },
2021
+ {
2022
+ "value": "jackInTheBox",
2023
+ "type": "string"
2024
+ },
2025
+ {
2026
+ "value": "rollIn",
2027
+ "type": "string"
2028
+ },
2029
+ {
2030
+ "value": "rollOut",
2031
+ "type": "string"
2032
+ },
2033
+ {
2034
+ "value": "zoomIn",
2035
+ "type": "string"
2036
+ },
2037
+ {
2038
+ "value": "zoomInDown",
2039
+ "type": "string"
2040
+ },
2041
+ {
2042
+ "value": "zoomInLeft",
2043
+ "type": "string"
2044
+ },
2045
+ {
2046
+ "value": "zoomInRight",
2047
+ "type": "string"
2048
+ },
2049
+ {
2050
+ "value": "zoomInUp",
2051
+ "type": "string"
2052
+ },
2053
+ {
2054
+ "value": "zoomOut",
2055
+ "type": "string"
2056
+ },
2057
+ {
2058
+ "value": "zoomOutDown",
2059
+ "type": "string"
2060
+ },
2061
+ {
2062
+ "value": "zoomOutLeft",
2063
+ "type": "string"
2064
+ },
2065
+ {
2066
+ "value": "zoomOutRight",
2067
+ "type": "string"
2068
+ },
2069
+ {
2070
+ "value": "zoomOutUp",
2071
+ "type": "string"
2072
+ }
2073
+ ],
2074
+ "optional": false,
2075
+ "required": false,
2076
+ "getter": false,
2077
+ "setter": false
2078
+ },
2079
+ {
2080
+ "name": "play",
2081
+ "type": "boolean",
2082
+ "mutable": true,
2083
+ "attr": "play",
2084
+ "reflectToAttr": true,
2085
+ "docs": "Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when\nthe animation finishes or gets canceled.",
1339
2086
  "docsTags": [],
1340
- "default": "'16:9'",
2087
+ "default": "false",
1341
2088
  "values": [
1342
2089
  {
1343
- "type": "string"
2090
+ "type": "boolean"
1344
2091
  }
1345
2092
  ],
1346
2093
  "optional": false,
@@ -1349,22 +2096,17 @@
1349
2096
  "setter": false
1350
2097
  },
1351
2098
  {
1352
- "name": "fit",
1353
- "type": "\"contain\" | \"cover\"",
2099
+ "name": "playbackRate",
2100
+ "type": "number",
1354
2101
  "mutable": false,
1355
- "attr": "fit",
2102
+ "attr": "playback-rate",
1356
2103
  "reflectToAttr": false,
1357
- "docs": "Determines how content will be resized to fit its container.",
2104
+ "docs": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
1358
2105
  "docsTags": [],
1359
- "default": "'cover'",
2106
+ "default": "1",
1360
2107
  "values": [
1361
2108
  {
1362
- "value": "contain",
1363
- "type": "string"
1364
- },
1365
- {
1366
- "value": "cover",
1367
- "type": "string"
2109
+ "type": "number"
1368
2110
  }
1369
2111
  ],
1370
2112
  "optional": false,
@@ -1373,17 +2115,68 @@
1373
2115
  "setter": false
1374
2116
  }
1375
2117
  ],
1376
- "methods": [],
1377
- "events": [],
2118
+ "methods": [
2119
+ {
2120
+ "name": "cancel",
2121
+ "returns": {
2122
+ "type": "Promise<void>",
2123
+ "docs": ""
2124
+ },
2125
+ "signature": "cancel() => Promise<void>",
2126
+ "parameters": [],
2127
+ "docs": "Clears all keyframe effects caused by this animation and aborts its playback.",
2128
+ "docsTags": []
2129
+ },
2130
+ {
2131
+ "name": "finish",
2132
+ "returns": {
2133
+ "type": "Promise<void>",
2134
+ "docs": ""
2135
+ },
2136
+ "signature": "finish() => Promise<void>",
2137
+ "parameters": [],
2138
+ "docs": "Sets the playback time to the end of the animation corresponding to the current playback direction.",
2139
+ "docsTags": []
2140
+ }
2141
+ ],
2142
+ "events": [
2143
+ {
2144
+ "event": "nanoCancel",
2145
+ "detail": "any",
2146
+ "bubbles": true,
2147
+ "cancelable": true,
2148
+ "composed": true,
2149
+ "docs": "Emitted when the animation is canceled.",
2150
+ "docsTags": []
2151
+ },
2152
+ {
2153
+ "event": "nanoFinish",
2154
+ "detail": "any",
2155
+ "bubbles": true,
2156
+ "cancelable": true,
2157
+ "composed": true,
2158
+ "docs": "Emitted when the animation finishes.",
2159
+ "docsTags": []
2160
+ },
2161
+ {
2162
+ "event": "nanoStart",
2163
+ "detail": "any",
2164
+ "bubbles": true,
2165
+ "cancelable": true,
2166
+ "composed": true,
2167
+ "docs": "Emitted when the animation starts.",
2168
+ "docsTags": []
2169
+ }
2170
+ ],
1378
2171
  "listeners": [],
1379
2172
  "styles": [],
1380
- "slots": [],
1381
- "parts": [
2173
+ "slots": [
1382
2174
  {
1383
- "name": "base",
1384
- "docs": ""
2175
+ "name": "",
2176
+ "docs": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple *nano-animation* elements."
1385
2177
  }
1386
2178
  ],
2179
+ "parts": [],
1387
2180
  "dependents": [],
1388
2181
  "dependencies": [],
1389
2182
  "dependencyGraph": {}
@@ -10064,6 +10857,127 @@
10064
10857
  ]
10065
10858
  }
10066
10859
  },
10860
+ {
10861
+ "filePath": "./src/components/intersection-observe/intersection-observe.tsx",
10862
+ "encapsulation": "shadow",
10863
+ "tag": "nano-intersection-observe",
10864
+ "readme": "# nano-intersection-observe\n\n\n",
10865
+ "docs": "A thin, declarative interface to the IntersectionObserver API.",
10866
+ "docsTags": [
10867
+ {
10868
+ "name": "slot",
10869
+ "text": "- Main slot for any content."
10870
+ }
10871
+ ],
10872
+ "usage": {},
10873
+ "props": [
10874
+ {
10875
+ "name": "root",
10876
+ "type": "\"auto\" | \"root\" | Element",
10877
+ "mutable": false,
10878
+ "attr": "root",
10879
+ "reflectToAttr": false,
10880
+ "docs": "The element that is used as the viewport for checking visibility of the target. Must be the ancestor of the target.\nDefaults to an automatic check for ancestors that `overflow: auto` or otherwise the `Document`.",
10881
+ "docsTags": [],
10882
+ "default": "'auto'",
10883
+ "values": [
10884
+ {
10885
+ "value": "auto",
10886
+ "type": "string"
10887
+ },
10888
+ {
10889
+ "value": "root",
10890
+ "type": "string"
10891
+ },
10892
+ {
10893
+ "type": "Element"
10894
+ }
10895
+ ],
10896
+ "optional": false,
10897
+ "required": false,
10898
+ "getter": false,
10899
+ "setter": false
10900
+ },
10901
+ {
10902
+ "name": "rootMargin",
10903
+ "type": "string",
10904
+ "mutable": false,
10905
+ "attr": "root-margin",
10906
+ "reflectToAttr": false,
10907
+ "docs": "Margin around the root. Can be similar to CSS margins property, e.g. \"10px 20px 30px 40px\" (top, right, bottom, left).\nThe values can be percentages. This set of values serves to grow or shrink each side of the root element's\nbounding box before computing intersections. Defaults to zeros.",
10908
+ "docsTags": [],
10909
+ "values": [
10910
+ {
10911
+ "type": "string"
10912
+ }
10913
+ ],
10914
+ "optional": true,
10915
+ "required": false,
10916
+ "getter": false,
10917
+ "setter": false
10918
+ },
10919
+ {
10920
+ "name": "threshold",
10921
+ "type": "string",
10922
+ "mutable": false,
10923
+ "attr": "threshold",
10924
+ "reflectToAttr": false,
10925
+ "docs": "Indicate at what percentage of the target's visibility the observer's callback should be executed.\nIf you only want to detect when visibility passes the 50% mark, you can use a value of '0.5'.\nIf you want the callback to run every time visibility passes another '25%',\nyou would specify a string of values (separated by ',') array '0, 0.25, 0.5, 0.75, 1'.\nA value of '1.0' means that the threshold isn't considered passed until every pixel is visible.",
10926
+ "docsTags": [],
10927
+ "values": [
10928
+ {
10929
+ "type": "string"
10930
+ }
10931
+ ],
10932
+ "optional": true,
10933
+ "required": false,
10934
+ "getter": false,
10935
+ "setter": false
10936
+ }
10937
+ ],
10938
+ "methods": [],
10939
+ "events": [
10940
+ {
10941
+ "event": "nanoIntersecting",
10942
+ "detail": "IntersectionObserverEntry",
10943
+ "bubbles": true,
10944
+ "cancelable": true,
10945
+ "composed": true,
10946
+ "docs": "A resize break point is switched on or off",
10947
+ "docsTags": []
10948
+ },
10949
+ {
10950
+ "event": "nanoIntersectionChange",
10951
+ "detail": "IntersectionObserverEntry",
10952
+ "bubbles": true,
10953
+ "cancelable": true,
10954
+ "composed": true,
10955
+ "docs": "A resize break point is switched on or off",
10956
+ "docsTags": []
10957
+ },
10958
+ {
10959
+ "event": "nanoNotIntersecting",
10960
+ "detail": "IntersectionObserverEntry",
10961
+ "bubbles": true,
10962
+ "cancelable": true,
10963
+ "composed": true,
10964
+ "docs": "A resize break point is switched on or off",
10965
+ "docsTags": []
10966
+ }
10967
+ ],
10968
+ "listeners": [],
10969
+ "styles": [],
10970
+ "slots": [
10971
+ {
10972
+ "name": "",
10973
+ "docs": "Main slot for any content."
10974
+ }
10975
+ ],
10976
+ "parts": [],
10977
+ "dependents": [],
10978
+ "dependencies": [],
10979
+ "dependencyGraph": {}
10980
+ },
10067
10981
  {
10068
10982
  "filePath": "./src/components/menu/menu.tsx",
10069
10983
  "encapsulation": "shadow",