@nanoporetech-digital/components 8.0.0-alpha.11 → 8.0.0-alpha.13

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 (244) hide show
  1. package/dist/cjs/{algolia-data-C57jw89c.js → algolia-data-D6TycVS6.js} +1 -1
  2. package/dist/cjs/{component-store-D4ZpyJGu.js → component-store-DFgMey0A.js} +1 -1
  3. package/dist/cjs/{dom-DrCOFZHp.js → dom-Lc3nZSfj.js} +1 -1
  4. package/dist/cjs/{fade-C1bcLlQH.js → fade-CiX74e7g.js} +3 -3
  5. package/dist/cjs/{form-control-ed3BuLGX.js → form-control-iZOZz0ZY.js} +1 -1
  6. package/dist/cjs/{fullscreen-CEgvGOfe.js → fullscreen-CRDiLBHG.js} +3 -3
  7. package/dist/cjs/{index-BtfGVqVr.js → index-CFe0EAH2.js} +1 -1
  8. package/dist/cjs/{index-lEfdugE-.js → index-DxiOGt08.js} +13 -9
  9. package/dist/cjs/index.cjs.js +3 -3
  10. package/dist/cjs/{lazyload-DHYuvWUl.js → lazyload-DQBOwjop.js} +3 -3
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/{modal-CZ38TYy8.js → modal-DE8UBht9.js} +1 -1
  13. package/dist/cjs/nano-accordion.cjs.entry.js +3 -3
  14. package/dist/cjs/nano-alert.cjs.entry.js +7 -7
  15. package/dist/cjs/nano-algolia-filter.cjs.entry.js +4 -4
  16. package/dist/cjs/nano-algolia-pagination.cjs.entry.js +2 -2
  17. package/dist/cjs/nano-algolia-results.cjs.entry.js +3 -3
  18. package/dist/cjs/nano-algolia.cjs.entry.js +5 -5
  19. package/dist/cjs/nano-animation.cjs.entry.js +2 -2
  20. package/dist/cjs/nano-avatar_5.cjs.entry.js +9 -9
  21. package/dist/cjs/nano-breadcrumb.cjs.entry.js +1 -1
  22. package/dist/cjs/nano-card-carousel.cjs.entry.js +2 -2
  23. package/dist/cjs/nano-card.cjs.entry.js +1 -1
  24. package/dist/cjs/nano-checkbox-group.cjs.entry.js +2 -2
  25. package/dist/cjs/nano-checkbox.cjs.entry.js +2 -2
  26. package/dist/cjs/nano-collapsible-comparison.cjs.entry.js +2 -2
  27. package/dist/cjs/nano-components.cjs.js +3 -3
  28. package/dist/cjs/nano-content-links.cjs.entry.js +1 -1
  29. package/dist/cjs/nano-cta.cjs.entry.js +1 -1
  30. package/dist/cjs/{nano-data-table-BygClX0L.js → nano-data-table-DpoWsfe-.js} +8 -7
  31. package/dist/cjs/nano-data-table.cjs.entry.js +6 -6
  32. package/dist/cjs/nano-datalist_3.cjs.entry.js +3 -3
  33. package/dist/cjs/nano-date-input.cjs.entry.js +2 -2
  34. package/dist/cjs/nano-date-picker_2.cjs.entry.js +4 -4
  35. package/dist/cjs/nano-details.cjs.entry.js +3 -3
  36. package/dist/cjs/nano-dialog.cjs.entry.js +8 -8
  37. package/dist/cjs/nano-dropdown_2.cjs.entry.js +5 -5
  38. package/dist/cjs/nano-feature-box.cjs.entry.js +1 -1
  39. package/dist/cjs/nano-field-validator.cjs.entry.js +3 -3
  40. package/dist/cjs/nano-file-upload.cjs.entry.js +2 -2
  41. package/dist/cjs/nano-footer.cjs.entry.js +1 -1
  42. package/dist/cjs/nano-global-nav.cjs.entry.js +2 -2
  43. package/dist/cjs/nano-grid-item.cjs.entry.js +1 -1
  44. package/dist/cjs/nano-grid_2.cjs.entry.js +5 -5
  45. package/dist/cjs/nano-hero.cjs.entry.js +2 -2
  46. package/dist/cjs/nano-icon-item.cjs.entry.js +1 -1
  47. package/dist/cjs/nano-icon_3.cjs.entry.js +2 -2
  48. package/dist/cjs/nano-in-page-nav.cjs.entry.js +3 -3
  49. package/dist/cjs/nano-intersection-observe.cjs.entry.js +4 -4
  50. package/dist/cjs/nano-masked-overflow.cjs.entry.js +4 -4
  51. package/dist/cjs/nano-menu-drawer.cjs.entry.js +4 -4
  52. package/dist/cjs/nano-more-less.cjs.entry.js +2 -2
  53. package/dist/cjs/nano-nav-item.cjs.entry.js +19 -11
  54. package/dist/cjs/nano-progress-bar.cjs.entry.js +1 -1
  55. package/dist/cjs/nano-range.cjs.entry.js +2 -2
  56. package/dist/cjs/nano-rating.cjs.entry.js +2 -2
  57. package/dist/cjs/nano-resize-observe.cjs.entry.js +2 -2
  58. package/dist/cjs/nano-slide.cjs.entry.js +2 -2
  59. package/dist/cjs/{nano-slides-CXU8XyXL.js → nano-slides-CEgnF-Y8.js} +16 -13
  60. package/dist/cjs/nano-slides.cjs.entry.js +3 -3
  61. package/dist/cjs/nano-sortable.cjs.entry.js +2 -2
  62. package/dist/cjs/nano-spinner.cjs.entry.js +1 -1
  63. package/dist/cjs/nano-split-pane.cjs.entry.js +2 -2
  64. package/dist/cjs/nano-sticker.cjs.entry.js +4 -4
  65. package/dist/cjs/nano-tab-content.cjs.entry.js +2 -2
  66. package/dist/cjs/nano-tab-group.cjs.entry.js +4 -4
  67. package/dist/cjs/nano-tab.cjs.entry.js +2 -2
  68. package/dist/cjs/nano-table.cjs.entry.js +2 -2
  69. package/dist/cjs/{page-dots-DnxKCAbO.js → page-dots-KutnmYpQ.js} +3 -3
  70. package/dist/cjs/{renderer-Cp5bbbnx.js → renderer-BnqVSAc0.js} +1 -1
  71. package/dist/cjs/{scroll-oYroBCcY.js → scroll-Drq3PYD1.js} +1 -1
  72. package/dist/cjs/{slot-DamVLdw5.js → slot-CES6Hsw2.js} +1 -1
  73. package/dist/cjs/{tabbable-5kSrTVb2.js → tabbable-DpUHjeI_.js} +1 -1
  74. package/dist/cjs/{table.worker-Dj-G_N11.js → table.worker-iOdjCdrO.js} +6 -6
  75. package/dist/collection/collection-manifest.json +1 -1
  76. package/dist/collection/components/data-table/table.pin-service.js +3 -2
  77. package/dist/collection/components/img/img.css +1 -1
  78. package/dist/collection/components/img/img.js +8 -4
  79. package/dist/collection/components/nav-item/nav-item.js +48 -6
  80. package/dist/collection/components/slides/slides.js +10 -7
  81. package/dist/collection/components/tabs/tab-group.css +8 -8
  82. package/dist/collection/components/tabs/tab.css +6 -6
  83. package/dist/components/img.js +3 -3
  84. package/dist/components/nano-data-table.js +3 -2
  85. package/dist/components/nav-item.js +17 -7
  86. package/dist/components/slides.js +10 -7
  87. package/dist/esm/{algolia-data-CHDAQ-na.js → algolia-data-1P9wrf61.js} +1 -1
  88. package/dist/esm/{component-store-BA4haUxz.js → component-store-DfmxxsJV.js} +1 -1
  89. package/dist/esm/{dom-DpX4e3pw.js → dom-dabRzt7p.js} +1 -1
  90. package/dist/esm/{fade-Dt3mCRd5.js → fade-DJjEJ3OV.js} +3 -3
  91. package/dist/esm/{form-control-BQDNikCR.js → form-control-DJJ-dewI.js} +1 -1
  92. package/dist/esm/{fullscreen-CiMUnO6C.js → fullscreen-C0Rg1tXP.js} +3 -3
  93. package/dist/esm/{index-Cb6_W06a.js → index-BC1-owN1.js} +1 -1
  94. package/dist/esm/{index-CDb2_YWF.js → index-D6WdRvhp.js} +13 -9
  95. package/dist/esm/index.js +4 -4
  96. package/dist/esm/{lazyload-DBW-FOzX.js → lazyload-BGGkN269.js} +3 -3
  97. package/dist/esm/loader.js +3 -3
  98. package/dist/esm/{modal-DnQPxb_Q.js → modal-T-hfWzCu.js} +1 -1
  99. package/dist/esm/nano-accordion.entry.js +3 -3
  100. package/dist/esm/nano-alert.entry.js +7 -7
  101. package/dist/esm/nano-algolia-filter.entry.js +4 -4
  102. package/dist/esm/nano-algolia-pagination.entry.js +2 -2
  103. package/dist/esm/nano-algolia-results.entry.js +3 -3
  104. package/dist/esm/nano-algolia.entry.js +5 -5
  105. package/dist/esm/nano-animation.entry.js +2 -2
  106. package/dist/esm/nano-avatar_5.entry.js +9 -9
  107. package/dist/esm/nano-breadcrumb.entry.js +1 -1
  108. package/dist/esm/nano-card-carousel.entry.js +2 -2
  109. package/dist/esm/nano-card.entry.js +1 -1
  110. package/dist/esm/nano-checkbox-group.entry.js +2 -2
  111. package/dist/esm/nano-checkbox.entry.js +2 -2
  112. package/dist/esm/nano-collapsible-comparison.entry.js +2 -2
  113. package/dist/esm/nano-components.js +4 -4
  114. package/dist/esm/nano-content-links.entry.js +1 -1
  115. package/dist/esm/nano-cta.entry.js +1 -1
  116. package/dist/esm/{nano-data-table-bZhulcwy.js → nano-data-table-TfPKf5LE.js} +8 -7
  117. package/dist/esm/nano-data-table.entry.js +6 -6
  118. package/dist/esm/nano-datalist_3.entry.js +3 -3
  119. package/dist/esm/nano-date-input.entry.js +2 -2
  120. package/dist/esm/nano-date-picker_2.entry.js +4 -4
  121. package/dist/esm/nano-details.entry.js +3 -3
  122. package/dist/esm/nano-dialog.entry.js +8 -8
  123. package/dist/esm/nano-dropdown_2.entry.js +5 -5
  124. package/dist/esm/nano-feature-box.entry.js +1 -1
  125. package/dist/esm/nano-field-validator.entry.js +3 -3
  126. package/dist/esm/nano-file-upload.entry.js +2 -2
  127. package/dist/esm/nano-footer.entry.js +1 -1
  128. package/dist/esm/nano-global-nav.entry.js +2 -2
  129. package/dist/esm/nano-grid-item.entry.js +1 -1
  130. package/dist/esm/nano-grid_2.entry.js +5 -5
  131. package/dist/esm/nano-hero.entry.js +2 -2
  132. package/dist/esm/nano-icon-item.entry.js +1 -1
  133. package/dist/esm/nano-icon_3.entry.js +2 -2
  134. package/dist/esm/nano-in-page-nav.entry.js +3 -3
  135. package/dist/esm/nano-intersection-observe.entry.js +4 -4
  136. package/dist/esm/nano-masked-overflow.entry.js +4 -4
  137. package/dist/esm/nano-menu-drawer.entry.js +4 -4
  138. package/dist/esm/nano-more-less.entry.js +2 -2
  139. package/dist/esm/nano-nav-item.entry.js +19 -11
  140. package/dist/esm/nano-progress-bar.entry.js +1 -1
  141. package/dist/esm/nano-range.entry.js +2 -2
  142. package/dist/esm/nano-rating.entry.js +2 -2
  143. package/dist/esm/nano-resize-observe.entry.js +2 -2
  144. package/dist/esm/nano-slide.entry.js +2 -2
  145. package/dist/esm/{nano-slides-BH9wpDRh.js → nano-slides-B1zM-u4Y.js} +16 -13
  146. package/dist/esm/nano-slides.entry.js +3 -3
  147. package/dist/esm/nano-sortable.entry.js +2 -2
  148. package/dist/esm/nano-spinner.entry.js +1 -1
  149. package/dist/esm/nano-split-pane.entry.js +2 -2
  150. package/dist/esm/nano-sticker.entry.js +4 -4
  151. package/dist/esm/nano-tab-content.entry.js +2 -2
  152. package/dist/esm/nano-tab-group.entry.js +4 -4
  153. package/dist/esm/nano-tab.entry.js +2 -2
  154. package/dist/esm/nano-table.entry.js +2 -2
  155. package/dist/esm/{page-dots-B5aFjE5U.js → page-dots-D9sLGqee.js} +3 -3
  156. package/dist/esm/{renderer-CGoibSOJ.js → renderer-BhDJHRB-.js} +1 -1
  157. package/dist/esm/{scroll-DMVLi4kX.js → scroll-CRQg8Vf0.js} +1 -1
  158. package/dist/esm/{slot-xEoA61Tz.js → slot-D_kg1OPh.js} +1 -1
  159. package/dist/esm/{tabbable-DQFS44_5.js → tabbable-kd8FQPK3.js} +1 -1
  160. package/dist/esm/{table.worker-Bt49ORjw.js → table.worker-Dq_pppel.js} +6 -6
  161. package/dist/nano-components/{algolia-data-CHDAQ-na.js → algolia-data-1P9wrf61.js} +1 -1
  162. package/dist/nano-components/{component-store-BA4haUxz.js → component-store-DfmxxsJV.js} +1 -1
  163. package/dist/nano-components/{dom-DpX4e3pw.js → dom-dabRzt7p.js} +1 -1
  164. package/dist/nano-components/{fade-Dt3mCRd5.js → fade-DJjEJ3OV.js} +1 -1
  165. package/dist/nano-components/{form-control-BQDNikCR.js → form-control-DJJ-dewI.js} +1 -1
  166. package/dist/nano-components/{fullscreen-CiMUnO6C.js → fullscreen-C0Rg1tXP.js} +1 -1
  167. package/dist/nano-components/{index-Cb6_W06a.js → index-BC1-owN1.js} +1 -1
  168. package/dist/nano-components/{index-CDb2_YWF.js → index-D6WdRvhp.js} +1 -1
  169. package/dist/nano-components/index.esm.js +1 -1
  170. package/dist/nano-components/{lazyload-DBW-FOzX.js → lazyload-BGGkN269.js} +1 -1
  171. package/dist/nano-components/{modal-DnQPxb_Q.js → modal-T-hfWzCu.js} +1 -1
  172. package/dist/nano-components/nano-accordion.entry.js +1 -1
  173. package/dist/nano-components/nano-alert.entry.js +1 -1
  174. package/dist/nano-components/nano-algolia-filter.entry.js +1 -1
  175. package/dist/nano-components/nano-algolia-pagination.entry.js +1 -1
  176. package/dist/nano-components/nano-algolia-results.entry.js +1 -1
  177. package/dist/nano-components/nano-algolia.entry.js +1 -1
  178. package/dist/nano-components/nano-animation.entry.js +1 -1
  179. package/dist/nano-components/nano-avatar_5.entry.js +1 -1
  180. package/dist/nano-components/nano-breadcrumb.entry.js +1 -1
  181. package/dist/nano-components/nano-card-carousel.entry.js +1 -1
  182. package/dist/nano-components/nano-card.entry.js +1 -1
  183. package/dist/nano-components/nano-checkbox-group.entry.js +1 -1
  184. package/dist/nano-components/nano-checkbox.entry.js +1 -1
  185. package/dist/nano-components/nano-collapsible-comparison.entry.js +1 -1
  186. package/dist/nano-components/nano-components.esm.js +1 -1
  187. package/dist/nano-components/nano-content-links.entry.js +1 -1
  188. package/dist/nano-components/nano-cta.entry.js +1 -1
  189. package/dist/nano-components/nano-data-table-TfPKf5LE.js +4 -0
  190. package/dist/nano-components/nano-data-table.entry.js +1 -1
  191. package/dist/nano-components/nano-datalist_3.entry.js +1 -1
  192. package/dist/nano-components/nano-date-input.entry.js +1 -1
  193. package/dist/nano-components/nano-date-picker_2.entry.js +1 -1
  194. package/dist/nano-components/nano-details.entry.js +1 -1
  195. package/dist/nano-components/nano-dialog.entry.js +1 -1
  196. package/dist/nano-components/nano-dropdown_2.entry.js +1 -1
  197. package/dist/nano-components/nano-feature-box.entry.js +1 -1
  198. package/dist/nano-components/nano-field-validator.entry.js +1 -1
  199. package/dist/nano-components/nano-file-upload.entry.js +1 -1
  200. package/dist/nano-components/nano-footer.entry.js +1 -1
  201. package/dist/nano-components/nano-global-nav.entry.js +1 -1
  202. package/dist/nano-components/nano-grid-item.entry.js +1 -1
  203. package/dist/nano-components/nano-grid_2.entry.js +1 -1
  204. package/dist/nano-components/nano-hero.entry.js +1 -1
  205. package/dist/nano-components/nano-icon-item.entry.js +1 -1
  206. package/dist/nano-components/nano-icon_3.entry.js +1 -1
  207. package/dist/nano-components/nano-in-page-nav.entry.js +1 -1
  208. package/dist/nano-components/nano-intersection-observe.entry.js +1 -1
  209. package/dist/nano-components/nano-masked-overflow.entry.js +1 -1
  210. package/dist/nano-components/nano-menu-drawer.entry.js +1 -1
  211. package/dist/nano-components/nano-more-less.entry.js +1 -1
  212. package/dist/nano-components/nano-nav-item.entry.js +1 -1
  213. package/dist/nano-components/nano-progress-bar.entry.js +1 -1
  214. package/dist/nano-components/nano-range.entry.js +1 -1
  215. package/dist/nano-components/nano-rating.entry.js +1 -1
  216. package/dist/nano-components/nano-resize-observe.entry.js +1 -1
  217. package/dist/nano-components/nano-slide.entry.js +1 -1
  218. package/dist/nano-components/{nano-slides-BH9wpDRh.js → nano-slides-B1zM-u4Y.js} +3 -3
  219. package/dist/nano-components/nano-slides.entry.js +1 -1
  220. package/dist/nano-components/nano-sortable.entry.js +1 -1
  221. package/dist/nano-components/nano-spinner.entry.js +1 -1
  222. package/dist/nano-components/nano-split-pane.entry.js +1 -1
  223. package/dist/nano-components/nano-sticker.entry.js +1 -1
  224. package/dist/nano-components/nano-tab-content.entry.js +1 -1
  225. package/dist/nano-components/nano-tab-group.entry.js +1 -1
  226. package/dist/nano-components/nano-tab.entry.js +1 -1
  227. package/dist/nano-components/nano-table.entry.js +1 -1
  228. package/dist/nano-components/{page-dots-B5aFjE5U.js → page-dots-D9sLGqee.js} +1 -1
  229. package/dist/nano-components/{renderer-CGoibSOJ.js → renderer-BhDJHRB-.js} +1 -1
  230. package/dist/nano-components/{scroll-DMVLi4kX.js → scroll-CRQg8Vf0.js} +1 -1
  231. package/dist/nano-components/{slot-xEoA61Tz.js → slot-D_kg1OPh.js} +1 -1
  232. package/dist/nano-components/{tabbable-DQFS44_5.js → tabbable-kd8FQPK3.js} +1 -1
  233. package/dist/nano-components/table.worker-Dq_pppel.js +4 -0
  234. package/dist/types/components/img/img.d.ts +5 -1
  235. package/dist/types/components/nav-item/nav-item.d.ts +4 -0
  236. package/dist/types/components/slides/slides.d.ts +1 -0
  237. package/dist/types/components.d.ts +20 -4
  238. package/docs-json.json +84 -32
  239. package/docs-vscode.json +1 -1
  240. package/hydrate/index.js +52 -30
  241. package/hydrate/index.mjs +52 -30
  242. package/package.json +2 -2
  243. package/dist/nano-components/nano-data-table-bZhulcwy.js +0 -4
  244. package/dist/nano-components/table.worker-Bt49ORjw.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Custom elements for Nanopore-Digital Web applications
3
3
  */
4
- import{g as t,r as e,a as o}from"./index-CDb2_YWF.js";import{d as n}from"./throttle-C93FMm2Z.js";import{t as a,h as s}from"./renderer-CGoibSOJ.js";const i=class{get host(){return t(this)}propsReady=!1;compact="auto";handleCompactChange(){this.setupProperties()}scrollable=!0;hideCaption=!1;handleHideCaptionChange(){const t=this.caption;t&&t.classList.toggle("visually-hidden",this.hideCaption)}resizeObserver;mutationObserver;intersectionObserver;settingUp=!1;get table(){return this.host.querySelector("table")}get caption(){return this.host.querySelector("caption")||(console.error("nano-table: No caption found. For better a11y, please add a <caption> element to the table."),null)}setupProperties=()=>{const t=this.table;if(!t||this.settingUp)return;this.settingUp=!0;const e=Array.from(this.host.querySelectorAll("tr"));for(const t of e)1===this.getRowClickElements(t).length?(t.setAttribute("clickable","true"),t.addEventListener("click",this.rowClickHandler)):(t.removeAttribute("clickable"),t.removeEventListener("click",this.rowClickHandler));const o=t.querySelectorAll("thead, tbody, tfoot");let n=0;if(t.querySelector("[sticky=start], [sticky=end]")){for(const t of o)t.style.setProperty("--section-height",`${t.offsetHeight}px`);const t=Array.from(this.host.querySelectorAll("thead th, thead td"));for(const e of t)e.matches("[sticky=start]")&&(this.makeCellsSticky(e,"start",n),n>0&&e.style.setProperty("--sticky-start",`${n}px`),n+=e.offsetWidth-1);n=0;for(const e of[...t].reverse())e.matches("[sticky=end]")&&(this.makeCellsSticky(e,"end",n),n>0&&e.style.setProperty("--sticky-end",`${n}px`),n+=e.offsetWidth-1)}if(t.querySelector("[sticky=top]")){n=0;for(const t of o){const e=Array.from(t.querySelectorAll("tr[sticky]"));for(const[t,o]of e.entries())o.matches("[sticky=top]")&&n>0&&o.style.setProperty("--sticky-top",`${n}px`),t===e.length-1&&(n+=o.offsetHeight-1)}}this.settingUp=!1,this.propsReady=!0};getRowClickElements(t){const e=t.querySelectorAll("a"),o=t.querySelectorAll("button"),n=Array.from(t.querySelectorAll('input[type="checkbox"]')).filter((t=>!t.closest("nano-checkbox"))),a=Array.from(t.querySelectorAll('input[type="radio"]')).filter((t=>!t.closest("nano-checkbox")));return[...e,...o,...t.querySelectorAll("nano-checkbox"),...n,...a]}rowClickHandler=t=>{const e=t.target,o=e.closest("tr");if(!o)return;const n=this.getRowClickElements(o);1===n.length&&e.closest(n[0].tagName)!==n[0]&&n[0].click()};makeCellsSticky(t,e,o=0){const n=t.closest("table"),a=t.closest("tr"),s=Array.from(a.cells);let i=0;for(const e of s){if(e===t)break;i+=e.colSpan||1}for(const t of n.tBodies)for(const n of t.rows){let t=0;for(const a of n.cells){const n=a.colSpan||1;if(t<=i&&i<t+n){a.setAttribute("sticky",e),o>0&&a.style.setProperty("--sticky-"+e,`${o}px`);break}t+=n}}}addObservers(){this.resizeObserver=new ResizeObserver((()=>{this.setupProperties()})),this.resizeObserver.observe(this.host),this.mutationObserver=new MutationObserver((()=>{this.setupProperties()}));const t=this.table;this.mutationObserver.observe(t,{childList:!0,subtree:!0}),this.intersectionObserver=new IntersectionObserver((()=>{this.setupProperties(),this.intersectionObserver.disconnect()}),{threshold:1}),this.intersectionObserver.observe(t)}cleanUpObservers(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=null),this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null)}constructor(t){e(this,t),this.setupProperties=n(this.setupProperties,100)}connectedCallback(){this.addObservers(),this.handleHideCaptionChange()}componentDidRender(){!1!==this.scrollable&&this.table&&customElements.whenDefined(a("nano-masked-overflow")).then((()=>{this.host.querySelector(".nano-table__overflow")?.appendChild(this.table)}))}disconnectedCallback(){this.cleanUpObservers()}render(){return s(o,{key:"0a9318e167bc0a0ac564aa04600212be5b862739",class:{"nano-table":!0,"nano-table--props-ready":this.propsReady}},this.scrollable&&s("nano-masked-overflow",{key:"928d2e95a991c6f46042e78c3422506b33f76382",hideScrollbars:!1,scrollControls:!1,label:this.caption?.textContent||void 0,class:"nano-table__overflow-container"},s("div",{key:"d4f47ea9d7f1c72a50d6cc0f8338ddb7c241e7e6",class:"nano-table__overflow"})),s("slot",{key:"82180d451b163fa966a470308f3aca6fdbb3dff9"}))}static get watchers(){return{compact:["handleCompactChange"],hideCaption:["handleHideCaptionChange"]}}};i.style=".sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{box-sizing:border-box}[hidden].sc-nano-table{display:none !important}@media (prefers-reduced-motion: reduce){.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{box-sizing:border-box}[hidden].sc-nano-table{display:none !important}@media (prefers-reduced-motion: reduce){.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}";export{i as nano_table}
4
+ import{g as t,r as e,a as o}from"./index-D6WdRvhp.js";import{d as n}from"./throttle-C93FMm2Z.js";import{t as a,h as s}from"./renderer-BhDJHRB-.js";const i=class{get host(){return t(this)}propsReady=!1;compact="auto";handleCompactChange(){this.setupProperties()}scrollable=!0;hideCaption=!1;handleHideCaptionChange(){const t=this.caption;t&&t.classList.toggle("visually-hidden",this.hideCaption)}resizeObserver;mutationObserver;intersectionObserver;settingUp=!1;get table(){return this.host.querySelector("table")}get caption(){return this.host.querySelector("caption")||(console.error("nano-table: No caption found. For better a11y, please add a <caption> element to the table."),null)}setupProperties=()=>{const t=this.table;if(!t||this.settingUp)return;this.settingUp=!0;const e=Array.from(this.host.querySelectorAll("tr"));for(const t of e)1===this.getRowClickElements(t).length?(t.setAttribute("clickable","true"),t.addEventListener("click",this.rowClickHandler)):(t.removeAttribute("clickable"),t.removeEventListener("click",this.rowClickHandler));const o=t.querySelectorAll("thead, tbody, tfoot");let n=0;if(t.querySelector("[sticky=start], [sticky=end]")){for(const t of o)t.style.setProperty("--section-height",`${t.offsetHeight}px`);const t=Array.from(this.host.querySelectorAll("thead th, thead td"));for(const e of t)e.matches("[sticky=start]")&&(this.makeCellsSticky(e,"start",n),n>0&&e.style.setProperty("--sticky-start",`${n}px`),n+=e.offsetWidth-1);n=0;for(const e of[...t].reverse())e.matches("[sticky=end]")&&(this.makeCellsSticky(e,"end",n),n>0&&e.style.setProperty("--sticky-end",`${n}px`),n+=e.offsetWidth-1)}if(t.querySelector("[sticky=top]")){n=0;for(const t of o){const e=Array.from(t.querySelectorAll("tr[sticky]"));for(const[t,o]of e.entries())o.matches("[sticky=top]")&&n>0&&o.style.setProperty("--sticky-top",`${n}px`),t===e.length-1&&(n+=o.offsetHeight-1)}}this.settingUp=!1,this.propsReady=!0};getRowClickElements(t){const e=t.querySelectorAll("a"),o=t.querySelectorAll("button"),n=Array.from(t.querySelectorAll('input[type="checkbox"]')).filter((t=>!t.closest("nano-checkbox"))),a=Array.from(t.querySelectorAll('input[type="radio"]')).filter((t=>!t.closest("nano-checkbox")));return[...e,...o,...t.querySelectorAll("nano-checkbox"),...n,...a]}rowClickHandler=t=>{const e=t.target,o=e.closest("tr");if(!o)return;const n=this.getRowClickElements(o);1===n.length&&e.closest(n[0].tagName)!==n[0]&&n[0].click()};makeCellsSticky(t,e,o=0){const n=t.closest("table"),a=t.closest("tr"),s=Array.from(a.cells);let i=0;for(const e of s){if(e===t)break;i+=e.colSpan||1}for(const t of n.tBodies)for(const n of t.rows){let t=0;for(const a of n.cells){const n=a.colSpan||1;if(t<=i&&i<t+n){a.setAttribute("sticky",e),o>0&&a.style.setProperty("--sticky-"+e,`${o}px`);break}t+=n}}}addObservers(){this.resizeObserver=new ResizeObserver((()=>{this.setupProperties()})),this.resizeObserver.observe(this.host),this.mutationObserver=new MutationObserver((()=>{this.setupProperties()}));const t=this.table;this.mutationObserver.observe(t,{childList:!0,subtree:!0}),this.intersectionObserver=new IntersectionObserver((()=>{this.setupProperties(),this.intersectionObserver.disconnect()}),{threshold:1}),this.intersectionObserver.observe(t)}cleanUpObservers(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=null),this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null)}constructor(t){e(this,t),this.setupProperties=n(this.setupProperties,100)}connectedCallback(){this.addObservers(),this.handleHideCaptionChange()}componentDidRender(){!1!==this.scrollable&&this.table&&customElements.whenDefined(a("nano-masked-overflow")).then((()=>{this.host.querySelector(".nano-table__overflow")?.appendChild(this.table)}))}disconnectedCallback(){this.cleanUpObservers()}render(){return s(o,{key:"0a9318e167bc0a0ac564aa04600212be5b862739",class:{"nano-table":!0,"nano-table--props-ready":this.propsReady}},this.scrollable&&s("nano-masked-overflow",{key:"928d2e95a991c6f46042e78c3422506b33f76382",hideScrollbars:!1,scrollControls:!1,label:this.caption?.textContent||void 0,class:"nano-table__overflow-container"},s("div",{key:"d4f47ea9d7f1c72a50d6cc0f8338ddb7c241e7e6",class:"nano-table__overflow"})),s("slot",{key:"82180d451b163fa966a470308f3aca6fdbb3dff9"}))}static get watchers(){return{compact:["handleCompactChange"],hideCaption:["handleHideCaptionChange"]}}};i.style=".sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{box-sizing:border-box}[hidden].sc-nano-table{display:none !important}@media (prefers-reduced-motion: reduce){.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{box-sizing:border-box}[hidden].sc-nano-table{display:none !important}@media (prefers-reduced-motion: reduce){.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}";export{i as nano_table}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Custom elements for Nanopore-Digital Web applications
3
3
  */
4
- import{F as t,u as i,U as s}from"./nano-slides-BH9wpDRh.js";import"./index-CDb2_YWF.js";import"./renderer-CGoibSOJ.js";function h(t){this.parent=t,this.parentElement=this.parent.element.shadowRoot||this.parent.element,this._create()}(h.prototype=Object.create(s.prototype))._create=function(){this.holder=document.createElement("div"),this.holder.className="flickity-page-dots",this.holder.part.add("pagination"),this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},h.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parentElement.appendChild(this.holder)},h.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parentElement.removeChild(this.holder)},h.prototype.setDots=function(){const t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},h.prototype.addDots=function(t){const i=document.createDocumentFragment(),s=[],h=this.dots.length,n=h+t;for(let t=h;t<n;t++){const h=document.createElement("button");h.classList.add("dot"),h.innerText=`Go to slide ${t+1}`,i.appendChild(h),s.push(h)}this.holder.appendChild(i),this.dots=this.dots.concat(s)},h.prototype.removeDots=function(t){this.dots.splice(this.dots.length-t,t).forEach((function(t){this.holder.removeChild(t)}),this)},h.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.classList.remove("is-selected"),this.selectedDot.part.remove("pagination-item--active"),this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.classList.add("is-selected"),this.selectedDot.part.add("pagination-item--active"),this.selectedDot.setAttribute("aria-current","step"))},h.prototype.onTap=h.prototype.onClick=function(t){const i=t.target;if("BUTTON"!=i.nodeName)return;this.parent.uiChange();const s=this.dots.indexOf(i);this.parent.select(s)},h.prototype.destroy=function(){this.deactivate(),this.allOff()},t.PageDots=h,i.extend(t.defaults,{pageDots:!0}),t.createMethods.push("_createPageDots");const n=t.prototype;n._createPageDots=function(){this.options.pageDots&&(this.pageDots=new h(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},n.activatePageDots=function(){this.pageDots.activate()},n.updateSelectedPageDots=function(){this.pageDots.updateSelected()},n.updatePageDots=function(){this.pageDots.setDots()},n.deactivatePageDots=function(){this.pageDots.deactivate()},t.PageDots=h;
4
+ import{F as t,u as i,U as s}from"./nano-slides-B1zM-u4Y.js";import"./index-D6WdRvhp.js";import"./renderer-BhDJHRB-.js";function h(t){this.parent=t,this.parentElement=this.parent.element.shadowRoot||this.parent.element,this._create()}(h.prototype=Object.create(s.prototype))._create=function(){this.holder=document.createElement("div"),this.holder.className="flickity-page-dots",this.holder.part.add("pagination"),this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},h.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parentElement.appendChild(this.holder)},h.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parentElement.removeChild(this.holder)},h.prototype.setDots=function(){const t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},h.prototype.addDots=function(t){const i=document.createDocumentFragment(),s=[],h=this.dots.length,n=h+t;for(let t=h;t<n;t++){const h=document.createElement("button");h.classList.add("dot"),h.innerText=`Go to slide ${t+1}`,i.appendChild(h),s.push(h)}this.holder.appendChild(i),this.dots=this.dots.concat(s)},h.prototype.removeDots=function(t){this.dots.splice(this.dots.length-t,t).forEach((function(t){this.holder.removeChild(t)}),this)},h.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.classList.remove("is-selected"),this.selectedDot.part.remove("pagination-item--active"),this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.classList.add("is-selected"),this.selectedDot.part.add("pagination-item--active"),this.selectedDot.setAttribute("aria-current","step"))},h.prototype.onTap=h.prototype.onClick=function(t){const i=t.target;if("BUTTON"!=i.nodeName)return;this.parent.uiChange();const s=this.dots.indexOf(i);this.parent.select(s)},h.prototype.destroy=function(){this.deactivate(),this.allOff()},t.PageDots=h,i.extend(t.defaults,{pageDots:!0}),t.createMethods.push("_createPageDots");const n=t.prototype;n._createPageDots=function(){this.options.pageDots&&(this.pageDots=new h(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},n.activatePageDots=function(){this.pageDots.activate()},n.updateSelectedPageDots=function(){this.pageDots.updateSelected()},n.updatePageDots=function(){this.pageDots.setDots()},n.deactivatePageDots=function(){this.pageDots.deactivate()},t.PageDots=h;
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Custom elements for Nanopore-Digital Web applications
3
3
  */
4
- import{h as n}from"./index-CDb2_YWF.js";const t=["nano-avatar","nano-badge","nano-card","nano-cta","nano-icon-item","nano-tag","nano-content-links"];function o(n){return r&&n.startsWith("nano-")&&!t.includes(n)?`${r}-${n}`:n}function a(...t){const a=t[0];if(!a||"string"!=typeof a||!r)return n(...t);let e=a;"string"==typeof a&&(e=o(a));const i=t.slice(2);return n(e,t[1],i)}let r="";function e(n){return r=n,o}function i(){return r}a||(a={});export{i as g,a as h,e as s,o as t}
4
+ import{h as n}from"./index-D6WdRvhp.js";const t=["nano-avatar","nano-badge","nano-card","nano-cta","nano-icon-item","nano-tag","nano-content-links"];function o(n){return r&&n.startsWith("nano-")&&!t.includes(n)?`${r}-${n}`:n}function a(...t){const a=t[0];if(!a||"string"!=typeof a||!r)return n(...t);let e=a;"string"==typeof a&&(e=o(a));const i=t.slice(2);return n(e,t[1],i)}let r="";function e(n){return r=n,o}function i(){return r}a||(a={});export{i as g,a as h,e as s,o as t}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Custom elements for Nanopore-Digital Web applications
3
3
  */
4
- import{a as t}from"./dom-DpX4e3pw.js";const o=new Set;function n(t){if(o.add(t),document.documentElement.classList.contains("nano-scroll-lock"))return;const n=function(){const t=document.documentElement.clientWidth,o=Math.abs(window.innerWidth-t),{paddingRight:n,paddingInlineEnd:e}=getComputedStyle(document.body);let c=Number((e||n).replace(/px/,""));return(c||isNaN(c))&&(c=0),o+c}();let e=getComputedStyle(document.documentElement).scrollbarGutter;e&&"auto"!==e||(e="stable"),n<=0&&(e="revert"),document.documentElement.style.setProperty("--nano-scroll-lock-gutter",e),document.documentElement.classList.add("nano-scroll-lock"),document.documentElement.style.setProperty("--nano-scroll-lock-size",`${n}px`)}function e(t){o.delete(t),0===o.size&&(document.documentElement.classList.remove("nano-scroll-lock"),document.documentElement.style.removeProperty("--nano-scroll-lock-size"))}function c(t,o,n=!1){if(n)try{t.scrollTo({top:o,behavior:"smooth"})}catch(n){t.scrollTop=o}else try{t.scrollTo({left:o,behavior:"smooth"})}catch(n){t.scrollLeft=o}}function r(o,n,e="vertical",r="start"){if(!o)return;const l=t(o,n),u=l.top+n.scrollTop,a=l.left+n.scrollLeft,s=n.scrollLeft+n.offsetWidth,i=n.scrollTop,d=n.scrollTop+n.offsetHeight;"horizontal"!==e&&"both"!==e||("start"===r?a<n.scrollLeft?c(n,a):a+o.clientWidth>s&&c(n,a-n.offsetWidth+o.clientWidth):c(n,n.scrollLeft+l.left-(n.offsetWidth/2-o.offsetWidth/2))),"vertical"!==e&&"both"!==e||("start"===r?u<i?c(n,u,!0):u+o.clientHeight>d&&c(n,u-n.offsetHeight+o.clientHeight,!0):c(n,n.scrollTop+l.top-(n.offsetHeight/2-o.offsetHeight/2),!0))}function l(t){let o=getComputedStyle(t);const n="absolute"===o.position,e=/(auto|scroll)/;if("fixed"===o.position)return document.documentElement;for(let c=t;c=c.parentElement;)if(o=getComputedStyle(c),(!n||"static"!==o.position)&&e.test(o.overflow+o.overflowY+o.overflowX))return c;return document.documentElement}function u(t,o=100,n="y"){const e=t.getBoundingClientRect(),c=window.innerHeight||document.documentElement.clientHeight,r=window.innerWidth||document.documentElement.clientWidth;if(!(e.bottom||e.top||e.left||e.right||e.height||e.width||e.x||e.y))return!1;let l=!0;return"y"!==n&&"both"!==n||(l=!(Math.floor(100-(e.top>=0?0:e.top)/+-e.height*100)<o||Math.floor(100-(e.bottom-c)/e.height*100)<o)),("x"===n||"both"===n&&l)&&(l=!(Math.floor(100-(e.left>=0?0:e.left)/+-e.width*100)<o||Math.floor(100-(e.right-r)/e.width*100)<o)),l}export{l as f,u as i,n as l,r as s,e as u}
4
+ import{a as t}from"./dom-dabRzt7p.js";const o=new Set;function n(t){if(o.add(t),document.documentElement.classList.contains("nano-scroll-lock"))return;const n=function(){const t=document.documentElement.clientWidth,o=Math.abs(window.innerWidth-t),{paddingRight:n,paddingInlineEnd:e}=getComputedStyle(document.body);let c=Number((e||n).replace(/px/,""));return(c||isNaN(c))&&(c=0),o+c}();let e=getComputedStyle(document.documentElement).scrollbarGutter;e&&"auto"!==e||(e="stable"),n<=0&&(e="revert"),document.documentElement.style.setProperty("--nano-scroll-lock-gutter",e),document.documentElement.classList.add("nano-scroll-lock"),document.documentElement.style.setProperty("--nano-scroll-lock-size",`${n}px`)}function e(t){o.delete(t),0===o.size&&(document.documentElement.classList.remove("nano-scroll-lock"),document.documentElement.style.removeProperty("--nano-scroll-lock-size"))}function c(t,o,n=!1){if(n)try{t.scrollTo({top:o,behavior:"smooth"})}catch(n){t.scrollTop=o}else try{t.scrollTo({left:o,behavior:"smooth"})}catch(n){t.scrollLeft=o}}function r(o,n,e="vertical",r="start"){if(!o)return;const l=t(o,n),u=l.top+n.scrollTop,a=l.left+n.scrollLeft,s=n.scrollLeft+n.offsetWidth,i=n.scrollTop,d=n.scrollTop+n.offsetHeight;"horizontal"!==e&&"both"!==e||("start"===r?a<n.scrollLeft?c(n,a):a+o.clientWidth>s&&c(n,a-n.offsetWidth+o.clientWidth):c(n,n.scrollLeft+l.left-(n.offsetWidth/2-o.offsetWidth/2))),"vertical"!==e&&"both"!==e||("start"===r?u<i?c(n,u,!0):u+o.clientHeight>d&&c(n,u-n.offsetHeight+o.clientHeight,!0):c(n,n.scrollTop+l.top-(n.offsetHeight/2-o.offsetHeight/2),!0))}function l(t){let o=getComputedStyle(t);const n="absolute"===o.position,e=/(auto|scroll)/;if("fixed"===o.position)return document.documentElement;for(let c=t;c=c.parentElement;)if(o=getComputedStyle(c),(!n||"static"!==o.position)&&e.test(o.overflow+o.overflowY+o.overflowX))return c;return document.documentElement}function u(t,o=100,n="y"){const e=t.getBoundingClientRect(),c=window.innerHeight||document.documentElement.clientHeight,r=window.innerWidth||document.documentElement.clientWidth;if(!(e.bottom||e.top||e.left||e.right||e.height||e.width||e.x||e.y))return!1;let l=!0;return"y"!==n&&"both"!==n||(l=!(Math.floor(100-(e.top>=0?0:e.top)/+-e.height*100)<o||Math.floor(100-(e.bottom-c)/e.height*100)<o)),("x"===n||"both"===n&&l)&&(l=!(Math.floor(100-(e.left>=0?0:e.left)/+-e.width*100)<o||Math.floor(100-(e.right-r)/e.width*100)<o)),l}export{l as f,u as i,n as l,r as s,e as u}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Custom elements for Nanopore-Digital Web applications
3
3
  */
4
- import{g as t,j as s}from"./index-CDb2_YWF.js";function h(t){const s=t.getRootNode();return s.host?s.host.innerText:t.innerText}class o{host;slotNames=[];constructor(s,...h){this.slotNames=h;const o=s.componentWillLoad;s.componentWillLoad=()=>{this.host=t(s),o&&o.call(s)};const i=s.connectedCallback;s.connectedCallback=()=>{this.host=t(s),this.hostConnected(),i&&i.call(s)};const e=s.disconnectedCallback;s.disconnectedCallback=()=>{this.hostDisconnected(),this.host=void 0,e&&e.call(s)}}hasDefaultSlot(){return!!this.host&&[...this.host.childNodes].some((t=>t.nodeType===Node.TEXT_NODE&&""!==t.textContent.trim()||t.nodeType===Node.ELEMENT_NODE&&!t.hasAttribute("slot")))}hasNamedSlot(t){return!!this.host&&!!this.host.querySelector(`[slot="${t}"]`)}has(t){return"[default]"===t?this.hasDefaultSlot():this.hasNamedSlot(t)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host&&this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}handleSlotChange=t=>{const h=t.target;(this.slotNames.includes("[default]")&&!h.name||h.name&&this.slotNames.includes(h.name))&&s(this.host)}}export{o as H,h as g}
4
+ import{g as t,j as s}from"./index-D6WdRvhp.js";function h(t){const s=t.getRootNode();return s.host?s.host.innerText:t.innerText}class o{host;slotNames=[];constructor(s,...h){this.slotNames=h;const o=s.componentWillLoad;s.componentWillLoad=()=>{this.host=t(s),o&&o.call(s)};const i=s.connectedCallback;s.connectedCallback=()=>{this.host=t(s),this.hostConnected(),i&&i.call(s)};const e=s.disconnectedCallback;s.disconnectedCallback=()=>{this.hostDisconnected(),this.host=void 0,e&&e.call(s)}}hasDefaultSlot(){return!!this.host&&[...this.host.childNodes].some((t=>t.nodeType===Node.TEXT_NODE&&""!==t.textContent.trim()||t.nodeType===Node.ELEMENT_NODE&&!t.hasAttribute("slot")))}hasNamedSlot(t){return!!this.host&&!!this.host.querySelector(`[slot="${t}"]`)}has(t){return"[default]"===t?this.hasDefaultSlot():this.hasNamedSlot(t)}hostConnected(){this.host.shadowRoot.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){this.host&&this.host.shadowRoot.removeEventListener("slotchange",this.handleSlotChange)}handleSlotChange=t=>{const h=t.target;(this.slotNames.includes("[default]")&&!h.name||h.name&&this.slotNames.includes(h.name))&&s(this.host)}}export{o as H,h as g}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Custom elements for Nanopore-Digital Web applications
3
3
  */
4
- import"./index-CDb2_YWF.js";function t(e,n=!1,r=!1,i=!1){const o=[];if(e instanceof HTMLElement){if(function(t,e=!1){const n=t.tagName.toLowerCase();if(!["button","input","select","textarea","a","audio","video","summary"].includes(n))return!1;if("-1"===t.getAttribute("tabindex"))return!1;if(t.hasAttribute("disabled"))return!1;if(t.hasAttribute("aria-disabled")&&"false"!==t.getAttribute("aria-disabled"))return!1;if(t.hasAttribute("tabindex"))return!0;if(t.hasAttribute("contenteditable")&&"false"!==t.getAttribute("contenteditable"))return!0;if(("audio"===n||"video"===n)&&t.hasAttribute("controls"))return!0;if("input"===n&&"radio"===t.getAttribute("type")&&!t.hasAttribute("checked"))return!1;if("a"===n&&!t.hasAttribute("href"))return!1;if(!e){if(!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))return!1;if("function"==typeof t.checkVisibility&&!t.checkVisibility({opacityProperty:!0,visibilityProperty:!0}))return!1}return!0}(e,r)&&(o.push(e),n))return o;!i&&e.shadowRoot&&"open"===e.shadowRoot.mode&&t(e.shadowRoot,n,r).map((t=>{o.includes(t)||o.push(t)})),HTMLSlotElement&&e instanceof HTMLSlotElement&&e.assignedElements().map((e=>{t(e,n,r).map((t=>{o.includes(t)||o.push(t)}))}))}return Array.from(e.children).map((e=>{t(e,n,r).map((t=>{o.includes(t)||o.push(t)}))})),o}function e(e){window.getTabbableElements=t;const n=t(e,!0,!0);return n.length?n[0]:null}export{e as a,t as g}
4
+ import"./index-D6WdRvhp.js";function t(e,n=!1,r=!1,i=!1){const o=[];if(e instanceof HTMLElement){if(function(t,e=!1){const n=t.tagName.toLowerCase();if(!["button","input","select","textarea","a","audio","video","summary"].includes(n))return!1;if("-1"===t.getAttribute("tabindex"))return!1;if(t.hasAttribute("disabled"))return!1;if(t.hasAttribute("aria-disabled")&&"false"!==t.getAttribute("aria-disabled"))return!1;if(t.hasAttribute("tabindex"))return!0;if(t.hasAttribute("contenteditable")&&"false"!==t.getAttribute("contenteditable"))return!0;if(("audio"===n||"video"===n)&&t.hasAttribute("controls"))return!0;if("input"===n&&"radio"===t.getAttribute("type")&&!t.hasAttribute("checked"))return!1;if("a"===n&&!t.hasAttribute("href"))return!1;if(!e){if(!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))return!1;if("function"==typeof t.checkVisibility&&!t.checkVisibility({opacityProperty:!0,visibilityProperty:!0}))return!1}return!0}(e,r)&&(o.push(e),n))return o;!i&&e.shadowRoot&&"open"===e.shadowRoot.mode&&t(e.shadowRoot,n,r).map((t=>{o.includes(t)||o.push(t)})),HTMLSlotElement&&e instanceof HTMLSlotElement&&e.assignedElements().map((e=>{t(e,n,r).map((t=>{o.includes(t)||o.push(t)}))}))}return Array.from(e.children).map((e=>{t(e,n,r).map((t=>{o.includes(t)||o.push(t)}))})),o}function e(e){window.getTabbableElements=t;const n=t(e,!0,!0);return n.length?n[0]:null}export{e as a,t as g}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Custom elements for Nanopore-Digital Web applications
3
+ */
4
+ import{c as t}from"./nano-data-table-TfPKf5LE.js";import"./index-D6WdRvhp.js";import"./renderer-BhDJHRB-.js";import"./math-BEqsTfVK.js";import"./throttle-C93FMm2Z.js";import"./scroll-CRQg8Vf0.js";import"./dom-dabRzt7p.js";import"./index-BC1-owN1.js";const r="table.worker",o="stencil.table.worker",e=new URL("table.worker-BTF0UXAd.js",import.meta.url).href;let s;try{s=t(e,r,o)}catch(p){const i=new Blob(['importScripts("'+e+'")'],{type:"text/javascript"}),m=URL.createObjectURL(i);s=t(m,r,o),URL.revokeObjectURL(m)}export{s as worker,o as workerMsgId,r as workerName,e as workerPath}
@@ -1,6 +1,10 @@
1
1
  import { EventEmitter, ComponentInterface } from '../../stencil-public-runtime';
2
2
  /**
3
- * Img with benefits. Lazy loading. Simple `srcSet` solution for both `<img>` and `background-image` varieties.
3
+ * Utilities for displaying images; standard or background.
4
+ *
5
+ * @status deprecated
6
+ * @version 1.0.0
7
+ *
4
8
  * @slot - Main slot. Only relevant with `<nano-img background>`
5
9
  */
6
10
  export declare class Img implements ComponentInterface {
@@ -68,6 +68,10 @@ export declare class NavItem implements ComponentInterface {
68
68
  private toggleSecondary;
69
69
  private handleClick;
70
70
  private handleDefaultSlotChange;
71
+ /** Closes the secondary nav panel if it is open */
72
+ closeMenu(): Promise<void>;
73
+ /** Opens the secondary nav panel if it is not open */
74
+ openMenu(): Promise<void>;
71
75
  connectedCallback(): void;
72
76
  componentDidLoad(): void;
73
77
  render(): any;
@@ -60,6 +60,7 @@ export declare class Slides implements ComponentInterface {
60
60
  /** Animation presets or your own custom animation function; called every frame during scroll */
61
61
  animation: SlideAnimation;
62
62
  animationChange(_?: any, oldAnim?: SlideAnimation): Promise<void>;
63
+ private updateOptions;
63
64
  /** Zero-based index of the selected cell. */
64
65
  currentSlide: number;
65
66
  currentSlideChange(): void;
@@ -1866,7 +1866,9 @@ export namespace Components {
1866
1866
  "size"?: 'regular' | 'large';
1867
1867
  }
1868
1868
  /**
1869
- * Img with benefits. Lazy loading. Simple `srcSet` solution for both `<img>` and `background-image` varieties.
1869
+ * Utilities for displaying images; standard or background.
1870
+ * @status deprecated
1871
+ * @version 1.0.0
1870
1872
  */
1871
1873
  interface NanoImg {
1872
1874
  /**
@@ -2326,6 +2328,10 @@ export namespace Components {
2326
2328
  * @default false
2327
2329
  */
2328
2330
  "checkbox": boolean;
2331
+ /**
2332
+ * Closes the secondary nav panel if it is open
2333
+ */
2334
+ "closeMenu": () => Promise<void>;
2329
2335
  /**
2330
2336
  * Whether secondary menus should close on blur
2331
2337
  * @default true
@@ -2346,6 +2352,10 @@ export namespace Components {
2346
2352
  * @default false
2347
2353
  */
2348
2354
  "open": boolean;
2355
+ /**
2356
+ * Opens the secondary nav panel if it is not open
2357
+ */
2358
+ "openMenu": () => Promise<void>;
2349
2359
  /**
2350
2360
  * Whether this menu item is currently 'selected'
2351
2361
  * @default false
@@ -4230,7 +4240,9 @@ declare global {
4230
4240
  "nanoImgError": void;
4231
4241
  }
4232
4242
  /**
4233
- * Img with benefits. Lazy loading. Simple `srcSet` solution for both `<img>` and `background-image` varieties.
4243
+ * Utilities for displaying images; standard or background.
4244
+ * @status deprecated
4245
+ * @version 1.0.0
4234
4246
  */
4235
4247
  interface HTMLNanoImgElement extends Components.NanoImg, HTMLStencilElement {
4236
4248
  addEventListener<K extends keyof HTMLNanoImgElementEventMap>(type: K, listener: (this: HTMLNanoImgElement, ev: NanoImgCustomEvent<HTMLNanoImgElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -6740,7 +6752,9 @@ declare namespace LocalJSX {
6740
6752
  "size"?: 'regular' | 'large';
6741
6753
  }
6742
6754
  /**
6743
- * Img with benefits. Lazy loading. Simple `srcSet` solution for both `<img>` and `background-image` varieties.
6755
+ * Utilities for displaying images; standard or background.
6756
+ * @status deprecated
6757
+ * @version 1.0.0
6744
6758
  */
6745
6759
  interface NanoImg {
6746
6760
  /**
@@ -8567,7 +8581,9 @@ declare module "@stencil/core" {
8567
8581
  */
8568
8582
  "nano-icon-item": LocalJSX.NanoIconItem & JSXBase.HTMLAttributes<HTMLNanoIconItemElement>;
8569
8583
  /**
8570
- * Img with benefits. Lazy loading. Simple `srcSet` solution for both `<img>` and `background-image` varieties.
8584
+ * Utilities for displaying images; standard or background.
8585
+ * @status deprecated
8586
+ * @version 1.0.0
8571
8587
  */
8572
8588
  "nano-img": LocalJSX.NanoImg & JSXBase.HTMLAttributes<HTMLNanoImgElement>;
8573
8589
  /**
package/docs-json.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-07-11T08:36:54",
2
+ "timestamp": "2025-07-15T14:53:06",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.35.3-dev.1752222710.56fe6e3",
5
+ "version": "4.35.3-dev.1752259270.e005970",
6
6
  "typescriptVersion": "5.5.4"
7
7
  },
8
8
  "components": [
@@ -15361,8 +15361,16 @@
15361
15361
  "encapsulation": "shadow",
15362
15362
  "tag": "nano-img",
15363
15363
  "readme": "# nano-img\n\n\n",
15364
- "docs": "Img with benefits. Lazy loading. Simple `srcSet` solution for both `<img>` and `background-image` varieties.",
15364
+ "docs": "Utilities for displaying images; standard or background.",
15365
15365
  "docsTags": [
15366
+ {
15367
+ "name": "status",
15368
+ "text": "deprecated"
15369
+ },
15370
+ {
15371
+ "name": "version",
15372
+ "text": "1.0.0"
15373
+ },
15366
15374
  {
15367
15375
  "name": "slot",
15368
15376
  "text": "- Main slot. Only relevant with `<nano-img background>`"
@@ -15576,7 +15584,7 @@
15576
15584
  {
15577
15585
  "name": "--padding",
15578
15586
  "annotation": "prop",
15579
- "docs": "padding around any content. Only relevent on `<nano-img background>`"
15587
+ "docs": "padding around any content. Only relevant when using `background` attribute. Defaults to `0`."
15580
15588
  }
15581
15589
  ],
15582
15590
  "slots": [
@@ -19235,6 +19243,50 @@
19235
19243
  }
19236
19244
  ],
19237
19245
  "methods": [
19246
+ {
19247
+ "name": "closeMenu",
19248
+ "returns": {
19249
+ "type": "Promise<void>",
19250
+ "docs": ""
19251
+ },
19252
+ "complexType": {
19253
+ "signature": "() => Promise<void>",
19254
+ "parameters": [],
19255
+ "references": {
19256
+ "Promise": {
19257
+ "location": "global",
19258
+ "id": "global::Promise"
19259
+ }
19260
+ },
19261
+ "return": "Promise<void>"
19262
+ },
19263
+ "signature": "closeMenu() => Promise<void>",
19264
+ "parameters": [],
19265
+ "docs": "Closes the secondary nav panel if it is open",
19266
+ "docsTags": []
19267
+ },
19268
+ {
19269
+ "name": "openMenu",
19270
+ "returns": {
19271
+ "type": "Promise<void>",
19272
+ "docs": ""
19273
+ },
19274
+ "complexType": {
19275
+ "signature": "() => Promise<void>",
19276
+ "parameters": [],
19277
+ "references": {
19278
+ "Promise": {
19279
+ "location": "global",
19280
+ "id": "global::Promise"
19281
+ }
19282
+ },
19283
+ "return": "Promise<void>"
19284
+ },
19285
+ "signature": "openMenu() => Promise<void>",
19286
+ "parameters": [],
19287
+ "docs": "Opens the secondary nav panel if it is not open",
19288
+ "docsTags": []
19289
+ },
19238
19290
  {
19239
19291
  "name": "setFocus",
19240
19292
  "returns": {
@@ -25669,34 +25721,34 @@
25669
25721
  "listeners": [],
25670
25722
  "styles": [
25671
25723
  {
25672
- "name": "--border-active-color. The color of the border when active. Defaults to `var(--nano-color-primary-1000)`.",
25724
+ "name": "--border",
25673
25725
  "annotation": "prop",
25674
- "docs": ""
25726
+ "docs": "The border of the tab. Defaults to `2px solid var(--nano-color-neutral-300)`."
25675
25727
  },
25676
25728
  {
25677
- "name": "--border-hover-color. The color of the border on hover. Defaults to `var(--nano-color-primary-700)`.",
25729
+ "name": "--border-active-color",
25678
25730
  "annotation": "prop",
25679
- "docs": ""
25731
+ "docs": "The color of the border when active. Defaults to `var(--nano-color-primary-1000)`."
25680
25732
  },
25681
25733
  {
25682
- "name": "--border. The border of the tab. Defaults to `2px solid var(--nano-color-neutral-300)`.",
25734
+ "name": "--border-hover-color",
25683
25735
  "annotation": "prop",
25684
- "docs": ""
25736
+ "docs": "The color of the border on hover. Defaults to `var(--nano-color-primary-700)`."
25685
25737
  },
25686
25738
  {
25687
- "name": "--padding. The padding of the tab. Defaults to `var(--nano-spacing-md)`.",
25739
+ "name": "--padding",
25688
25740
  "annotation": "prop",
25689
- "docs": ""
25741
+ "docs": "The padding of the tab. Defaults to `var(--nano-spacing-md)`."
25690
25742
  },
25691
25743
  {
25692
- "name": "--text-active-color. The color of the text when active. Defaults to `var(--nano-color-primary-1000)`.",
25744
+ "name": "--text-active-color",
25693
25745
  "annotation": "prop",
25694
- "docs": ""
25746
+ "docs": "The color of the text when active. Defaults to `var(--nano-color-primary-1000)`."
25695
25747
  },
25696
25748
  {
25697
- "name": "--text-hover-color. The color of the text on hover. Defaults to `var(--nano-color-primary-1000)`.",
25749
+ "name": "--text-hover-color",
25698
25750
  "annotation": "prop",
25699
- "docs": ""
25751
+ "docs": "The color of the text on hover. Defaults to `var(--nano-color-primary-1000)`."
25700
25752
  }
25701
25753
  ],
25702
25754
  "slots": [
@@ -26218,44 +26270,44 @@
26218
26270
  ],
26219
26271
  "styles": [
26220
26272
  {
26221
- "name": "--border. The border of the tab group. Defaults to `2px solid var(--nano-color-neutral-300)`.",
26273
+ "name": "--border",
26222
26274
  "annotation": "prop",
26223
- "docs": ""
26275
+ "docs": "The border of the tab group. Defaults to `2px solid var(--nano-color-neutral-300)`."
26224
26276
  },
26225
26277
  {
26226
- "name": "--content-spacing. The spacing around the content area. Defaults to `var(--nano-spacing-l1-default)`.",
26278
+ "name": "--content-spacing",
26227
26279
  "annotation": "prop",
26228
- "docs": ""
26280
+ "docs": "The spacing around the content area. Defaults to `var(--nano-spacing-l1-default)`."
26229
26281
  },
26230
26282
  {
26231
- "name": "--fade-transparency. The transparency of the fade effect. Defaults to `0`.",
26283
+ "name": "--fade-transparency",
26232
26284
  "annotation": "prop",
26233
- "docs": ""
26285
+ "docs": "The transparency of the fade effect. Defaults to `0`."
26234
26286
  },
26235
26287
  {
26236
- "name": "--indicator-color. The color of the indicator. Defaults to `var(--nano-color-primary-1000)`.",
26288
+ "name": "--indicator-color",
26237
26289
  "annotation": "prop",
26238
- "docs": ""
26290
+ "docs": "The color of the indicator. Defaults to `var(--nano-color-primary-1000)`."
26239
26291
  },
26240
26292
  {
26241
- "name": "--indicator-size. The size of the indicator. Defaults to `0`.",
26293
+ "name": "--indicator-size",
26242
26294
  "annotation": "prop",
26243
- "docs": ""
26295
+ "docs": "The size of the indicator. Defaults to `0`."
26244
26296
  },
26245
26297
  {
26246
- "name": "--indicator-track-color. The color of the indicator track. Defaults to `var(--nano-color-neutral-300)`.",
26298
+ "name": "--indicator-track-color",
26247
26299
  "annotation": "prop",
26248
- "docs": ""
26300
+ "docs": "The color of the indicator track. Defaults to `var(--nano-color-neutral-300)`."
26249
26301
  },
26250
26302
  {
26251
- "name": "--indicator-transition. The time it takes for the indicator to transition. Defaults to `var(--nano-transition-fast)`.",
26303
+ "name": "--indicator-transition",
26252
26304
  "annotation": "prop",
26253
- "docs": ""
26305
+ "docs": "The time it takes for the indicator to transition. Defaults to `var(--nano-transition-fast)`."
26254
26306
  },
26255
26307
  {
26256
- "name": "--tab-spacing. The spacing between tabs. Defaults to `var(--nano-spacing-md)`.",
26308
+ "name": "--tab-spacing",
26257
26309
  "annotation": "prop",
26258
- "docs": ""
26310
+ "docs": "The spacing between tabs. Defaults to `var(--nano-spacing-md)`."
26259
26311
  }
26260
26312
  ],
26261
26313
  "slots": [
package/docs-vscode.json CHANGED
@@ -2351,7 +2351,7 @@
2351
2351
  "name": "nano-img",
2352
2352
  "description": {
2353
2353
  "kind": "markdown",
2354
- "value": "Img with benefits. Lazy loading. Simple `srcSet` solution for both `<img>` and `background-image` varieties."
2354
+ "value": "Utilities for displaying images; standard or background."
2355
2355
  },
2356
2356
  "attributes": [
2357
2357
  {