@nanoporetech-digital/components 8.0.0-alpha.0 → 8.0.0-alpha.1

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 (267) hide show
  1. package/dist/cjs/{algolia-data-JweofGji.js → algolia-data-CFc_52My.js} +1 -1
  2. package/dist/cjs/{component-store-DKMzj8Ei.js → component-store-DdyLi-VY.js} +1 -1
  3. package/dist/cjs/{dom-a3wgHxbn.js → dom-CvQQBdol.js} +1 -1
  4. package/dist/cjs/{fade-run1oYFS.js → fade-Bq3U8uF7.js} +3 -3
  5. package/dist/cjs/{form-control-zW-pmQ5Y.js → form-control-gUYfW0n-.js} +1 -1
  6. package/dist/cjs/{fullscreen-DGiusO_n.js → fullscreen-Czdw-D-5.js} +3 -3
  7. package/dist/cjs/{index-DYD4xvxr.js → index-B76C6Tm9.js} +162 -191
  8. package/dist/cjs/{index-BV7Y7Zvi.js → index-ChTXweZN.js} +1 -1
  9. package/dist/cjs/index.cjs.js +3 -3
  10. package/dist/cjs/{lazyload-CavfHrQV.js → lazyload-BpoUFECt.js} +3 -3
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/{modal-lJ_KdrUQ.js → modal-DddxtK2h.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 +4 -4
  20. package/dist/cjs/nano-avatar_5.cjs.entry.js +9 -9
  21. package/dist/cjs/nano-breadcrumb.cjs.entry.js +2 -2
  22. package/dist/cjs/nano-card-carousel.cjs.entry.js +3 -3
  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-DlJaR4KG.js → nano-data-table-BNwDI1rg.js} +5 -5
  31. package/dist/cjs/nano-data-table.cjs.entry.js +6 -6
  32. package/dist/cjs/nano-datalist_3.cjs.entry.js +11 -10
  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 +9 -6
  36. package/dist/cjs/nano-dialog.cjs.entry.js +8 -8
  37. package/dist/cjs/nano-dropdown_2.cjs.entry.js +7 -7
  38. package/dist/cjs/nano-field-validator.cjs.entry.js +3 -3
  39. package/dist/cjs/nano-file-upload.cjs.entry.js +2 -2
  40. package/dist/cjs/nano-footer.cjs.entry.js +1 -1
  41. package/dist/cjs/nano-global-nav.cjs.entry.js +3 -3
  42. package/dist/cjs/nano-grid-item.cjs.entry.js +1 -1
  43. package/dist/cjs/nano-grid_2.cjs.entry.js +3 -3
  44. package/dist/cjs/nano-hero.cjs.entry.js +2 -2
  45. package/dist/cjs/nano-icon-item.cjs.entry.js +1 -1
  46. package/dist/cjs/nano-icon_3.cjs.entry.js +2 -2
  47. package/dist/cjs/nano-in-page-nav.cjs.entry.js +4 -4
  48. package/dist/cjs/nano-intersection-observe.cjs.entry.js +9 -12
  49. package/dist/cjs/nano-masked-overflow.cjs.entry.js +4 -4
  50. package/dist/cjs/nano-menu-drawer.cjs.entry.js +3 -3
  51. package/dist/cjs/nano-more-less.cjs.entry.js +2 -2
  52. package/dist/cjs/nano-nav-item.cjs.entry.js +5 -5
  53. package/dist/cjs/nano-progress-bar.cjs.entry.js +2 -2
  54. package/dist/cjs/nano-range.cjs.entry.js +2 -2
  55. package/dist/cjs/nano-rating.cjs.entry.js +2 -2
  56. package/dist/cjs/nano-resize-observe_2.cjs.entry.js +2 -2
  57. package/dist/cjs/nano-slide.cjs.entry.js +2 -2
  58. package/dist/cjs/{nano-slides-D5q9vQ4P.js → nano-slides-Cj4figHV.js} +6 -6
  59. package/dist/cjs/nano-slides.cjs.entry.js +3 -3
  60. package/dist/cjs/nano-sortable.cjs.entry.js +2 -2
  61. package/dist/cjs/nano-spinner.cjs.entry.js +2 -2
  62. package/dist/cjs/nano-split-pane.cjs.entry.js +2 -2
  63. package/dist/cjs/nano-sticker.cjs.entry.js +6 -9
  64. package/dist/cjs/nano-tab-content.cjs.entry.js +2 -2
  65. package/dist/cjs/nano-tab-group.cjs.entry.js +5 -5
  66. package/dist/cjs/nano-tab.cjs.entry.js +2 -2
  67. package/dist/cjs/nano-table.cjs.entry.js +2 -2
  68. package/dist/cjs/{page-dots-D-QQnR4W.js → page-dots-E6b7S4vs.js} +3 -3
  69. package/dist/cjs/{renderer-SkVn69pT.js → renderer-Z8wHFL4e.js} +1 -1
  70. package/dist/cjs/{scroll-DXjC771e.js → scroll-DspYj7mY.js} +1 -1
  71. package/dist/cjs/{slot-CBvkJee9.js → slot-B4QUWT-c.js} +1 -1
  72. package/dist/cjs/{tabbable-M9OUrhLE.js → tabbable-YPytg5sg.js} +1 -1
  73. package/dist/cjs/{table.worker-FkRsUwRY.js → table.worker-bFxUCos7.js} +6 -6
  74. package/dist/collection/collection-manifest.json +1 -1
  75. package/dist/collection/components/animation/animation.js +3 -3
  76. package/dist/collection/components/breadcrumb/breadcrumb.css +6 -5
  77. package/dist/collection/components/card-carousel/card-carousel.css +4 -4
  78. package/dist/collection/components/datalist/datalist.js +9 -8
  79. package/dist/collection/components/details/details.js +6 -3
  80. package/dist/collection/components/dropdown/dropdown.js +1 -1
  81. package/dist/collection/components/field-validator/field-validator.js +1 -1
  82. package/dist/collection/components/global-nav/global-nav.css +4 -4
  83. package/dist/collection/components/grid/grid.css +3 -0
  84. package/dist/collection/components/in-page-nav/in-page-nav.css +5 -5
  85. package/dist/collection/components/intersection-observe/intersection-observe.js +6 -9
  86. package/dist/collection/components/menu/menu.js +3 -5
  87. package/dist/collection/components/sortable/sortable.js +5 -5
  88. package/dist/collection/components/sticker/sticker.js +2 -5
  89. package/dist/collection/components/tabs/tab-group.css +3 -3
  90. package/dist/collection/global/script/global.js +1 -30
  91. package/dist/components/datalist.js +9 -8
  92. package/dist/components/details.js +6 -3
  93. package/dist/components/grid.js +1 -1
  94. package/dist/components/index.js +1 -30
  95. package/dist/components/menu.js +3 -5
  96. package/dist/components/nano-animation.js +3 -3
  97. package/dist/components/nano-breadcrumb.js +1 -1
  98. package/dist/components/nano-card-carousel.js +1 -1
  99. package/dist/components/nano-global-nav.js +1 -1
  100. package/dist/components/nano-in-page-nav.js +1 -1
  101. package/dist/components/nano-intersection-observe.js +6 -9
  102. package/dist/components/nano-tab-group.js +1 -1
  103. package/dist/components/sticker.js +2 -5
  104. package/dist/esm/{algolia-data-BNDipgId.js → algolia-data-CCqzaIh4.js} +1 -1
  105. package/dist/esm/{component-store-DqCSKpAK.js → component-store-C-YnXSQE.js} +1 -1
  106. package/dist/esm/{dom-CF0Ycs9M.js → dom-GYcqUAl_.js} +1 -1
  107. package/dist/esm/{fade-CdIyPeai.js → fade-C3aqZinc.js} +3 -3
  108. package/dist/esm/{form-control-DXPQniNX.js → form-control-BjKTwcqA.js} +1 -1
  109. package/dist/esm/{fullscreen-C4GllGer.js → fullscreen-T7b44-vN.js} +3 -3
  110. package/dist/esm/{index-CFYZ-ZOT.js → index-DOuz1S3w.js} +148 -177
  111. package/dist/esm/{index-DxKBolVo.js → index-DkZY6pJu.js} +1 -1
  112. package/dist/esm/index.js +4 -4
  113. package/dist/esm/{lazyload-pTbJ7q2S.js → lazyload-BdH0bSmg.js} +3 -3
  114. package/dist/esm/loader.js +3 -3
  115. package/dist/esm/{modal-B50PWCuY.js → modal-s7sHBYzQ.js} +1 -1
  116. package/dist/esm/nano-accordion.entry.js +3 -3
  117. package/dist/esm/nano-alert.entry.js +7 -7
  118. package/dist/esm/nano-algolia-filter.entry.js +4 -4
  119. package/dist/esm/nano-algolia-pagination.entry.js +2 -2
  120. package/dist/esm/nano-algolia-results.entry.js +3 -3
  121. package/dist/esm/nano-algolia.entry.js +5 -5
  122. package/dist/esm/nano-animation.entry.js +4 -4
  123. package/dist/esm/nano-avatar_5.entry.js +9 -9
  124. package/dist/esm/nano-breadcrumb.entry.js +2 -2
  125. package/dist/esm/nano-card-carousel.entry.js +3 -3
  126. package/dist/esm/nano-card.entry.js +1 -1
  127. package/dist/esm/nano-checkbox-group.entry.js +2 -2
  128. package/dist/esm/nano-checkbox.entry.js +2 -2
  129. package/dist/esm/nano-collapsible-comparison.entry.js +2 -2
  130. package/dist/esm/nano-components.js +4 -4
  131. package/dist/esm/nano-content-links.entry.js +1 -1
  132. package/dist/esm/nano-cta.entry.js +1 -1
  133. package/dist/esm/{nano-data-table-DsTG4mqR.js → nano-data-table-Bm9J8Phu.js} +5 -5
  134. package/dist/esm/nano-data-table.entry.js +6 -6
  135. package/dist/esm/nano-datalist_3.entry.js +11 -10
  136. package/dist/esm/nano-date-input.entry.js +2 -2
  137. package/dist/esm/nano-date-picker_2.entry.js +4 -4
  138. package/dist/esm/nano-details.entry.js +9 -6
  139. package/dist/esm/nano-dialog.entry.js +8 -8
  140. package/dist/esm/nano-dropdown_2.entry.js +7 -7
  141. package/dist/esm/nano-field-validator.entry.js +3 -3
  142. package/dist/esm/nano-file-upload.entry.js +2 -2
  143. package/dist/esm/nano-footer.entry.js +1 -1
  144. package/dist/esm/nano-global-nav.entry.js +3 -3
  145. package/dist/esm/nano-grid-item.entry.js +1 -1
  146. package/dist/esm/nano-grid_2.entry.js +3 -3
  147. package/dist/esm/nano-hero.entry.js +2 -2
  148. package/dist/esm/nano-icon-item.entry.js +1 -1
  149. package/dist/esm/nano-icon_3.entry.js +2 -2
  150. package/dist/esm/nano-in-page-nav.entry.js +4 -4
  151. package/dist/esm/nano-intersection-observe.entry.js +9 -12
  152. package/dist/esm/nano-masked-overflow.entry.js +4 -4
  153. package/dist/esm/nano-menu-drawer.entry.js +3 -3
  154. package/dist/esm/nano-more-less.entry.js +2 -2
  155. package/dist/esm/nano-nav-item.entry.js +5 -5
  156. package/dist/esm/nano-progress-bar.entry.js +2 -2
  157. package/dist/esm/nano-range.entry.js +2 -2
  158. package/dist/esm/nano-rating.entry.js +2 -2
  159. package/dist/esm/nano-resize-observe_2.entry.js +2 -2
  160. package/dist/esm/nano-slide.entry.js +2 -2
  161. package/dist/esm/{nano-slides-BcyK9Szs.js → nano-slides-BEE7xEu_.js} +6 -6
  162. package/dist/esm/nano-slides.entry.js +3 -3
  163. package/dist/esm/nano-sortable.entry.js +2 -2
  164. package/dist/esm/nano-spinner.entry.js +2 -2
  165. package/dist/esm/nano-split-pane.entry.js +2 -2
  166. package/dist/esm/nano-sticker.entry.js +6 -9
  167. package/dist/esm/nano-tab-content.entry.js +2 -2
  168. package/dist/esm/nano-tab-group.entry.js +5 -5
  169. package/dist/esm/nano-tab.entry.js +2 -2
  170. package/dist/esm/nano-table.entry.js +2 -2
  171. package/dist/esm/{page-dots-Cq8hjoql.js → page-dots-D2WI1eZ0.js} +3 -3
  172. package/dist/esm/{renderer-LJzCFyMt.js → renderer-CnE0Hztu.js} +1 -1
  173. package/dist/esm/{scroll-BRRzrkAi.js → scroll-DHa1CIPP.js} +1 -1
  174. package/dist/esm/{slot-DBzVpliZ.js → slot-lixS0pd2.js} +1 -1
  175. package/dist/esm/{tabbable-BpHwrUYt.js → tabbable-QmV19K7Q.js} +1 -1
  176. package/dist/esm/{table.worker-BoX4CUXT.js → table.worker-zeRR3oed.js} +6 -6
  177. package/dist/nano-components/{algolia-data-BNDipgId.js → algolia-data-CCqzaIh4.js} +1 -1
  178. package/dist/nano-components/{component-store-DqCSKpAK.js → component-store-C-YnXSQE.js} +1 -1
  179. package/dist/nano-components/{dom-CF0Ycs9M.js → dom-GYcqUAl_.js} +1 -1
  180. package/dist/nano-components/{fade-CdIyPeai.js → fade-C3aqZinc.js} +1 -1
  181. package/dist/nano-components/{form-control-DXPQniNX.js → form-control-BjKTwcqA.js} +1 -1
  182. package/dist/nano-components/{fullscreen-C4GllGer.js → fullscreen-T7b44-vN.js} +1 -1
  183. package/dist/nano-components/index-DOuz1S3w.js +5 -0
  184. package/dist/nano-components/{index-DxKBolVo.js → index-DkZY6pJu.js} +1 -1
  185. package/dist/nano-components/index.esm.js +1 -1
  186. package/dist/nano-components/{lazyload-pTbJ7q2S.js → lazyload-BdH0bSmg.js} +1 -1
  187. package/dist/nano-components/{modal-B50PWCuY.js → modal-s7sHBYzQ.js} +1 -1
  188. package/dist/nano-components/nano-accordion.entry.js +1 -1
  189. package/dist/nano-components/nano-alert.entry.js +1 -1
  190. package/dist/nano-components/nano-algolia-filter.entry.js +1 -1
  191. package/dist/nano-components/nano-algolia-pagination.entry.js +1 -1
  192. package/dist/nano-components/nano-algolia-results.entry.js +1 -1
  193. package/dist/nano-components/nano-algolia.entry.js +1 -1
  194. package/dist/nano-components/nano-animation.entry.js +1 -1
  195. package/dist/nano-components/nano-avatar_5.entry.js +1 -1
  196. package/dist/nano-components/nano-breadcrumb.entry.js +1 -1
  197. package/dist/nano-components/nano-card-carousel.entry.js +1 -1
  198. package/dist/nano-components/nano-card.entry.js +1 -1
  199. package/dist/nano-components/nano-checkbox-group.entry.js +1 -1
  200. package/dist/nano-components/nano-checkbox.entry.js +1 -1
  201. package/dist/nano-components/nano-collapsible-comparison.entry.js +1 -1
  202. package/dist/nano-components/nano-components.css +64 -39
  203. package/dist/nano-components/nano-components.esm.js +1 -1
  204. package/dist/nano-components/nano-content-links.entry.js +1 -1
  205. package/dist/nano-components/nano-cta.entry.js +1 -1
  206. package/dist/nano-components/{nano-data-table-DsTG4mqR.js → nano-data-table-Bm9J8Phu.js} +1 -1
  207. package/dist/nano-components/nano-data-table.entry.js +1 -1
  208. package/dist/nano-components/nano-datalist_3.entry.js +1 -1
  209. package/dist/nano-components/nano-date-input.entry.js +1 -1
  210. package/dist/nano-components/nano-date-picker_2.entry.js +1 -1
  211. package/dist/nano-components/nano-details.entry.js +1 -1
  212. package/dist/nano-components/nano-dialog.entry.js +1 -1
  213. package/dist/nano-components/nano-dropdown_2.entry.js +1 -1
  214. package/dist/nano-components/nano-field-validator.entry.js +1 -1
  215. package/dist/nano-components/nano-file-upload.entry.js +1 -1
  216. package/dist/nano-components/nano-footer.entry.js +1 -1
  217. package/dist/nano-components/nano-global-nav.entry.js +1 -1
  218. package/dist/nano-components/nano-grid-item.entry.js +1 -1
  219. package/dist/nano-components/nano-grid_2.entry.js +1 -1
  220. package/dist/nano-components/nano-hero.entry.js +1 -1
  221. package/dist/nano-components/nano-icon-item.entry.js +1 -1
  222. package/dist/nano-components/nano-icon_3.entry.js +1 -1
  223. package/dist/nano-components/nano-in-page-nav.entry.js +1 -1
  224. package/dist/nano-components/nano-intersection-observe.entry.js +1 -1
  225. package/dist/nano-components/nano-masked-overflow.entry.js +1 -1
  226. package/dist/nano-components/nano-menu-drawer.entry.js +1 -1
  227. package/dist/nano-components/nano-more-less.entry.js +1 -1
  228. package/dist/nano-components/nano-nav-item.entry.js +1 -1
  229. package/dist/nano-components/nano-progress-bar.entry.js +1 -1
  230. package/dist/nano-components/nano-range.entry.js +1 -1
  231. package/dist/nano-components/nano-rating.entry.js +1 -1
  232. package/dist/nano-components/nano-resize-observe_2.entry.js +1 -1
  233. package/dist/nano-components/nano-slide.entry.js +1 -1
  234. package/dist/nano-components/{nano-slides-BcyK9Szs.js → nano-slides-BEE7xEu_.js} +3 -3
  235. package/dist/nano-components/nano-slides.entry.js +1 -1
  236. package/dist/nano-components/nano-sortable.entry.js +1 -1
  237. package/dist/nano-components/nano-spinner.entry.js +1 -1
  238. package/dist/nano-components/nano-split-pane.entry.js +1 -1
  239. package/dist/nano-components/nano-sticker.entry.js +1 -1
  240. package/dist/nano-components/nano-tab-content.entry.js +1 -1
  241. package/dist/nano-components/nano-tab-group.entry.js +1 -1
  242. package/dist/nano-components/nano-tab.entry.js +1 -1
  243. package/dist/nano-components/nano-table.entry.js +1 -1
  244. package/dist/nano-components/{page-dots-Cq8hjoql.js → page-dots-D2WI1eZ0.js} +1 -1
  245. package/dist/nano-components/{renderer-LJzCFyMt.js → renderer-CnE0Hztu.js} +1 -1
  246. package/dist/nano-components/{scroll-BRRzrkAi.js → scroll-DHa1CIPP.js} +1 -1
  247. package/dist/nano-components/{slot-DBzVpliZ.js → slot-lixS0pd2.js} +1 -1
  248. package/dist/nano-components/{tabbable-BpHwrUYt.js → tabbable-QmV19K7Q.js} +1 -1
  249. package/dist/nano-components/table.worker-zeRR3oed.js +4 -0
  250. package/dist/stencil.config.js +1 -2
  251. package/dist/style/components.css +1 -1
  252. package/dist/style/components.css.map +1 -1
  253. package/dist/style/core.css +1 -1
  254. package/dist/style/core.css.map +1 -1
  255. package/dist/style/dark.css +1 -1
  256. package/dist/style/dark.css.map +1 -1
  257. package/dist/style/nano.css +1 -1
  258. package/dist/style/nano.css.map +1 -1
  259. package/docs-json.json +20 -15
  260. package/hydrate/index.js +237 -1315
  261. package/hydrate/index.mjs +237 -1315
  262. package/package.json +3 -3
  263. package/dist/nano-components/index-CFYZ-ZOT.js +0 -5
  264. package/dist/nano-components/table.worker-BoX4CUXT.js +0 -4
  265. package/dist/plugins/postcss/scoped-part.js +0 -26
  266. package/dist/types/Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/postcss/scoped-part.d.ts +0 -8
  267. package/dist/types/utils/testing/index.d.ts +0 -50
@@ -3,9 +3,9 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DYD4xvxr.js');
6
+ var index = require('./index-B76C6Tm9.js');
7
7
  var throttle = require('./throttle-CrRDOkln.js');
8
- var renderer = require('./renderer-SkVn69pT.js');
8
+ var renderer = require('./renderer-Z8wHFL4e.js');
9
9
 
10
10
  const tableCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}";
11
11
 
@@ -3,9 +3,9 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var nanoSlides_entry = require('./nano-slides-D5q9vQ4P.js');
7
- require('./index-DYD4xvxr.js');
8
- require('./renderer-SkVn69pT.js');
6
+ var nanoSlides_entry = require('./nano-slides-Cj4figHV.js');
7
+ require('./index-B76C6Tm9.js');
8
+ require('./renderer-Z8wHFL4e.js');
9
9
 
10
10
  // -------------------------- PageDots -------------------------- //
11
11
  function PageDots(parent) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DYD4xvxr.js');
6
+ var index = require('./index-B76C6Tm9.js');
7
7
 
8
8
  /* eslint-disable @typescript-eslint/no-namespace */
9
9
  // css only components cannot be transformed because their static css relies on the tag name
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var dom = require('./dom-a3wgHxbn.js');
6
+ var dom = require('./dom-CvQQBdol.js');
7
7
 
8
8
  /**
9
9
  * @returns the width of the document's scrollbar
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-DYD4xvxr.js');
6
+ var index = require('./index-B76C6Tm9.js');
7
7
 
8
8
  /**
9
9
  * Given an element (which can either be within a shadowRoot or not) find it's innerText
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- require('./index-DYD4xvxr.js');
6
+ require('./index-B76C6Tm9.js');
7
7
 
8
8
  // Determines if the specified element is tabbable using heuristics inspired by https://github.com/focus-trap/tabbable
9
9
  function isTabbable(el, skipVisible = false) {
@@ -3,14 +3,14 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var nanoDataTable_entry = require('./nano-data-table-DlJaR4KG.js');
7
- require('./index-DYD4xvxr.js');
8
- require('./renderer-SkVn69pT.js');
6
+ var nanoDataTable_entry = require('./nano-data-table-BNwDI1rg.js');
7
+ require('./index-B76C6Tm9.js');
8
+ require('./renderer-Z8wHFL4e.js');
9
9
  require('./math-DIjJ3V87.js');
10
10
  require('./throttle-CrRDOkln.js');
11
- require('./scroll-DXjC771e.js');
12
- require('./dom-a3wgHxbn.js');
13
- require('./index-BV7Y7Zvi.js');
11
+ require('./scroll-DspYj7mY.js');
12
+ require('./dom-CvQQBdol.js');
13
+ require('./index-ChTXweZN.js');
14
14
 
15
15
  const workerName = 'table.worker';
16
16
  const workerMsgId = 'stencil.table.worker';
@@ -67,7 +67,7 @@
67
67
  ],
68
68
  "compiler": {
69
69
  "name": "@stencil/core",
70
- "version": "4.35.1",
70
+ "version": "4.35.1-dev.1750418634.dcb189d",
71
71
  "typescriptVersion": "5.5.4"
72
72
  },
73
73
  "collections": [],
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Custom elements for Nanopore-Digital Web applications
3
3
  */
4
- import { Host, } from "@stencil/core";
4
+ import { Host, Build, } from "@stencil/core";
5
5
  import { h } from "../../utils/renderer";
6
6
  import { animations, easings } from "./animations";
7
7
  /**
@@ -87,7 +87,7 @@ export class NanoAnimation {
87
87
  this.createAnimation();
88
88
  };
89
89
  async createAnimation() {
90
- if (!this.defaultSlot)
90
+ if (!this.defaultSlot || Build.isServer)
91
91
  return;
92
92
  const easing = easings[this.easing] ?? this.easing;
93
93
  const keyframes = this.keyframes ??
@@ -161,7 +161,7 @@ export class NanoAnimation {
161
161
  this.animation?.finish();
162
162
  }
163
163
  render() {
164
- return (h(Host, { key: '69ede16e4ecb0155cdfc63a56e04ca38c5e56412', class: "nano-animation" }, h("slot", { key: '73a9ec636c4fe8b72570906bce645529b4343606', ref: (slot) => {
164
+ return (h(Host, { key: 'c5bd8b75985fd99981340c3cd20c74f99ac8dd3c', class: "nano-animation" }, h("slot", { key: '989677365d344809aa575626b3253ab888822171', ref: (slot) => {
165
165
  this.defaultSlot = slot;
166
166
  }, onSlotchange: this.handleSlotChange })));
167
167
  }
@@ -58,7 +58,8 @@
58
58
  inline-size: 100%;
59
59
  max-inline-size: 1346px;
60
60
  }
61
- :host nano-menu::part(base), :host nano-menu [part~="base"] {
61
+ :host ol,
62
+ :host nano-menu::part(base) {
62
63
  list-style: none;
63
64
  padding: 0;
64
65
  margin: 0;
@@ -104,10 +105,10 @@
104
105
  inline-size: 100%;
105
106
  display: none;
106
107
  }
107
- :host nano-dropdown[open]::part(trigger), :host nano-dropdown[open] [part~="trigger"] {
108
+ :host nano-dropdown[open]::part(trigger) {
108
109
  box-shadow: var(--nano-shadow-l1);
109
110
  }
110
- :host nano-dropdown[open]::part(panel), :host nano-dropdown[open] [part~="panel"] {
111
+ :host nano-dropdown[open]::part(panel) {
111
112
  box-shadow: var(--nano-shadow-l1);
112
113
  }
113
114
  :host .trigger-button {
@@ -149,7 +150,7 @@
149
150
  :host nano-dropdown {
150
151
  display: block;
151
152
  }
152
- :host nano-menu::part(base), :host nano-menu [part~="base"] {
153
+ :host nano-menu::part(base) {
153
154
  flex-direction: column;
154
155
  }
155
156
  :host nano-nav-item::after {
@@ -161,7 +162,7 @@
161
162
  :host .return-only {
162
163
  padding: var(--nano-spacing-l3) var(--nano-spacing-l2);
163
164
  }
164
- :host nano-nav-item::part(trigger), :host nano-nav-item [part~="trigger"] {
165
+ :host nano-nav-item::part(trigger) {
165
166
  text-decoration: none;
166
167
  color: var(--text-color-secondary);
167
168
  }
@@ -66,17 +66,17 @@
66
66
  inline-size: calc(50% + var(--gap) / 2 - var(--peek));
67
67
  padding-inline-end: var(--gap);
68
68
  }
69
- .base nano-slides[ready]::part(slide-container), .base nano-slides[ready] [part~="slide-container"] {
69
+ .base nano-slides[ready]::part(slide-container) {
70
70
  flex-flow: column wrap;
71
71
  justify-content: flex-start;
72
72
  }
73
- .base nano-slides::part(slide-viewport), .base nano-slides [part~="slide-viewport"] {
73
+ .base nano-slides::part(slide-viewport) {
74
74
  flex: auto;
75
75
  }
76
- .base nano-slides::part(navigation-button--previous), .base nano-slides [part~="navigation-button--previous"] {
76
+ .base nano-slides::part(navigation-button--previous) {
77
77
  display: none;
78
78
  }
79
- .base nano-slides::part(navigation-button--next), .base nano-slides [part~="navigation-button--next"] {
79
+ .base nano-slides::part(navigation-button--next) {
80
80
  transform: none;
81
81
  block-size: 100%;
82
82
  inline-size: var(--bleed);
@@ -520,22 +520,23 @@ export class DataList {
520
520
  this.mo.disconnect();
521
521
  this.mo = undefined;
522
522
  }
523
- if (this.connectedInput)
524
- this.removeEventListeners(this.connectedInput);
523
+ if (this.connectedInput) {
524
+ this.connectedInput = undefined;
525
+ }
525
526
  }
526
527
  render() {
527
- return (h(Host, { key: '0e0725581517a0a58fbaf04bfd5dba2d4362f71d', class: "nano-datalist", role: this.actvOptEles.length ? 'listbox' : undefined, "aria-owns": this.optionIds.length ? this.optionIds.join(' ') : undefined, "aria-label": this.optionIds.length
528
+ return (h(Host, { key: 'c869f626deae72020846edf761d0d8f1b59c34e7', class: "nano-datalist", role: this.actvOptEles.length ? 'listbox' : undefined, "aria-owns": this.optionIds.length ? this.optionIds.join(' ') : undefined, "aria-label": this.optionIds.length
528
529
  ? 'Select options from the list below'
529
- : undefined }, h("nano-dropdown", { key: '5b0a39513e9c0717bf3240c250f703c6997b8a23', part: "dropdown", exportparts: "trigger:dropdown__trigger, panel:dropdown__panel", ...this.dropDownConfig, ref: (el) => (this.nanoDropdown = el), dialogTitle: "Select options from the list below", class: {
530
+ : undefined }, h("nano-dropdown", { key: '8fa52dc246705c9af636b1c96ee37df8b6bd746d', part: "dropdown", exportparts: "trigger:dropdown__trigger, panel:dropdown__panel", ...this.dropDownConfig, ref: (el) => (this.nanoDropdown = el), dialogTitle: "Select options from the list below", class: {
530
531
  dlist__dropdown: true,
531
532
  'dlist--isfiltered': this.isFiltered,
532
- }, onNanoAfterShow: this.handleShow, onNanoAfterHide: this.handleHide, role: "group" }, h("nano-menu", { key: 'a6c4229eda26e59f8cf37602bcb0fa61e80ee2e5', part: "main-menu", ref: (el) => (this.listBox = el), hidden: !this.actvOptEles.length, type: "listbox", label: this.inputLabel ? this.inputLabel.textContent : undefined, class: {
533
+ }, onNanoAfterShow: this.handleShow, onNanoAfterHide: this.handleHide, role: "group" }, h("nano-menu", { key: '998896a220e3cf3f010bda3354bb530ac0cc9296', part: "main-menu", ref: (el) => (this.listBox = el), hidden: !this.actvOptEles.length, type: "listbox", label: this.inputLabel ? this.inputLabel.textContent : undefined, class: {
533
534
  dlist__menu: true,
534
535
  'dlist__menu--open': this.dropwdownOpen,
535
- }, tabIndex: -1, onNanoSelect: this.optSelected, onKeyDown: this.optionKeyDown }, h("slot", { key: 'c96ff0ec6819c41954f073fb07799a3e30c50101', name: "list-top" }), h("slot", { key: 'da56d581d05587674da3371088280ed98f837af1' }), h("slot", { key: '0f372b97c431d484e9ffc87594660e4ca5d2bba6', name: "internal-opts" }), h("slot", { key: 'e51e02accb72f3ac43386dba8e240470695efa1c', name: "list-bottom" })), h("nano-menu", { key: 'df93b22751834dfbbf6e23a9bdaad5a8086355ec', part: "no-result-menu", type: "listbox", label: "No results found", hidden: !!this.actvOptEles.length, class: {
536
+ }, tabIndex: -1, onNanoSelect: this.optSelected, onKeyDown: this.optionKeyDown }, h("slot", { key: '8f585edd48ec29a847818d1e9af8baf0bc4b4ddf', name: "list-top" }), h("slot", { key: '3bdd8c0a51d63b6fcf3a25d630212db4ba7d8a9b' }), h("slot", { key: 'a7b997daebd6a1e25f1a4a97e4354b966ceeebd6', name: "internal-opts" }), h("slot", { key: '41ebc4da7244b1e4fb532a2fbb0356ea51eb865a', name: "list-bottom" })), h("nano-menu", { key: 'd5d360f4e8d3c78780477572d385daaa4bb12c15', part: "no-result-menu", type: "listbox", label: "No results found", hidden: !!this.actvOptEles.length, class: {
536
537
  dlist__menu: true,
537
538
  'dlist__menu--open': this.dropwdownOpen,
538
- } }, h("slot", { key: '785156311b41d90eecb951782342fd1b8d706ff1', name: "no-result" })), !!this.actvOptEles && (h("div", { key: 'b57c146e650ef55c51fa445c097fc1e10845efc9', class: "dlist__status" }, this.actvOptEles.length, " result", this.actvOptEles.length > 1 ? 's' : '', " available.")))));
539
+ } }, h("slot", { key: '3cc55519054da79e57dc70ecc936c0e67e7e3949', name: "no-result" })), !!this.actvOptEles && (h("div", { key: '0662bfdc4056f2111647550d9aba6a331653d2f3', class: "dlist__status" }, this.actvOptEles.length, " result", this.actvOptEles.length > 1 ? 's' : '', " available.")))));
539
540
  }
540
541
  static get is() { return "nano-datalist"; }
541
542
  static get encapsulation() { return "shadow"; }
@@ -708,7 +709,7 @@ export class DataList {
708
709
  },
709
710
  "getter": false,
710
711
  "setter": false,
711
- "reflect": false,
712
+ "reflect": true,
712
713
  "defaultValue": "false"
713
714
  },
714
715
  "disableFilter": {
@@ -154,6 +154,9 @@ export class NanoDetails {
154
154
  this.attachMo();
155
155
  }
156
156
  connectedCallback() {
157
+ if (this.bodyEl) {
158
+ this.bodyEl.addEventListener('transitionend', this.handleTransitionEnd);
159
+ }
157
160
  this.attachMo();
158
161
  }
159
162
  disconnectedCallback() {
@@ -166,13 +169,13 @@ export class NanoDetails {
166
169
  }
167
170
  }
168
171
  render() {
169
- return (h(Host, { key: 'dfe08b9736512e4f2e7e77b6e08f391e570f7d35', class: "nano-details" }, h("details", { key: 'aee47095a745ec92d97e3eb2a09f1765fbad251d', part: "base", ref: (d) => (this.detailsEl = d), class: {
172
+ return (h(Host, { key: '6bd0b907e8036bffdc232f11520fc7e7ecbd5274', class: "nano-details" }, h("details", { key: 'a375256a375ffa1c52f7e425328add65396d79ae', part: "base", ref: (d) => (this.detailsEl = d), class: {
170
173
  details: true,
171
174
  disabled: this.disabled,
172
- } }, h("summary", { key: 'b15a83c3386171f212a68cf456eb9ba6296917c2', part: "header", "aria-controls": "content", "aria-expanded": this.open ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', tabindex: this.disabled ? '-1' : '0', id: "header", role: "button", class: "header", ref: (s) => (this.headerEl = s), onKeyDown: this.onKeyDown, onClick: this.onMouseDown }, this.slotCtrl.has('icon-start') && (h("span", { key: 'c29db27dc0c74a8053c035421b0738eee1d72945', part: "icon icon--start", class: "icon icon--start" }, h("slot", { key: '99381aa8452aac30498cfb27148c9e507e07989e', name: "icon-start" }))), h("div", { key: '59068fae315b9cd0427987eb59e03f2cd219e45a', part: "label", class: "label" }, this.label ? this.label : h("slot", { name: "label" })), h("span", { key: '8eb4304e5c0da199ef6ad7a9730f92130072afd8', part: "icon icon--end", class: "icon icon--end" }, this.open ? (h("slot", { name: "icon-collapse" })) : (h("slot", { name: "icon-expand" })), h("slot", { key: 'a8c2b9213b96787007a85faf64d42436729bc6e4', name: "icon-end" }, !this.slotCtrl.has('icon-start') &&
175
+ } }, h("summary", { key: '6532629e3d2258dd7b35aa9c088c290cfd586111', part: "header", "aria-controls": "content", "aria-expanded": this.open ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', tabindex: this.disabled ? '-1' : '0', id: "header", role: "button", class: "header", ref: (s) => (this.headerEl = s), onKeyDown: this.onKeyDown, onClick: this.onMouseDown }, this.slotCtrl.has('icon-start') && (h("span", { key: '2a91b1368bfb4120d3356c59a6c277a2608f1ff9', part: "icon icon--start", class: "icon icon--start" }, h("slot", { key: '6ec67523e758f1f189a9c2339e48116f19423a87', name: "icon-start" }))), h("div", { key: '83c975864586f752a86bd13b78ba7a2329f3a484', part: "label", class: "label" }, this.label ? this.label : h("slot", { name: "label" })), h("span", { key: '538494f4cd43b12143151ce1523533efb70800b7', part: "icon icon--end", class: "icon icon--end" }, this.open ? (h("slot", { name: "icon-collapse" })) : (h("slot", { name: "icon-expand" })), h("slot", { key: '9cd7a3d39754029ad70d3b8976545513a7d6f77b', name: "icon-end" }, !this.slotCtrl.has('icon-start') &&
173
176
  !this.slotCtrl.has('icon-end') &&
174
177
  !this.slotCtrl.has('icon-expand') &&
175
- !this.slotCtrl.has('icon-collapse') && (h("nano-icon", { key: 'bfb3677f307b23b4947c80d7173b63ce51b83c70', class: "default-icon", name: "light/chevron-down" }))))), h("div", { key: 'dad8f7fbf316facfc2a505edf0041fb259d78d5b', part: "body", class: "body", ref: (div) => (this.bodyEl = div), role: "region", "aria-labelledby": "header" }, h("div", { key: '988b4a6201029002ab76004375955eaa87542ed9', class: "content-wrapper" }, h("div", { key: '159483b132abfc6d7edf87771af0f3c2c0e077bd', part: "content", class: "content", id: "content" }, h("slot", { key: '8bb9bbca225bca84bc1efd2c617372f490985bc1' })))))));
178
+ !this.slotCtrl.has('icon-collapse') && (h("nano-icon", { key: '0321927f47cbc530e8044598fec3370dfedbb325', class: "default-icon", name: "light/chevron-down" }))))), h("div", { key: 'a7366fb51de087f7c6f5d7da59e761050b2ab231', part: "body", class: "body", ref: (div) => (this.bodyEl = div), role: "region", "aria-labelledby": "header" }, h("div", { key: 'dd888954cdfba45da62a01d10f7b010a0277b7ec', class: "content-wrapper" }, h("div", { key: 'eff6dbb8d4a41d9957d135e2f1e7470e37615255', part: "content", class: "content", id: "content" }, h("slot", { key: '9b2fd79fc46ad9b9c5c7c6a39a856b20b87bca6a' })))))));
176
179
  }
177
180
  static get is() { return "nano-details"; }
178
181
  static get encapsulation() { return "shadow"; }
@@ -601,7 +601,7 @@ export class Dropdown {
601
601
  "EventEmitter": {
602
602
  "location": "import",
603
603
  "path": "@stencil/core",
604
- "id": "../../node_modules/.pnpm/@stencil+core@4.35.1/node_modules/@stencil/core/internal/stencil-core/index.d.ts::EventEmitter"
604
+ "id": "../../../stenciljs/internal/stencil-core/index.d.ts::EventEmitter"
605
605
  }
606
606
  }
607
607
  },
@@ -702,7 +702,7 @@ export class FieldValidator {
702
702
  "ObservableMap": {
703
703
  "location": "import",
704
704
  "path": "@stencil/store",
705
- "id": "../../node_modules/.pnpm/@stencil+store@2.1.2_@stencil+core@4.35.1/node_modules/@stencil/store/dist/index.d.ts::ObservableMap"
705
+ "id": "../../node_modules/.pnpm/@stencil+store@2.1.2_@stencil+core@stenciljs/node_modules/@stencil/store/dist/index.d.ts::ObservableMap"
706
706
  },
707
707
  "ValidatorValueStore": {
708
708
  "location": "import",
@@ -149,7 +149,7 @@ nano-badge {
149
149
  .gn__main-menu > * {
150
150
  margin-inline-end: var(--nano-spacing-xl);
151
151
  }
152
- .gn__main-menu > *:is(slot) {
152
+ .gn__main-menu > *:is(slot, slot-fb) {
153
153
  display: flex;
154
154
  }
155
155
  .gn__main-menu > *:last-child {
@@ -283,7 +283,7 @@ nano-badge {
283
283
  --color-focus: var(--nano-color-neutral-1400);
284
284
  --color: var(--nano-color-primary-1200);
285
285
  }
286
- .gn__search-viewall::part(label), .gn__search-viewall [part~="label"] {
286
+ .gn__search-viewall::part(label) {
287
287
  justify-content: flex-end;
288
288
  text-decoration: underline;
289
289
  }
@@ -392,11 +392,11 @@ nano-badge {
392
392
  --header-spacing: var(--nano-spacing-md) 0;
393
393
  --footer-spacing: var(--nano-spacing-md);
394
394
  }
395
- .gn__drawer::part(title), .gn__drawer [part~="title"] {
395
+ .gn__drawer::part(title) {
396
396
  display: flex;
397
397
  justify-content: flex-end;
398
398
  }
399
- .gn__drawer::part(header-actions), .gn__drawer [part~="header-actions"] {
399
+ .gn__drawer::part(header-actions) {
400
400
  order: -1;
401
401
  }
402
402
 
@@ -40,9 +40,11 @@
40
40
  /**
41
41
  * @prop --grid-col-gap: gap between all columns. Defaults to theme's global padding
42
42
  * @prop --grid-row-gap: gap between all rows. Defaults to theme's global padding
43
+ * @prop --grid-align-items: alignment of items in the grid. Defaults to start
43
44
  */
44
45
  --grid-col-gap: var(--nano-spacing-medium, 16px);
45
46
  --grid-row-gap: var(--nano-spacing-medium, 16px);
47
+ --grid-align-items: start;
46
48
  --current-grid-size: "grid size: s";
47
49
  container-type: inline-size;
48
50
  display: block;
@@ -52,6 +54,7 @@
52
54
  gap: var(--grid-row-gap) var(--grid-col-gap);
53
55
  block-size: inherit;
54
56
  min-block-size: inherit;
57
+ align-items: var(--grid-align-items);
55
58
  }
56
59
 
57
60
  :host([show-helper]:not([show-helper=false])) {
@@ -63,20 +63,20 @@
63
63
  --btn-text-color: var(--color-text);
64
64
  border: none;
65
65
  }
66
- :host .details-wrapper::part(header), :host .details-wrapper [part~="header"] {
66
+ :host .details-wrapper::part(header) {
67
67
  font-size: var(--font-size);
68
68
  line-height: var(--line-height);
69
69
  font-weight: var(--font-weight);
70
70
  letter-spacing: var(--letter-spacing);
71
71
  padding: var(--spacing-l2);
72
72
  }
73
- :host .details-wrapper[open]::part(header), :host .details-wrapper[open] [part~="header"] {
73
+ :host .details-wrapper[open]::part(header) {
74
74
  background-color: var(--nano-color-primary-75);
75
75
  }
76
- :host .details-wrapper::part(content), :host .details-wrapper [part~="content"] {
76
+ :host .details-wrapper::part(content) {
77
77
  padding: 0;
78
78
  }
79
- :host .details-wrapper::part(body), :host .details-wrapper [part~="body"] {
79
+ :host .details-wrapper::part(body) {
80
80
  padding: 0;
81
81
  }
82
82
  :host .header {
@@ -113,7 +113,7 @@
113
113
  :host nav:has(.details-wrapper[open]) {
114
114
  box-shadow: var(--nano-shadow-l1);
115
115
  }
116
- :host .details-wrapper.sticky.stuck[open]::part(header), :host .details-wrapper.sticky.stuck[open] [part~="header"] {
116
+ :host .details-wrapper.sticky.stuck[open]::part(header) {
117
117
  z-index: var(--nano-z-index-menubar);
118
118
  inset-block-start: 0;
119
119
  position: sticky;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Custom elements for Nanopore-Digital Web applications
3
3
  */
4
- import { Host, } from "@stencil/core";
4
+ import { Host, Build, } from "@stencil/core";
5
5
  import { h } from "../../utils/renderer";
6
6
  import { findScrollParent } from "../../utils/scroll";
7
7
  /**
@@ -42,11 +42,9 @@ export class IntersectionObserve {
42
42
  * Defaults to an automatic check for ancestors that `overflow: auto` or otherwise the `Document`. */
43
43
  root = 'auto';
44
44
  handleRootChange() {
45
- if (!this.root) {
46
- this._root = undefined;
47
- this.removeIO();
45
+ this.removeIO();
46
+ if (!this.root)
48
47
  return;
49
- }
50
48
  let newRoot;
51
49
  if (this.root === 'auto') {
52
50
  // try to find nearest scrolling parent
@@ -71,7 +69,7 @@ export class IntersectionObserve {
71
69
  if (newRoot === document.documentElement)
72
70
  newRoot = undefined;
73
71
  // if new root is what we already have - ignore
74
- if (newRoot === this._root)
72
+ if (newRoot === this._root && this.io)
75
73
  return;
76
74
  // cache and setup io
77
75
  this._root = newRoot;
@@ -122,7 +120,7 @@ export class IntersectionObserve {
122
120
  this.addIO();
123
121
  };
124
122
  addIO() {
125
- if (!window['IntersectionObserver'] || !this.elements?.length)
123
+ if (Build.isServer || !this.elements?.length)
126
124
  return;
127
125
  if (this.io)
128
126
  this.removeIO();
@@ -143,10 +141,9 @@ export class IntersectionObserve {
143
141
  }
144
142
  disconnectedCallback() {
145
143
  this.removeIO();
146
- this.root = this._root = undefined;
147
144
  }
148
145
  render() {
149
- return (h(Host, { key: '4bd6cf4cc8888421ec7879e22fc24886838bd091', class: "nano-intersection-observe" }, h("slot", { key: 'afc52867f75d9f3679470f016c49eb9c4af6f6db', ref: (slot) => (this.defaultSlot = slot), onSlotchange: this.handleSlotChange })));
146
+ return (h(Host, { key: 'abd4c2df3455d52b6c9df1fcec2ba6f715cca32d', class: "nano-intersection-observe" }, h("slot", { key: 'e91b2a33b11abfa42411b996a0ba2e71892ab5d1', ref: (slot) => (this.defaultSlot = slot), onSlotchange: this.handleSlotChange })));
150
147
  }
151
148
  static get is() { return "nano-intersection-observe"; }
152
149
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Custom elements for Nanopore-Digital Web applications
3
3
  */
4
- import { Host, Build, } from "@stencil/core";
4
+ import { Host, } from "@stencil/core";
5
5
  import { h, transformTag } from "../../utils/renderer";
6
6
  import { getActiveElement } from "../../utils/active-element";
7
7
  import { getDirectChildren } from "../../utils/dom";
@@ -220,8 +220,6 @@ export class Menu {
220
220
  }
221
221
  };
222
222
  handleSlotContent = () => {
223
- if (!Build.isBrowser)
224
- return;
225
223
  this._type = this.type || null;
226
224
  if (!this._type) {
227
225
  let linkCount, btnCount = 0;
@@ -262,11 +260,11 @@ export class Menu {
262
260
  this.handleSlotContent();
263
261
  }
264
262
  render() {
265
- return (h(Host, { key: 'f3908b74fc21b630402f06fac95a75f5a6b2ff27', role: this._type === 'listbox' ? 'group' : this._type, class: "nano-menu" }, h("div", { key: '451b5fb6151135ab4cb73d9141086be43d9eaf93', onClick: this.handleClick, onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onFocus: this.handleFocus, "aria-label": this.label ? this.label : undefined, ref: (el) => (this.menu = el), part: "base", class: {
263
+ return (h(Host, { key: 'f7c0e55c16e5607f25a4a75847c0defd4b860e17', role: this._type === 'listbox' ? 'group' : this._type, class: "nano-menu" }, h("div", { key: '3a19c91258abaa6b0a6333a35809172aabf4db43', onClick: this.handleClick, onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onFocus: this.handleFocus, "aria-label": this.label ? this.label : undefined, ref: (el) => (this.menu = el), part: "base", class: {
266
264
  menu: true,
267
265
  ['menu--' + this._type]: true,
268
266
  'menu--has-focus': this.hasFocus,
269
- }, tabIndex: -1, role: "group" }, h("slot", { key: '37f40b06d1dc66c46130468c3de79dfeeb38c29c', onSlotchange: this.handleSlotContent }))));
267
+ }, tabIndex: -1, role: "group" }, h("slot", { key: '75c213c4a744e7edd1826d88a8e391e16bdc091b', onSlotchange: this.handleSlotContent }))));
270
268
  }
271
269
  static get is() { return "nano-menu"; }
272
270
  static get encapsulation() { return "shadow"; }
@@ -838,7 +838,7 @@ export class Sortable {
838
838
  "Element": {
839
839
  "location": "import",
840
840
  "path": "@stencil/core",
841
- "id": "../../node_modules/.pnpm/@stencil+core@4.35.1/node_modules/@stencil/core/internal/stencil-core/index.d.ts::Element"
841
+ "id": "../../../stenciljs/internal/stencil-core/index.d.ts::Element"
842
842
  }
843
843
  }
844
844
  },
@@ -869,7 +869,7 @@ export class Sortable {
869
869
  "Element": {
870
870
  "location": "import",
871
871
  "path": "@stencil/core",
872
- "id": "../../node_modules/.pnpm/@stencil+core@4.35.1/node_modules/@stencil/core/internal/stencil-core/index.d.ts::Element"
872
+ "id": "../../../stenciljs/internal/stencil-core/index.d.ts::Element"
873
873
  }
874
874
  }
875
875
  },
@@ -900,7 +900,7 @@ export class Sortable {
900
900
  "Element": {
901
901
  "location": "import",
902
902
  "path": "@stencil/core",
903
- "id": "../../node_modules/.pnpm/@stencil+core@4.35.1/node_modules/@stencil/core/internal/stencil-core/index.d.ts::Element"
903
+ "id": "../../../stenciljs/internal/stencil-core/index.d.ts::Element"
904
904
  }
905
905
  }
906
906
  },
@@ -931,7 +931,7 @@ export class Sortable {
931
931
  "Element": {
932
932
  "location": "import",
933
933
  "path": "@stencil/core",
934
- "id": "../../node_modules/.pnpm/@stencil+core@4.35.1/node_modules/@stencil/core/internal/stencil-core/index.d.ts::Element"
934
+ "id": "../../../stenciljs/internal/stencil-core/index.d.ts::Element"
935
935
  }
936
936
  }
937
937
  },
@@ -968,7 +968,7 @@ export class Sortable {
968
968
  "Element": {
969
969
  "location": "import",
970
970
  "path": "@stencil/core",
971
- "id": "../../node_modules/.pnpm/@stencil+core@4.35.1/node_modules/@stencil/core/internal/stencil-core/index.d.ts::Element"
971
+ "id": "../../../stenciljs/internal/stencil-core/index.d.ts::Element"
972
972
  },
973
973
  "HTMLElement": {
974
974
  "location": "global",
@@ -581,9 +581,6 @@ export class Sticker {
581
581
  this.isRtl =
582
582
  this.host.dir === 'rtl' || this.host.ownerDocument.dir === 'rtl';
583
583
  // this is all horrible.... shrug
584
- document.documentElement.addEventListener('nanoComponentsReady', () => {
585
- setTimeout((_) => this.bootstrapGurantor(), 200);
586
- });
587
584
  setTimeout((_) => {
588
585
  if (!this.hasBootstrapped)
589
586
  this.bootstrapGurantor();
@@ -602,12 +599,12 @@ export class Sticker {
602
599
  this.hasBootstrapped = false;
603
600
  }
604
601
  render() {
605
- return (h(Host, { key: 'cdcb7fdadde75c5f860cbc5d93ef7d6f58bc499b', sticky: !this.isRootSticker && !this.stickToEle && this.isSticky, hide: this.hide && this.isStuck, siblings: this.stuckCounter, index: this.stickerIndex, stuck: this.isStuck && this.isSticky, "placed-bottom": this.positions.includes('bottom'), "placed-top": this.positions.includes('top'), "placed-end": this.positions.includes('end'), "placed-start": this.positions.includes('start'), class: "nano-sticker" }, h("div", { key: 'fa8b5831edde3d5e39036681cc75a0c2c0e84ccf', class: {
602
+ return (h(Host, { key: '684a30435688dd24ba583b9ad18f262b00863220', sticky: !this.isRootSticker && !this.stickToEle && this.isSticky, hide: this.hide && this.isStuck, siblings: this.stuckCounter, index: this.stickerIndex, stuck: this.isStuck && this.isSticky, "placed-bottom": this.positions.includes('bottom'), "placed-top": this.positions.includes('top'), "placed-end": this.positions.includes('end'), "placed-start": this.positions.includes('start'), class: "nano-sticker" }, h("div", { key: '1a27a9545b9e00e492efc809ef10ac291f13f421', class: {
606
603
  sticker: true,
607
604
  sticky: this.isRootSticker && this.isSticky,
608
605
  stuck: this.isStuck && this.isRootSticker && this.isSticky,
609
606
  hide: this.isRootSticker && this.hide && this.isStuck,
610
- }, ref: (div) => (this.sticker = div) }, h("div", { key: '8ec62a7127c1823f5e2ab35b80617ec495fa4121', class: "sticker-content", ref: (div) => (this.content = div) }, h("slot", { key: '6206fa5ac74522b69e7c5a99b4147458399f3a5d' })))));
607
+ }, ref: (div) => (this.sticker = div) }, h("div", { key: '323a9081a4b7aec17c6bcc0cc85558fa54fa5253', class: "sticker-content", ref: (div) => (this.content = div) }, h("slot", { key: '9fc54c6354a8de64bebbaa54881fa4b21f116ba5' })))));
611
608
  }
612
609
  static get is() { return "nano-sticker"; }
613
610
  static get encapsulation() { return "shadow"; }
@@ -71,7 +71,7 @@
71
71
  display: none;
72
72
  }
73
73
 
74
- .group__tabs::part(items), .group__tabs [part~="items"] {
74
+ .group__tabs::part(items) {
75
75
  gap: var(--tab-spacing);
76
76
  }
77
77
 
@@ -81,7 +81,7 @@
81
81
  .group--top .group__tabs {
82
82
  --fade-size: 100px;
83
83
  }
84
- .group--top .group__tabs::part(items), .group--top .group__tabs [part~="items"] {
84
+ .group--top .group__tabs::part(items) {
85
85
  align-items: flex-end;
86
86
  }
87
87
  .group--top .group__tabs-border {
@@ -99,7 +99,7 @@
99
99
  .group--start {
100
100
  flex-direction: row;
101
101
  }
102
- :host([equal-tab-size]) .group--start .group__tabs::part(items), :host([equal-tab-size]) .group--start .group__tabs [part~="items"] {
102
+ :host([equal-tab-size]) .group--start .group__tabs::part(items) {
103
103
  display: grid;
104
104
  grid-auto-rows: 1fr;
105
105
  }
@@ -1,33 +1,4 @@
1
1
  /*!
2
2
  * Custom elements for Nanopore-Digital Web applications
3
3
  */
4
- export default async () => {
5
- if (globalThis.window &&
6
- 'MutationObserver' in globalThis.window &&
7
- globalThis['document']) {
8
- // fire global 'ready' event when everything is hydrated
9
- const docEle = document.documentElement;
10
- window.addEventListener('appload', () => {
11
- docEle.classList.add('hydrated');
12
- });
13
- const docIsReady = () => {
14
- if (!docEle.classList.contains('hydrated'))
15
- return false;
16
- docEle.dispatchEvent(new CustomEvent('nanoComponentsReady'));
17
- return true;
18
- };
19
- if (!docIsReady()) {
20
- let mutationO = new MutationObserver((_) => {
21
- if (!docIsReady())
22
- return;
23
- mutationO.disconnect();
24
- mutationO = null;
25
- });
26
- mutationO.observe(docEle, {
27
- childList: false,
28
- subtree: false,
29
- attributes: true,
30
- });
31
- }
32
- }
33
- };
4
+ export default async () => { };