@nanoporetech-digital/components 6.0.1 → 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 (295) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/cjs/index-14451c95.js +6 -2
  3. package/dist/cjs/index-browser.cjs-d4554470.js +39 -0
  4. package/dist/cjs/index-browser.cjs-d4554470.js.map +1 -0
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/nano-algolia.cjs.entry.js +6 -1
  7. package/dist/cjs/nano-algolia.cjs.entry.js.map +1 -1
  8. package/dist/cjs/nano-animation.cjs.entry.js +1209 -0
  9. package/dist/cjs/nano-animation.cjs.entry.js.map +1 -0
  10. package/dist/cjs/nano-components.cjs.js +1 -1
  11. package/dist/cjs/nano-global-nav-user-profile_3.cjs.entry.js.map +1 -1
  12. package/dist/cjs/nano-global-nav.cjs.entry.js +24 -25
  13. package/dist/cjs/nano-global-nav.cjs.entry.js.map +1 -1
  14. package/dist/cjs/nano-global-search-results.cjs.entry.js +51 -27
  15. package/dist/cjs/nano-global-search-results.cjs.entry.js.map +1 -1
  16. package/dist/cjs/nano-hero.cjs.entry.js +1 -1
  17. package/dist/cjs/nano-hero.cjs.entry.js.map +1 -1
  18. package/dist/cjs/nano-intersection-observe.cjs.entry.js +131 -0
  19. package/dist/cjs/nano-intersection-observe.cjs.entry.js.map +1 -0
  20. package/dist/cjs/nano-resize-observe_2.cjs.entry.js +1 -1
  21. package/dist/cjs/nano-resize-observe_2.cjs.entry.js.map +1 -1
  22. package/dist/cjs/nano-sticker.cjs.entry.js +2 -27
  23. package/dist/cjs/nano-sticker.cjs.entry.js.map +1 -1
  24. package/dist/cjs/{nano-table-400049cc.js → nano-table-06530d49.js} +5 -25
  25. package/dist/cjs/nano-table-06530d49.js.map +1 -0
  26. package/dist/cjs/nano-table.cjs.entry.js +2 -1
  27. package/dist/cjs/nano-table.cjs.entry.js.map +1 -1
  28. package/dist/cjs/scroll-parent-87393de2.js +31 -0
  29. package/dist/cjs/scroll-parent-87393de2.js.map +1 -0
  30. package/dist/cjs/search-insights-b2bb12bd.js +50 -0
  31. package/dist/cjs/search-insights-b2bb12bd.js.map +1 -0
  32. package/dist/cjs/{table.worker-a37f8365.js → table.worker-b4922b9b.js} +3 -2
  33. package/dist/cjs/table.worker-b4922b9b.js.map +1 -0
  34. package/dist/collection/collection-manifest.json +2 -1
  35. package/dist/collection/components/algolia/algolia-interface.js.map +1 -1
  36. package/dist/collection/components/algolia/algolia.js +8 -3
  37. package/dist/collection/components/algolia/algolia.js.map +1 -1
  38. package/dist/collection/components/animation/animation.js +547 -0
  39. package/dist/collection/components/animation/animation.js.map +1 -0
  40. package/dist/collection/components/animation/animations/attention_seekers/bounce.js +43 -0
  41. package/dist/collection/components/animation/animations/attention_seekers/flash.js +7 -0
  42. package/dist/collection/components/animation/animations/attention_seekers/headShake.js +8 -0
  43. package/dist/collection/components/animation/animations/attention_seekers/heartBeat.js +7 -0
  44. package/dist/collection/components/animation/animations/attention_seekers/jello.js +15 -0
  45. package/dist/collection/components/animation/animations/attention_seekers/pulse.js +5 -0
  46. package/dist/collection/components/animation/animations/attention_seekers/rubberBand.js +9 -0
  47. package/dist/collection/components/animation/animations/attention_seekers/shake.js +13 -0
  48. package/dist/collection/components/animation/animations/attention_seekers/shakeX.js +13 -0
  49. package/dist/collection/components/animation/animations/attention_seekers/shakeY.js +13 -0
  50. package/dist/collection/components/animation/animations/attention_seekers/swing.js +7 -0
  51. package/dist/collection/components/animation/animations/attention_seekers/tada.js +13 -0
  52. package/dist/collection/components/animation/animations/attention_seekers/wobble.js +18 -0
  53. package/dist/collection/components/animation/animations/back_entrances/backInDown.js +5 -0
  54. package/dist/collection/components/animation/animations/back_entrances/backInLeft.js +5 -0
  55. package/dist/collection/components/animation/animations/back_entrances/backInRight.js +5 -0
  56. package/dist/collection/components/animation/animations/back_entrances/backInUp.js +5 -0
  57. package/dist/collection/components/animation/animations/back_exits/backOutDown.js +5 -0
  58. package/dist/collection/components/animation/animations/back_exits/backOutLeft.js +5 -0
  59. package/dist/collection/components/animation/animations/back_exits/backOutRight.js +5 -0
  60. package/dist/collection/components/animation/animations/back_exits/backOutUp.js +5 -0
  61. package/dist/collection/components/animation/animations/bouncing_entrances/bounceIn.js +14 -0
  62. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInDown.js +20 -0
  63. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInLeft.js +16 -0
  64. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInRight.js +16 -0
  65. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInUp.js +16 -0
  66. package/dist/collection/components/animation/animations/bouncing_exits/bounceOut.js +6 -0
  67. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutDown.js +14 -0
  68. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutLeft.js +12 -0
  69. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutRight.js +8 -0
  70. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutUp.js +18 -0
  71. package/dist/collection/components/animation/animations/easings/easings.js +35 -0
  72. package/dist/collection/components/animation/animations/easings/easings.js.map +1 -0
  73. package/dist/collection/components/animation/animations/fading_entrances/fadeIn.js +4 -0
  74. package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomLeft.js +4 -0
  75. package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomRight.js +4 -0
  76. package/dist/collection/components/animation/animations/fading_entrances/fadeInDown.js +4 -0
  77. package/dist/collection/components/animation/animations/fading_entrances/fadeInDownBig.js +4 -0
  78. package/dist/collection/components/animation/animations/fading_entrances/fadeInLeft.js +4 -0
  79. package/dist/collection/components/animation/animations/fading_entrances/fadeInLeftBig.js +4 -0
  80. package/dist/collection/components/animation/animations/fading_entrances/fadeInRight.js +4 -0
  81. package/dist/collection/components/animation/animations/fading_entrances/fadeInRightBig.js +4 -0
  82. package/dist/collection/components/animation/animations/fading_entrances/fadeInTopLeft.js +4 -0
  83. package/dist/collection/components/animation/animations/fading_entrances/fadeInTopRight.js +4 -0
  84. package/dist/collection/components/animation/animations/fading_entrances/fadeInUp.js +4 -0
  85. package/dist/collection/components/animation/animations/fading_entrances/fadeInUpBig.js +4 -0
  86. package/dist/collection/components/animation/animations/fading_exits/fadeOut.js +4 -0
  87. package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomLeft.js +4 -0
  88. package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomRight.js +4 -0
  89. package/dist/collection/components/animation/animations/fading_exits/fadeOutDown.js +4 -0
  90. package/dist/collection/components/animation/animations/fading_exits/fadeOutDownBig.js +4 -0
  91. package/dist/collection/components/animation/animations/fading_exits/fadeOutLeft.js +4 -0
  92. package/dist/collection/components/animation/animations/fading_exits/fadeOutLeftBig.js +4 -0
  93. package/dist/collection/components/animation/animations/fading_exits/fadeOutRight.js +4 -0
  94. package/dist/collection/components/animation/animations/fading_exits/fadeOutRightBig.js +4 -0
  95. package/dist/collection/components/animation/animations/fading_exits/fadeOutTopLeft.js +4 -0
  96. package/dist/collection/components/animation/animations/fading_exits/fadeOutTopRight.js +4 -0
  97. package/dist/collection/components/animation/animations/fading_exits/fadeOutUp.js +4 -0
  98. package/dist/collection/components/animation/animations/fading_exits/fadeOutUpBig.js +4 -0
  99. package/dist/collection/components/animation/animations/flippers/flip.js +32 -0
  100. package/dist/collection/components/animation/animations/flippers/flipInX.js +20 -0
  101. package/dist/collection/components/animation/animations/flippers/flipInY.js +20 -0
  102. package/dist/collection/components/animation/animations/flippers/flipOutX.js +13 -0
  103. package/dist/collection/components/animation/animations/flippers/flipOutY.js +13 -0
  104. package/dist/collection/components/animation/animations/index.js +203 -0
  105. package/dist/collection/components/animation/animations/index.js.map +1 -0
  106. package/dist/collection/components/animation/animations/lightspeed/lightSpeedInLeft.js +10 -0
  107. package/dist/collection/components/animation/animations/lightspeed/lightSpeedInRight.js +10 -0
  108. package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutLeft.js +8 -0
  109. package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutRight.js +8 -0
  110. package/dist/collection/components/animation/animations/rotating_entrances/rotateIn.js +4 -0
  111. package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownLeft.js +4 -0
  112. package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownRight.js +4 -0
  113. package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpLeft.js +4 -0
  114. package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpRight.js +4 -0
  115. package/dist/collection/components/animation/animations/rotating_exits/rotateOut.js +4 -0
  116. package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownLeft.js +4 -0
  117. package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownRight.js +4 -0
  118. package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpLeft.js +4 -0
  119. package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpRight.js +4 -0
  120. package/dist/collection/components/animation/animations/sliding_entrances/slideInDown.js +4 -0
  121. package/dist/collection/components/animation/animations/sliding_entrances/slideInLeft.js +4 -0
  122. package/dist/collection/components/animation/animations/sliding_entrances/slideInRight.js +4 -0
  123. package/dist/collection/components/animation/animations/sliding_entrances/slideInUp.js +4 -0
  124. package/dist/collection/components/animation/animations/sliding_exits/slideOutDown.js +4 -0
  125. package/dist/collection/components/animation/animations/sliding_exits/slideOutLeft.js +4 -0
  126. package/dist/collection/components/animation/animations/sliding_exits/slideOutRight.js +4 -0
  127. package/dist/collection/components/animation/animations/sliding_exits/slideOutUp.js +4 -0
  128. package/dist/collection/components/animation/animations/specials/hinge.js +18 -0
  129. package/dist/collection/components/animation/animations/specials/jackInTheBox.js +11 -0
  130. package/dist/collection/components/animation/animations/specials/rollIn.js +8 -0
  131. package/dist/collection/components/animation/animations/specials/rollOut.js +8 -0
  132. package/dist/collection/components/animation/animations/zooming_entrances/zoomIn.js +4 -0
  133. package/dist/collection/components/animation/animations/zooming_entrances/zoomInDown.js +14 -0
  134. package/dist/collection/components/animation/animations/zooming_entrances/zoomInLeft.js +14 -0
  135. package/dist/collection/components/animation/animations/zooming_entrances/zoomInRight.js +14 -0
  136. package/dist/collection/components/animation/animations/zooming_entrances/zoomInUp.js +14 -0
  137. package/dist/collection/components/animation/animations/zooming_exits/zoomOut.js +5 -0
  138. package/dist/collection/components/animation/animations/zooming_exits/zoomOutDown.js +14 -0
  139. package/dist/collection/components/animation/animations/zooming_exits/zoomOutLeft.js +12 -0
  140. package/dist/collection/components/animation/animations/zooming_exits/zoomOutRight.js +12 -0
  141. package/dist/collection/components/animation/animations/zooming_exits/zoomOutUp.js +14 -0
  142. package/dist/collection/components/global-nav/global-nav-interface.js.map +1 -1
  143. package/dist/collection/components/global-nav/global-nav.js +25 -25
  144. package/dist/collection/components/global-nav/global-nav.js.map +1 -1
  145. package/dist/collection/components/global-search-results/global-search-results.js +51 -27
  146. package/dist/collection/components/global-search-results/global-search-results.js.map +1 -1
  147. package/dist/collection/components/hero/hero.css +0 -1
  148. package/dist/collection/components/intersection-observe/intersection-observe.js +256 -0
  149. package/dist/collection/components/intersection-observe/intersection-observe.js.map +1 -0
  150. package/dist/collection/components/resize-observe/resize-observe.js +1 -1
  151. package/dist/collection/components/resize-observe/resize-observe.js.map +1 -1
  152. package/dist/collection/components/select/select.js +5 -5
  153. package/dist/collection/components/select/select.js.map +1 -1
  154. package/dist/collection/components/sticker/sticker.js +2 -27
  155. package/dist/collection/components/sticker/sticker.js.map +1 -1
  156. package/dist/collection/components/table/table.js +2 -1
  157. package/dist/collection/components/table/table.js.map +1 -1
  158. package/dist/collection/components/table/table.utils.js +0 -21
  159. package/dist/collection/components/table/table.utils.js.map +1 -1
  160. package/dist/collection/utils/scroll-parent.js +26 -0
  161. package/dist/collection/utils/scroll-parent.js.map +1 -0
  162. package/dist/collection/utils/search-insights.js +46 -0
  163. package/dist/collection/utils/search-insights.js.map +1 -0
  164. package/dist/components/algolia.js +6 -1
  165. package/dist/components/algolia.js.map +1 -1
  166. package/dist/components/index-browser.cjs.js +37 -0
  167. package/dist/components/index-browser.cjs.js.map +1 -0
  168. package/dist/components/index.d.ts +2 -1
  169. package/dist/components/index.js +2 -1
  170. package/dist/components/index.js.map +1 -1
  171. package/dist/components/{nano-aspect-ratio.d.ts → nano-animation.d.ts} +4 -4
  172. package/dist/components/nano-animation.js +1239 -0
  173. package/dist/components/nano-animation.js.map +1 -0
  174. package/dist/components/nano-global-nav.js +24 -25
  175. package/dist/components/nano-global-nav.js.map +1 -1
  176. package/dist/components/nano-global-search-results.js +51 -27
  177. package/dist/components/nano-global-search-results.js.map +1 -1
  178. package/dist/components/nano-hero.js +1 -1
  179. package/dist/components/nano-hero.js.map +1 -1
  180. package/dist/components/nano-intersection-observe.d.ts +11 -0
  181. package/dist/components/nano-intersection-observe.js +149 -0
  182. package/dist/components/nano-intersection-observe.js.map +1 -0
  183. package/dist/components/resize-observe.js +1 -1
  184. package/dist/components/resize-observe.js.map +1 -1
  185. package/dist/components/scroll-parent.js +29 -0
  186. package/dist/components/scroll-parent.js.map +1 -0
  187. package/dist/components/search-insights.js +48 -0
  188. package/dist/components/search-insights.js.map +1 -0
  189. package/dist/components/select.js.map +1 -1
  190. package/dist/components/sticker.js +2 -27
  191. package/dist/components/sticker.js.map +1 -1
  192. package/dist/components/table.js +1 -21
  193. package/dist/components/table.js.map +1 -1
  194. package/dist/esm/index-9695db0a.js +6 -2
  195. package/dist/esm/index-browser.cjs-bf702094.js +37 -0
  196. package/dist/esm/index-browser.cjs-bf702094.js.map +1 -0
  197. package/dist/esm/loader.js +1 -1
  198. package/dist/esm/nano-algolia.entry.js +6 -1
  199. package/dist/esm/nano-algolia.entry.js.map +1 -1
  200. package/dist/esm/nano-animation.entry.js +1205 -0
  201. package/dist/esm/nano-animation.entry.js.map +1 -0
  202. package/dist/esm/nano-components.js +1 -1
  203. package/dist/esm/nano-global-nav-user-profile_3.entry.js.map +1 -1
  204. package/dist/esm/nano-global-nav.entry.js +24 -25
  205. package/dist/esm/nano-global-nav.entry.js.map +1 -1
  206. package/dist/esm/nano-global-search-results.entry.js +51 -27
  207. package/dist/esm/nano-global-search-results.entry.js.map +1 -1
  208. package/dist/esm/nano-hero.entry.js +1 -1
  209. package/dist/esm/nano-hero.entry.js.map +1 -1
  210. package/dist/esm/nano-intersection-observe.entry.js +127 -0
  211. package/dist/esm/nano-intersection-observe.entry.js.map +1 -0
  212. package/dist/esm/nano-resize-observe_2.entry.js +1 -1
  213. package/dist/esm/nano-resize-observe_2.entry.js.map +1 -1
  214. package/dist/esm/nano-sticker.entry.js +2 -27
  215. package/dist/esm/nano-sticker.entry.js.map +1 -1
  216. package/dist/esm/{nano-table-a6641aef.js → nano-table-c85a2fd3.js} +3 -23
  217. package/dist/esm/nano-table-c85a2fd3.js.map +1 -0
  218. package/dist/esm/nano-table.entry.js +2 -1
  219. package/dist/esm/nano-table.entry.js.map +1 -1
  220. package/dist/esm/scroll-parent-bab1cbf7.js +29 -0
  221. package/dist/esm/scroll-parent-bab1cbf7.js.map +1 -0
  222. package/dist/esm/search-insights-f64a6b4c.js +48 -0
  223. package/dist/esm/search-insights-f64a6b4c.js.map +1 -0
  224. package/dist/esm/{table.worker-6b597e20.js → table.worker-761fba3e.js} +3 -2
  225. package/dist/esm/table.worker-761fba3e.js.map +1 -0
  226. package/dist/nano-components/index-browser.cjs-bf702094.js +5 -0
  227. package/dist/nano-components/index-browser.cjs-bf702094.js.map +1 -0
  228. package/dist/nano-components/nano-algolia.entry.js +1 -1
  229. package/dist/nano-components/nano-algolia.entry.js.map +1 -1
  230. package/dist/nano-components/nano-animation.entry.js +5 -0
  231. package/dist/nano-components/nano-animation.entry.js.map +1 -0
  232. package/dist/nano-components/nano-components.css +1 -1
  233. package/dist/nano-components/nano-components.esm.js +1 -1
  234. package/dist/nano-components/nano-components.esm.js.map +1 -1
  235. package/dist/nano-components/nano-global-nav-user-profile_3.entry.js.map +1 -1
  236. package/dist/nano-components/nano-global-nav.entry.js +1 -1
  237. package/dist/nano-components/nano-global-nav.entry.js.map +1 -1
  238. package/dist/nano-components/nano-global-search-results.entry.js +1 -1
  239. package/dist/nano-components/nano-global-search-results.entry.js.map +1 -1
  240. package/dist/nano-components/nano-hero.entry.js +1 -1
  241. package/dist/nano-components/nano-hero.entry.js.map +1 -1
  242. package/dist/nano-components/nano-intersection-observe.entry.js +5 -0
  243. package/dist/nano-components/nano-intersection-observe.entry.js.map +1 -0
  244. package/dist/nano-components/nano-resize-observe_2.entry.js +1 -1
  245. package/dist/nano-components/nano-resize-observe_2.entry.js.map +1 -1
  246. package/dist/nano-components/nano-sticker.entry.js +1 -1
  247. package/dist/nano-components/nano-sticker.entry.js.map +1 -1
  248. package/dist/nano-components/nano-table-c85a2fd3.js +5 -0
  249. package/dist/nano-components/nano-table-c85a2fd3.js.map +1 -0
  250. package/dist/nano-components/nano-table.entry.js +1 -1
  251. package/dist/nano-components/scroll-parent-bab1cbf7.js +5 -0
  252. package/dist/nano-components/scroll-parent-bab1cbf7.js.map +1 -0
  253. package/dist/nano-components/search-insights-f64a6b4c.js +5 -0
  254. package/dist/nano-components/search-insights-f64a6b4c.js.map +1 -0
  255. package/dist/nano-components/table.worker-761fba3e.js +5 -0
  256. package/dist/types/components/algolia/algolia-interface.d.ts +2 -1
  257. package/dist/types/components/algolia/algolia.d.ts +7 -1
  258. package/dist/types/components/animation/animation.d.ts +74 -0
  259. package/dist/types/components/animation/animations/easings/easings.d.ts +31 -0
  260. package/dist/types/components/animation/animations/index.d.ts +101 -0
  261. package/dist/types/components/global-nav/global-nav-interface.d.ts +1 -0
  262. package/dist/types/components/global-nav/global-nav.d.ts +2 -6
  263. package/dist/types/components/global-search-results/global-search-results.d.ts +13 -7
  264. package/dist/types/components/intersection-observe/intersection-observe.d.ts +45 -0
  265. package/dist/types/components/select/select.d.ts +2 -4
  266. package/dist/types/components/sticker/sticker.d.ts +0 -5
  267. package/dist/types/components/table/table.utils.d.ts +0 -6
  268. package/dist/types/components.d.ts +213 -43
  269. package/dist/types/interface.d.ts +7 -2
  270. package/dist/types/utils/scroll-parent.d.ts +6 -0
  271. package/dist/types/utils/search-insights.d.ts +22 -0
  272. package/docs-json.json +1031 -117
  273. package/docs-vscode.json +488 -8
  274. package/hydrate/index.js +1636 -249
  275. package/package.json +3 -2
  276. package/dist/cjs/nano-aspect-ratio.cjs.entry.js +0 -53
  277. package/dist/cjs/nano-aspect-ratio.cjs.entry.js.map +0 -1
  278. package/dist/cjs/nano-table-400049cc.js.map +0 -1
  279. package/dist/cjs/table.worker-a37f8365.js.map +0 -1
  280. package/dist/collection/components/aspect-ratio/aspect-ratio.css +0 -38
  281. package/dist/collection/components/aspect-ratio/aspect-ratio.js +0 -106
  282. package/dist/collection/components/aspect-ratio/aspect-ratio.js.map +0 -1
  283. package/dist/components/nano-aspect-ratio.js +0 -70
  284. package/dist/components/nano-aspect-ratio.js.map +0 -1
  285. package/dist/esm/nano-aspect-ratio.entry.js +0 -49
  286. package/dist/esm/nano-aspect-ratio.entry.js.map +0 -1
  287. package/dist/esm/nano-table-a6641aef.js.map +0 -1
  288. package/dist/esm/table.worker-6b597e20.js.map +0 -1
  289. package/dist/nano-components/nano-aspect-ratio.entry.js +0 -5
  290. package/dist/nano-components/nano-aspect-ratio.entry.js.map +0 -1
  291. package/dist/nano-components/nano-table-a6641aef.js +0 -5
  292. package/dist/nano-components/nano-table-a6641aef.js.map +0 -1
  293. package/dist/nano-components/table.worker-6b597e20.js +0 -5
  294. package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +0 -19
  295. /package/dist/nano-components/{table.worker-6b597e20.js.map → table.worker-761fba3e.js.map} +0 -0
@@ -5,15 +5,13 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { AlgoliaNetworkError, AloliaSearchResultDetail, CheckboxChangeEventDetail, Color, ControlValidity, ControlValidityEventDetail, DateDisabledPredicate, DateInputChangeEventDetail, DragEvent, DuetLocalizedText, FileInputChangeEventDetail, FileWithUrl, FilterChangeEventDetail, Flickity, FlickityOptions, IndexResult, InputChangeEventDetail, LocalDateOpts, MyAccountData, MyAccountUser, NanoFormEles, NavItemEventDetail, OptionInterface, PageChangeEventDetail, PickerChangeEvent, PlainFormEles, RangeChangeEventDetail, RangeValue, ResizeStateChangeEventDetail, SearchIndex, SelectChangeEventDetail, SlideAnimation, StyleEventDetail, TableTypes, TextFieldTypes, ValidationState, ValidatorValueStore } from "./interface";
8
+ import { AlgoliaNetworkError, AloliaSearchResultDetail, AnimationEasing, AnimationName, CheckboxChangeEventDetail, Color, ControlValidity, ControlValidityEventDetail, DateDisabledPredicate, DateInputChangeEventDetail, DragEvent, DropdownInterface, DuetLocalizedText, FileInputChangeEventDetail, FileWithUrl, FilterChangeEventDetail, Flickity, FlickityOptions, IndexResult, InputChangeEventDetail, LocalDateOpts, MyAccountData, MyAccountUser, NanoFormEles, NavItemEventDetail, OptionInterface, PageChangeEventDetail, PickerChangeEvent, PlainFormEles, RangeChangeEventDetail, RangeValue, ResizeStateChangeEventDetail, SearchIndex, SelectChangeEventDetail, SlideAnimation, StyleEventDetail, TableTypes, TextFieldTypes, ValidationState, ValidatorValueStore } from "./interface";
9
9
  import { StorageMethods } from "./utils/store/component-store";
10
10
  import { DaysOfWeek } from "./utils/date-utils";
11
11
  import { PopoverPlacement } from "./utils/popover";
12
12
  import { Element, EventEmitter } from "./stencil-public-runtime";
13
13
  import { ObservableMap } from "@stencil/store";
14
14
  import { MyAccountUser as MyAccountUser1 } from "./components/global-nav/global-nav-interface";
15
- import { OptionInterface as OptionInterface1 } from "./components/option/option-interface";
16
- import { Dropdown } from "./components/dropdown/dropdown";
17
15
  export namespace Components {
18
16
  /**
19
17
  * Simple accordion - only one item open at a time - must be used with [details](story/components-accordion--details) elements.
@@ -205,20 +203,70 @@ export namespace Components {
205
203
  "infiniteScroll": boolean;
206
204
  }
207
205
  /**
208
- * Displays media in the desired aspect ratio.
209
- * You can slot in any replaced element, including `<iframe>`, `<img>`, and `<video>`.
210
- * As the element's width changes, its height will resize proportionally. Only one element should be slotted into the container.
211
- * The default aspect ratio is 16:9.
206
+ * Animate elements declaratively with [~100 baked-in presets](https://animate.style/), or make your own with custom keyframes.
207
+ * Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).
212
208
  */
213
- interface NanoAspectRatio {
209
+ interface NanoAnimation {
214
210
  /**
215
- * The aspect ratio of the embedded media in the format of `width:height`, e.g. `16:9`, `4:3`, or `1:1`. Ratios not in this format will be ignored.
211
+ * Clears all keyframe effects caused by this animation and aborts its playback.
216
212
  */
217
- "aspectRatio": string;
213
+ "cancel": () => Promise<void>;
218
214
  /**
219
- * Determines how content will be resized to fit its container.
215
+ * Gets and sets the current animation time.
220
216
  */
221
- "fit": 'cover' | 'contain';
217
+ "currentTime": CSSNumberish;
218
+ /**
219
+ * The number of milliseconds to delay the start of the animation.
220
+ */
221
+ "delay": number;
222
+ /**
223
+ * Determines the direction of playback as well as the behavior when reaching the end of an iteration. [Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)
224
+ */
225
+ "direction": PlaybackDirection;
226
+ /**
227
+ * The number of milliseconds each iteration of the animation takes to complete.
228
+ */
229
+ "duration": number;
230
+ /**
231
+ * The easing function to use for the animation. This can be a easing function or a custom easing function such as `cubic-bezier(0, 1, .76, 1.14)`.
232
+ */
233
+ "easing": AnimationEasing;
234
+ /**
235
+ * The number of milliseconds to delay after the active period of an animation sequence.
236
+ */
237
+ "endDelay": number;
238
+ /**
239
+ * Sets how the animation applies styles to its target before and after its execution.
240
+ */
241
+ "fill": FillMode;
242
+ /**
243
+ * Sets the playback time to the end of the animation corresponding to the current playback direction.
244
+ */
245
+ "finish": () => Promise<void>;
246
+ /**
247
+ * The offset at which to start the animation, usually between 0 (start) and 1 (end).
248
+ */
249
+ "iterationStart": number;
250
+ /**
251
+ * The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.
252
+ */
253
+ "iterations": number;
254
+ /**
255
+ * The keyframes to use for the animation. If this is set, `name` will be ignored.
256
+ */
257
+ "keyframes"?: Keyframe[];
258
+ /**
259
+ * The name of the built-in animation to use. For custom animations, use the `keyframes` prop.
260
+ */
261
+ "name": AnimationName | 'none';
262
+ /**
263
+ * Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when the animation finishes or gets canceled.
264
+ */
265
+ "play": boolean;
266
+ /**
267
+ * Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this to `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This value can be changed without causing the animation to restart.
268
+ */
269
+ "playbackRate": number;
222
270
  }
223
271
  /**
224
272
  * `nano-checkbox` is used to let a user choose one or more options from a limited number of options.
@@ -1493,6 +1541,23 @@ export namespace Components {
1493
1541
  */
1494
1542
  "value"?: string | null;
1495
1543
  }
1544
+ /**
1545
+ * A thin, declarative interface to the IntersectionObserver API.
1546
+ */
1547
+ interface NanoIntersectionObserve {
1548
+ /**
1549
+ * The element that is used as the viewport for checking visibility of the target. Must be the ancestor of the target. Defaults to an automatic check for ancestors that `overflow: auto` or otherwise the `Document`.
1550
+ */
1551
+ "root": globalThis.Element | 'root' | 'auto';
1552
+ /**
1553
+ * Margin around the root. Can be similar to CSS margins property, e.g. "10px 20px 30px 40px" (top, right, bottom, left). The values can be percentages. This set of values serves to grow or shrink each side of the root element's bounding box before computing intersections. Defaults to zeros.
1554
+ */
1555
+ "rootMargin"?: string;
1556
+ /**
1557
+ * Indicate at what percentage of the target's visibility the observer's callback should be executed. If you only want to detect when visibility passes the 50% mark, you can use a value of '0.5'. If you want the callback to run every time visibility passes another '25%', you would specify a string of values (separated by ',') array '0, 0.25, 0.5, 0.75, 1'. A value of '1.0' means that the threshold isn't considered passed until every pixel is visible.
1558
+ */
1559
+ "threshold"?: string;
1560
+ }
1496
1561
  /**
1497
1562
  * Menu element. Commonly wrapped by `nano-dropdown` with `nano-option` and `nano-nav-item` elements nested.
1498
1563
  * Manages focus state / active.
@@ -1835,7 +1900,7 @@ export namespace Components {
1835
1900
  /**
1836
1901
  * nano-dropdown config options you can pass to the nested dropdown component
1837
1902
  */
1838
- "dropDownConfig"?: Partial<Dropdown>;
1903
+ "dropDownConfig"?: Partial<DropdownInterface>;
1839
1904
  /**
1840
1905
  * Enable floating label behaviour. Will disable placeholder if set.
1841
1906
  */
@@ -1887,7 +1952,7 @@ export namespace Components {
1887
1952
  /**
1888
1953
  * You can set options via js as an array of strings: `domElement.options = ['option 1', 'option 2']` or objects `domElement.options = [{label: 'option 1', value: 'opt-1'}]`. See `nano-option` docs for all available properties. Alternatively, you can nest `<nano-option>` elements within a `<nano-select>` Regardless - reading `options` will return the current component options - slotted or otherwise
1889
1954
  */
1890
- "options": Array<OptionInterface1 | string>;
1955
+ "options": Array<OptionInterface | string>;
1891
1956
  /**
1892
1957
  * Instructional text that shows before the select has a value. Text set here will be placed inside the label when a value is set. If you don't want this behaviour just set the first option to have no value.
1893
1958
  */
@@ -1940,7 +2005,7 @@ export namespace Components {
1940
2005
  * @param index - the incoming option index
1941
2006
  * @returns Should return either a string / templateResult or a string containing trusted HTML or an HTMLElement
1942
2007
  */
1943
- "valueTagTemplate": (option: OptionInterface1, index: number) => string;
2008
+ "valueTagTemplate": (option: OptionInterface, index: number) => string;
1944
2009
  }
1945
2010
  /**
1946
2011
  * Skeletons are used to show where content will eventually be drawn.
@@ -2560,6 +2625,10 @@ export interface NanoAlgoliaResultsCustomEvent<T> extends CustomEvent<T> {
2560
2625
  detail: T;
2561
2626
  target: HTMLNanoAlgoliaResultsElement;
2562
2627
  }
2628
+ export interface NanoAnimationCustomEvent<T> extends CustomEvent<T> {
2629
+ detail: T;
2630
+ target: HTMLNanoAnimationElement;
2631
+ }
2563
2632
  export interface NanoCheckboxCustomEvent<T> extends CustomEvent<T> {
2564
2633
  detail: T;
2565
2634
  target: HTMLNanoCheckboxElement;
@@ -2620,6 +2689,10 @@ export interface NanoInputCustomEvent<T> extends CustomEvent<T> {
2620
2689
  detail: T;
2621
2690
  target: HTMLNanoInputElement;
2622
2691
  }
2692
+ export interface NanoIntersectionObserveCustomEvent<T> extends CustomEvent<T> {
2693
+ detail: T;
2694
+ target: HTMLNanoIntersectionObserveElement;
2695
+ }
2623
2696
  export interface NanoMenuCustomEvent<T> extends CustomEvent<T> {
2624
2697
  detail: T;
2625
2698
  target: HTMLNanoMenuElement;
@@ -2743,16 +2816,14 @@ declare global {
2743
2816
  new (): HTMLNanoAlgoliaResultsElement;
2744
2817
  };
2745
2818
  /**
2746
- * Displays media in the desired aspect ratio.
2747
- * You can slot in any replaced element, including `<iframe>`, `<img>`, and `<video>`.
2748
- * As the element's width changes, its height will resize proportionally. Only one element should be slotted into the container.
2749
- * The default aspect ratio is 16:9.
2819
+ * Animate elements declaratively with [~100 baked-in presets](https://animate.style/), or make your own with custom keyframes.
2820
+ * Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).
2750
2821
  */
2751
- interface HTMLNanoAspectRatioElement extends Components.NanoAspectRatio, HTMLStencilElement {
2822
+ interface HTMLNanoAnimationElement extends Components.NanoAnimation, HTMLStencilElement {
2752
2823
  }
2753
- var HTMLNanoAspectRatioElement: {
2754
- prototype: HTMLNanoAspectRatioElement;
2755
- new (): HTMLNanoAspectRatioElement;
2824
+ var HTMLNanoAnimationElement: {
2825
+ prototype: HTMLNanoAnimationElement;
2826
+ new (): HTMLNanoAnimationElement;
2756
2827
  };
2757
2828
  /**
2758
2829
  * `nano-checkbox` is used to let a user choose one or more options from a limited number of options.
@@ -2976,6 +3047,15 @@ declare global {
2976
3047
  prototype: HTMLNanoInputElement;
2977
3048
  new (): HTMLNanoInputElement;
2978
3049
  };
3050
+ /**
3051
+ * A thin, declarative interface to the IntersectionObserver API.
3052
+ */
3053
+ interface HTMLNanoIntersectionObserveElement extends Components.NanoIntersectionObserve, HTMLStencilElement {
3054
+ }
3055
+ var HTMLNanoIntersectionObserveElement: {
3056
+ prototype: HTMLNanoIntersectionObserveElement;
3057
+ new (): HTMLNanoIntersectionObserveElement;
3058
+ };
2979
3059
  /**
2980
3060
  * Menu element. Commonly wrapped by `nano-dropdown` with `nano-option` and `nano-nav-item` elements nested.
2981
3061
  * Manages focus state / active.
@@ -3208,7 +3288,7 @@ declare global {
3208
3288
  "nano-algolia-filter": HTMLNanoAlgoliaFilterElement;
3209
3289
  "nano-algolia-pagination": HTMLNanoAlgoliaPaginationElement;
3210
3290
  "nano-algolia-results": HTMLNanoAlgoliaResultsElement;
3211
- "nano-aspect-ratio": HTMLNanoAspectRatioElement;
3291
+ "nano-animation": HTMLNanoAnimationElement;
3212
3292
  "nano-checkbox": HTMLNanoCheckboxElement;
3213
3293
  "nano-checkbox-group": HTMLNanoCheckboxGroupElement;
3214
3294
  "nano-datalist": HTMLNanoDatalistElement;
@@ -3231,6 +3311,7 @@ declare global {
3231
3311
  "nano-icon-button": HTMLNanoIconButtonElement;
3232
3312
  "nano-img": HTMLNanoImgElement;
3233
3313
  "nano-input": HTMLNanoInputElement;
3314
+ "nano-intersection-observe": HTMLNanoIntersectionObserveElement;
3234
3315
  "nano-menu": HTMLNanoMenuElement;
3235
3316
  "nano-menu-drawer": HTMLNanoMenuDrawerElement;
3236
3317
  "nano-nav-item": HTMLNanoNavItemElement;
@@ -3357,7 +3438,10 @@ declare namespace LocalJSX {
3357
3438
  /**
3358
3439
  * Emitted when results and all filters are shown and have loaded.
3359
3440
  */
3360
- "onNanoResultsShown"?: (event: NanoAlgoliaCustomEvent<IndexResult>) => void;
3441
+ "onNanoResultsShown"?: (event: NanoAlgoliaCustomEvent<{
3442
+ meta: IndexResult;
3443
+ client: { apiKey: string; appId: string };
3444
+ }>) => void;
3361
3445
  /**
3362
3446
  * The external operator joining filter values.
3363
3447
  */
@@ -3470,20 +3554,74 @@ declare namespace LocalJSX {
3470
3554
  "onNanoTplUpdated"?: (event: NanoAlgoliaResultsCustomEvent<HTMLNanoAlgoliaResultsElement>) => void;
3471
3555
  }
3472
3556
  /**
3473
- * Displays media in the desired aspect ratio.
3474
- * You can slot in any replaced element, including `<iframe>`, `<img>`, and `<video>`.
3475
- * As the element's width changes, its height will resize proportionally. Only one element should be slotted into the container.
3476
- * The default aspect ratio is 16:9.
3557
+ * Animate elements declaratively with [~100 baked-in presets](https://animate.style/), or make your own with custom keyframes.
3558
+ * Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).
3477
3559
  */
3478
- interface NanoAspectRatio {
3560
+ interface NanoAnimation {
3561
+ /**
3562
+ * Gets and sets the current animation time.
3563
+ */
3564
+ "currentTime"?: CSSNumberish;
3479
3565
  /**
3480
- * The aspect ratio of the embedded media in the format of `width:height`, e.g. `16:9`, `4:3`, or `1:1`. Ratios not in this format will be ignored.
3566
+ * The number of milliseconds to delay the start of the animation.
3481
3567
  */
3482
- "aspectRatio"?: string;
3568
+ "delay"?: number;
3483
3569
  /**
3484
- * Determines how content will be resized to fit its container.
3570
+ * Determines the direction of playback as well as the behavior when reaching the end of an iteration. [Learn more](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-direction)
3485
3571
  */
3486
- "fit"?: 'cover' | 'contain';
3572
+ "direction"?: PlaybackDirection;
3573
+ /**
3574
+ * The number of milliseconds each iteration of the animation takes to complete.
3575
+ */
3576
+ "duration"?: number;
3577
+ /**
3578
+ * The easing function to use for the animation. This can be a easing function or a custom easing function such as `cubic-bezier(0, 1, .76, 1.14)`.
3579
+ */
3580
+ "easing"?: AnimationEasing;
3581
+ /**
3582
+ * The number of milliseconds to delay after the active period of an animation sequence.
3583
+ */
3584
+ "endDelay"?: number;
3585
+ /**
3586
+ * Sets how the animation applies styles to its target before and after its execution.
3587
+ */
3588
+ "fill"?: FillMode;
3589
+ /**
3590
+ * The offset at which to start the animation, usually between 0 (start) and 1 (end).
3591
+ */
3592
+ "iterationStart"?: number;
3593
+ /**
3594
+ * The number of iterations to run before the animation completes. Defaults to `Infinity`, which loops.
3595
+ */
3596
+ "iterations"?: number;
3597
+ /**
3598
+ * The keyframes to use for the animation. If this is set, `name` will be ignored.
3599
+ */
3600
+ "keyframes"?: Keyframe[];
3601
+ /**
3602
+ * The name of the built-in animation to use. For custom animations, use the `keyframes` prop.
3603
+ */
3604
+ "name"?: AnimationName | 'none';
3605
+ /**
3606
+ * Emitted when the animation is canceled.
3607
+ */
3608
+ "onNanoCancel"?: (event: NanoAnimationCustomEvent<any>) => void;
3609
+ /**
3610
+ * Emitted when the animation finishes.
3611
+ */
3612
+ "onNanoFinish"?: (event: NanoAnimationCustomEvent<any>) => void;
3613
+ /**
3614
+ * Emitted when the animation starts.
3615
+ */
3616
+ "onNanoStart"?: (event: NanoAnimationCustomEvent<any>) => void;
3617
+ /**
3618
+ * Plays the animation. When omitted, the animation will be paused. This attribute will be automatically removed when the animation finishes or gets canceled.
3619
+ */
3620
+ "play"?: boolean;
3621
+ /**
3622
+ * Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this to `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This value can be changed without causing the animation to restart.
3623
+ */
3624
+ "playbackRate"?: number;
3487
3625
  }
3488
3626
  /**
3489
3627
  * `nano-checkbox` is used to let a user choose one or more options from a limited number of options.
@@ -4808,6 +4946,35 @@ declare namespace LocalJSX {
4808
4946
  */
4809
4947
  "value"?: string | null;
4810
4948
  }
4949
+ /**
4950
+ * A thin, declarative interface to the IntersectionObserver API.
4951
+ */
4952
+ interface NanoIntersectionObserve {
4953
+ /**
4954
+ * A resize break point is switched on or off
4955
+ */
4956
+ "onNanoIntersecting"?: (event: NanoIntersectionObserveCustomEvent<IntersectionObserverEntry>) => void;
4957
+ /**
4958
+ * A resize break point is switched on or off
4959
+ */
4960
+ "onNanoIntersectionChange"?: (event: NanoIntersectionObserveCustomEvent<IntersectionObserverEntry>) => void;
4961
+ /**
4962
+ * A resize break point is switched on or off
4963
+ */
4964
+ "onNanoNotIntersecting"?: (event: NanoIntersectionObserveCustomEvent<IntersectionObserverEntry>) => void;
4965
+ /**
4966
+ * The element that is used as the viewport for checking visibility of the target. Must be the ancestor of the target. Defaults to an automatic check for ancestors that `overflow: auto` or otherwise the `Document`.
4967
+ */
4968
+ "root"?: globalThis.Element | 'root' | 'auto';
4969
+ /**
4970
+ * Margin around the root. Can be similar to CSS margins property, e.g. "10px 20px 30px 40px" (top, right, bottom, left). The values can be percentages. This set of values serves to grow or shrink each side of the root element's bounding box before computing intersections. Defaults to zeros.
4971
+ */
4972
+ "rootMargin"?: string;
4973
+ /**
4974
+ * Indicate at what percentage of the target's visibility the observer's callback should be executed. If you only want to detect when visibility passes the 50% mark, you can use a value of '0.5'. If you want the callback to run every time visibility passes another '25%', you would specify a string of values (separated by ',') array '0, 0.25, 0.5, 0.75, 1'. A value of '1.0' means that the threshold isn't considered passed until every pixel is visible.
4975
+ */
4976
+ "threshold"?: string;
4977
+ }
4811
4978
  /**
4812
4979
  * Menu element. Commonly wrapped by `nano-dropdown` with `nano-option` and `nano-nav-item` elements nested.
4813
4980
  * Manages focus state / active.
@@ -5201,7 +5368,7 @@ declare namespace LocalJSX {
5201
5368
  /**
5202
5369
  * nano-dropdown config options you can pass to the nested dropdown component
5203
5370
  */
5204
- "dropDownConfig"?: Partial<Dropdown>;
5371
+ "dropDownConfig"?: Partial<DropdownInterface>;
5205
5372
  /**
5206
5373
  * Enable floating label behaviour. Will disable placeholder if set.
5207
5374
  */
@@ -5270,7 +5437,7 @@ declare namespace LocalJSX {
5270
5437
  /**
5271
5438
  * You can set options via js as an array of strings: `domElement.options = ['option 1', 'option 2']` or objects `domElement.options = [{label: 'option 1', value: 'opt-1'}]`. See `nano-option` docs for all available properties. Alternatively, you can nest `<nano-option>` elements within a `<nano-select>` Regardless - reading `options` will return the current component options - slotted or otherwise
5272
5439
  */
5273
- "options"?: Array<OptionInterface1 | string>;
5440
+ "options"?: Array<OptionInterface | string>;
5274
5441
  /**
5275
5442
  * Instructional text that shows before the select has a value. Text set here will be placed inside the label when a value is set. If you don't want this behaviour just set the first option to have no value.
5276
5443
  */
@@ -5309,7 +5476,7 @@ declare namespace LocalJSX {
5309
5476
  * @param index - the incoming option index
5310
5477
  * @returns Should return either a string / templateResult or a string containing trusted HTML or an HTMLElement
5311
5478
  */
5312
- "valueTagTemplate"?: (option: OptionInterface1, index: number) => string;
5479
+ "valueTagTemplate"?: (option: OptionInterface, index: number) => string;
5313
5480
  }
5314
5481
  /**
5315
5482
  * Skeletons are used to show where content will eventually be drawn.
@@ -5940,7 +6107,7 @@ declare namespace LocalJSX {
5940
6107
  "nano-algolia-filter": NanoAlgoliaFilter;
5941
6108
  "nano-algolia-pagination": NanoAlgoliaPagination;
5942
6109
  "nano-algolia-results": NanoAlgoliaResults;
5943
- "nano-aspect-ratio": NanoAspectRatio;
6110
+ "nano-animation": NanoAnimation;
5944
6111
  "nano-checkbox": NanoCheckbox;
5945
6112
  "nano-checkbox-group": NanoCheckboxGroup;
5946
6113
  "nano-datalist": NanoDatalist;
@@ -5963,6 +6130,7 @@ declare namespace LocalJSX {
5963
6130
  "nano-icon-button": NanoIconButton;
5964
6131
  "nano-img": NanoImg;
5965
6132
  "nano-input": NanoInput;
6133
+ "nano-intersection-observe": NanoIntersectionObserve;
5966
6134
  "nano-menu": NanoMenu;
5967
6135
  "nano-menu-drawer": NanoMenuDrawer;
5968
6136
  "nano-nav-item": NanoNavItem;
@@ -6019,12 +6187,10 @@ declare module "@stencil/core" {
6019
6187
  */
6020
6188
  "nano-algolia-results": LocalJSX.NanoAlgoliaResults & JSXBase.HTMLAttributes<HTMLNanoAlgoliaResultsElement>;
6021
6189
  /**
6022
- * Displays media in the desired aspect ratio.
6023
- * You can slot in any replaced element, including `<iframe>`, `<img>`, and `<video>`.
6024
- * As the element's width changes, its height will resize proportionally. Only one element should be slotted into the container.
6025
- * The default aspect ratio is 16:9.
6190
+ * Animate elements declaratively with [~100 baked-in presets](https://animate.style/), or make your own with custom keyframes.
6191
+ * Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).
6026
6192
  */
6027
- "nano-aspect-ratio": LocalJSX.NanoAspectRatio & JSXBase.HTMLAttributes<HTMLNanoAspectRatioElement>;
6193
+ "nano-animation": LocalJSX.NanoAnimation & JSXBase.HTMLAttributes<HTMLNanoAnimationElement>;
6028
6194
  /**
6029
6195
  * `nano-checkbox` is used to let a user choose one or more options from a limited number of options.
6030
6196
  * They appear as checked when activated.
@@ -6137,6 +6303,10 @@ declare module "@stencil/core" {
6137
6303
  * The default styling reference comes from the [ONT styleguide](https://nanoporetech.zeroheight.com/styleguide/s/31282/p/230c74-text-input--textarea/b/942ee4)
6138
6304
  */
6139
6305
  "nano-input": LocalJSX.NanoInput & JSXBase.HTMLAttributes<HTMLNanoInputElement>;
6306
+ /**
6307
+ * A thin, declarative interface to the IntersectionObserver API.
6308
+ */
6309
+ "nano-intersection-observe": LocalJSX.NanoIntersectionObserve & JSXBase.HTMLAttributes<HTMLNanoIntersectionObserveElement>;
6140
6310
  /**
6141
6311
  * Menu element. Commonly wrapped by `nano-dropdown` with `nano-option` and `nano-nav-item` elements nested.
6142
6312
  * Manages focus state / active.
@@ -1,5 +1,6 @@
1
- import { Hit } from '@algolia/client-search';
2
- import { MyAccountData } from './components/global-nav/global-nav-interface';
1
+ import type { Hit } from '@algolia/client-search';
2
+ import type { MyAccountData } from './components/global-nav/global-nav-interface';
3
+ import type { animations, easings } from './components/animation/animations';
3
4
 
4
5
  export * from './index';
5
6
  export * from './components.d';
@@ -20,6 +21,9 @@ export * from './components/file-upload/file-upload-interface';
20
21
  export * from './components/option/option-interface';
21
22
  export * from './components/field-validator/field-validator-interface';
22
23
  export * from './components/table/table-interface';
24
+ export type { Dropdown as DropdownInterface } from './components/dropdown/dropdown';
25
+ export type AnimationEasing = keyof typeof easings;
26
+ export type AnimationName = keyof typeof animations;
23
27
 
24
28
  export { Gesture, GestureConfig, GestureDetail } from './utils/gesture';
25
29
  export type PredefinedColors =
@@ -64,6 +68,7 @@ export interface AlgoliaResults {
64
68
  hitsPerPage: number;
65
69
  exhaustiveNbHits: boolean;
66
70
  query: string;
71
+ queryID: string;
67
72
  params: string;
68
73
  processingTimeMS: number;
69
74
  appliedFilters?: [
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Attempts to find the closest scrolling parental element
3
+ * @param element - the element from which to traverse up the DOM
4
+ * @returns - the closest scrolling parental element
5
+ */
6
+ export declare function findScrollParent(element: HTMLElement): HTMLElement;
@@ -0,0 +1,22 @@
1
+ import type { InsightsSearchClickEvent } from 'search-insights/dist/click';
2
+ declare const searchInsight: {
3
+ /**
4
+ * Initialise algolia search insights.
5
+ * Will asynchronously import the search-insight library
6
+ * @param appId
7
+ * @param apiKey
8
+ */
9
+ init: (appId: string, apiKey: string) => Promise<void>;
10
+ /**
11
+ * Sends a `clickedObjectIDsAfterSearch` event to algolia search-insights.
12
+ * `init(...)` Must have been called first.
13
+ * @param params
14
+ */
15
+ sendClick: (params: InsightsSearchClickEvent) => void;
16
+ /**
17
+ * Associates algolia analytics with a user id
18
+ * @param userToken
19
+ */
20
+ setUser: (userToken: string) => void;
21
+ };
22
+ export default searchInsight;