@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.
- package/dist/cjs/{algolia-data-JweofGji.js → algolia-data-CFc_52My.js} +1 -1
- package/dist/cjs/{component-store-DKMzj8Ei.js → component-store-DdyLi-VY.js} +1 -1
- package/dist/cjs/{dom-a3wgHxbn.js → dom-CvQQBdol.js} +1 -1
- package/dist/cjs/{fade-run1oYFS.js → fade-Bq3U8uF7.js} +3 -3
- package/dist/cjs/{form-control-zW-pmQ5Y.js → form-control-gUYfW0n-.js} +1 -1
- package/dist/cjs/{fullscreen-DGiusO_n.js → fullscreen-Czdw-D-5.js} +3 -3
- package/dist/cjs/{index-DYD4xvxr.js → index-B76C6Tm9.js} +162 -191
- package/dist/cjs/{index-BV7Y7Zvi.js → index-ChTXweZN.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{lazyload-CavfHrQV.js → lazyload-BpoUFECt.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{modal-lJ_KdrUQ.js → modal-DddxtK2h.js} +1 -1
- package/dist/cjs/nano-accordion.cjs.entry.js +3 -3
- package/dist/cjs/nano-alert.cjs.entry.js +7 -7
- package/dist/cjs/nano-algolia-filter.cjs.entry.js +4 -4
- package/dist/cjs/nano-algolia-pagination.cjs.entry.js +2 -2
- package/dist/cjs/nano-algolia-results.cjs.entry.js +3 -3
- package/dist/cjs/nano-algolia.cjs.entry.js +5 -5
- package/dist/cjs/nano-animation.cjs.entry.js +4 -4
- package/dist/cjs/nano-avatar_5.cjs.entry.js +9 -9
- package/dist/cjs/nano-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/nano-card-carousel.cjs.entry.js +3 -3
- package/dist/cjs/nano-card.cjs.entry.js +1 -1
- package/dist/cjs/nano-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/nano-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/nano-collapsible-comparison.cjs.entry.js +2 -2
- package/dist/cjs/nano-components.cjs.js +3 -3
- package/dist/cjs/nano-content-links.cjs.entry.js +1 -1
- package/dist/cjs/nano-cta.cjs.entry.js +1 -1
- package/dist/cjs/{nano-data-table-DlJaR4KG.js → nano-data-table-BNwDI1rg.js} +5 -5
- package/dist/cjs/nano-data-table.cjs.entry.js +6 -6
- package/dist/cjs/nano-datalist_3.cjs.entry.js +11 -10
- package/dist/cjs/nano-date-input.cjs.entry.js +2 -2
- package/dist/cjs/nano-date-picker_2.cjs.entry.js +4 -4
- package/dist/cjs/nano-details.cjs.entry.js +9 -6
- package/dist/cjs/nano-dialog.cjs.entry.js +8 -8
- package/dist/cjs/nano-dropdown_2.cjs.entry.js +7 -7
- package/dist/cjs/nano-field-validator.cjs.entry.js +3 -3
- package/dist/cjs/nano-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/nano-footer.cjs.entry.js +1 -1
- package/dist/cjs/nano-global-nav.cjs.entry.js +3 -3
- package/dist/cjs/nano-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/nano-grid_2.cjs.entry.js +3 -3
- package/dist/cjs/nano-hero.cjs.entry.js +2 -2
- package/dist/cjs/nano-icon-item.cjs.entry.js +1 -1
- package/dist/cjs/nano-icon_3.cjs.entry.js +2 -2
- package/dist/cjs/nano-in-page-nav.cjs.entry.js +4 -4
- package/dist/cjs/nano-intersection-observe.cjs.entry.js +9 -12
- package/dist/cjs/nano-masked-overflow.cjs.entry.js +4 -4
- package/dist/cjs/nano-menu-drawer.cjs.entry.js +3 -3
- package/dist/cjs/nano-more-less.cjs.entry.js +2 -2
- package/dist/cjs/nano-nav-item.cjs.entry.js +5 -5
- package/dist/cjs/nano-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/nano-range.cjs.entry.js +2 -2
- package/dist/cjs/nano-rating.cjs.entry.js +2 -2
- package/dist/cjs/nano-resize-observe_2.cjs.entry.js +2 -2
- package/dist/cjs/nano-slide.cjs.entry.js +2 -2
- package/dist/cjs/{nano-slides-D5q9vQ4P.js → nano-slides-Cj4figHV.js} +6 -6
- package/dist/cjs/nano-slides.cjs.entry.js +3 -3
- package/dist/cjs/nano-sortable.cjs.entry.js +2 -2
- package/dist/cjs/nano-spinner.cjs.entry.js +2 -2
- package/dist/cjs/nano-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/nano-sticker.cjs.entry.js +6 -9
- package/dist/cjs/nano-tab-content.cjs.entry.js +2 -2
- package/dist/cjs/nano-tab-group.cjs.entry.js +5 -5
- package/dist/cjs/nano-tab.cjs.entry.js +2 -2
- package/dist/cjs/nano-table.cjs.entry.js +2 -2
- package/dist/cjs/{page-dots-D-QQnR4W.js → page-dots-E6b7S4vs.js} +3 -3
- package/dist/cjs/{renderer-SkVn69pT.js → renderer-Z8wHFL4e.js} +1 -1
- package/dist/cjs/{scroll-DXjC771e.js → scroll-DspYj7mY.js} +1 -1
- package/dist/cjs/{slot-CBvkJee9.js → slot-B4QUWT-c.js} +1 -1
- package/dist/cjs/{tabbable-M9OUrhLE.js → tabbable-YPytg5sg.js} +1 -1
- package/dist/cjs/{table.worker-FkRsUwRY.js → table.worker-bFxUCos7.js} +6 -6
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/animation/animation.js +3 -3
- package/dist/collection/components/breadcrumb/breadcrumb.css +6 -5
- package/dist/collection/components/card-carousel/card-carousel.css +4 -4
- package/dist/collection/components/datalist/datalist.js +9 -8
- package/dist/collection/components/details/details.js +6 -3
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/field-validator/field-validator.js +1 -1
- package/dist/collection/components/global-nav/global-nav.css +4 -4
- package/dist/collection/components/grid/grid.css +3 -0
- package/dist/collection/components/in-page-nav/in-page-nav.css +5 -5
- package/dist/collection/components/intersection-observe/intersection-observe.js +6 -9
- package/dist/collection/components/menu/menu.js +3 -5
- package/dist/collection/components/sortable/sortable.js +5 -5
- package/dist/collection/components/sticker/sticker.js +2 -5
- package/dist/collection/components/tabs/tab-group.css +3 -3
- package/dist/collection/global/script/global.js +1 -30
- package/dist/components/datalist.js +9 -8
- package/dist/components/details.js +6 -3
- package/dist/components/grid.js +1 -1
- package/dist/components/index.js +1 -30
- package/dist/components/menu.js +3 -5
- package/dist/components/nano-animation.js +3 -3
- package/dist/components/nano-breadcrumb.js +1 -1
- package/dist/components/nano-card-carousel.js +1 -1
- package/dist/components/nano-global-nav.js +1 -1
- package/dist/components/nano-in-page-nav.js +1 -1
- package/dist/components/nano-intersection-observe.js +6 -9
- package/dist/components/nano-tab-group.js +1 -1
- package/dist/components/sticker.js +2 -5
- package/dist/esm/{algolia-data-BNDipgId.js → algolia-data-CCqzaIh4.js} +1 -1
- package/dist/esm/{component-store-DqCSKpAK.js → component-store-C-YnXSQE.js} +1 -1
- package/dist/esm/{dom-CF0Ycs9M.js → dom-GYcqUAl_.js} +1 -1
- package/dist/esm/{fade-CdIyPeai.js → fade-C3aqZinc.js} +3 -3
- package/dist/esm/{form-control-DXPQniNX.js → form-control-BjKTwcqA.js} +1 -1
- package/dist/esm/{fullscreen-C4GllGer.js → fullscreen-T7b44-vN.js} +3 -3
- package/dist/esm/{index-CFYZ-ZOT.js → index-DOuz1S3w.js} +148 -177
- package/dist/esm/{index-DxKBolVo.js → index-DkZY6pJu.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{lazyload-pTbJ7q2S.js → lazyload-BdH0bSmg.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{modal-B50PWCuY.js → modal-s7sHBYzQ.js} +1 -1
- package/dist/esm/nano-accordion.entry.js +3 -3
- package/dist/esm/nano-alert.entry.js +7 -7
- package/dist/esm/nano-algolia-filter.entry.js +4 -4
- package/dist/esm/nano-algolia-pagination.entry.js +2 -2
- package/dist/esm/nano-algolia-results.entry.js +3 -3
- package/dist/esm/nano-algolia.entry.js +5 -5
- package/dist/esm/nano-animation.entry.js +4 -4
- package/dist/esm/nano-avatar_5.entry.js +9 -9
- package/dist/esm/nano-breadcrumb.entry.js +2 -2
- package/dist/esm/nano-card-carousel.entry.js +3 -3
- package/dist/esm/nano-card.entry.js +1 -1
- package/dist/esm/nano-checkbox-group.entry.js +2 -2
- package/dist/esm/nano-checkbox.entry.js +2 -2
- package/dist/esm/nano-collapsible-comparison.entry.js +2 -2
- package/dist/esm/nano-components.js +4 -4
- package/dist/esm/nano-content-links.entry.js +1 -1
- package/dist/esm/nano-cta.entry.js +1 -1
- package/dist/esm/{nano-data-table-DsTG4mqR.js → nano-data-table-Bm9J8Phu.js} +5 -5
- package/dist/esm/nano-data-table.entry.js +6 -6
- package/dist/esm/nano-datalist_3.entry.js +11 -10
- package/dist/esm/nano-date-input.entry.js +2 -2
- package/dist/esm/nano-date-picker_2.entry.js +4 -4
- package/dist/esm/nano-details.entry.js +9 -6
- package/dist/esm/nano-dialog.entry.js +8 -8
- package/dist/esm/nano-dropdown_2.entry.js +7 -7
- package/dist/esm/nano-field-validator.entry.js +3 -3
- package/dist/esm/nano-file-upload.entry.js +2 -2
- package/dist/esm/nano-footer.entry.js +1 -1
- package/dist/esm/nano-global-nav.entry.js +3 -3
- package/dist/esm/nano-grid-item.entry.js +1 -1
- package/dist/esm/nano-grid_2.entry.js +3 -3
- package/dist/esm/nano-hero.entry.js +2 -2
- package/dist/esm/nano-icon-item.entry.js +1 -1
- package/dist/esm/nano-icon_3.entry.js +2 -2
- package/dist/esm/nano-in-page-nav.entry.js +4 -4
- package/dist/esm/nano-intersection-observe.entry.js +9 -12
- package/dist/esm/nano-masked-overflow.entry.js +4 -4
- package/dist/esm/nano-menu-drawer.entry.js +3 -3
- package/dist/esm/nano-more-less.entry.js +2 -2
- package/dist/esm/nano-nav-item.entry.js +5 -5
- package/dist/esm/nano-progress-bar.entry.js +2 -2
- package/dist/esm/nano-range.entry.js +2 -2
- package/dist/esm/nano-rating.entry.js +2 -2
- package/dist/esm/nano-resize-observe_2.entry.js +2 -2
- package/dist/esm/nano-slide.entry.js +2 -2
- package/dist/esm/{nano-slides-BcyK9Szs.js → nano-slides-BEE7xEu_.js} +6 -6
- package/dist/esm/nano-slides.entry.js +3 -3
- package/dist/esm/nano-sortable.entry.js +2 -2
- package/dist/esm/nano-spinner.entry.js +2 -2
- package/dist/esm/nano-split-pane.entry.js +2 -2
- package/dist/esm/nano-sticker.entry.js +6 -9
- package/dist/esm/nano-tab-content.entry.js +2 -2
- package/dist/esm/nano-tab-group.entry.js +5 -5
- package/dist/esm/nano-tab.entry.js +2 -2
- package/dist/esm/nano-table.entry.js +2 -2
- package/dist/esm/{page-dots-Cq8hjoql.js → page-dots-D2WI1eZ0.js} +3 -3
- package/dist/esm/{renderer-LJzCFyMt.js → renderer-CnE0Hztu.js} +1 -1
- package/dist/esm/{scroll-BRRzrkAi.js → scroll-DHa1CIPP.js} +1 -1
- package/dist/esm/{slot-DBzVpliZ.js → slot-lixS0pd2.js} +1 -1
- package/dist/esm/{tabbable-BpHwrUYt.js → tabbable-QmV19K7Q.js} +1 -1
- package/dist/esm/{table.worker-BoX4CUXT.js → table.worker-zeRR3oed.js} +6 -6
- package/dist/nano-components/{algolia-data-BNDipgId.js → algolia-data-CCqzaIh4.js} +1 -1
- package/dist/nano-components/{component-store-DqCSKpAK.js → component-store-C-YnXSQE.js} +1 -1
- package/dist/nano-components/{dom-CF0Ycs9M.js → dom-GYcqUAl_.js} +1 -1
- package/dist/nano-components/{fade-CdIyPeai.js → fade-C3aqZinc.js} +1 -1
- package/dist/nano-components/{form-control-DXPQniNX.js → form-control-BjKTwcqA.js} +1 -1
- package/dist/nano-components/{fullscreen-C4GllGer.js → fullscreen-T7b44-vN.js} +1 -1
- package/dist/nano-components/index-DOuz1S3w.js +5 -0
- package/dist/nano-components/{index-DxKBolVo.js → index-DkZY6pJu.js} +1 -1
- package/dist/nano-components/index.esm.js +1 -1
- package/dist/nano-components/{lazyload-pTbJ7q2S.js → lazyload-BdH0bSmg.js} +1 -1
- package/dist/nano-components/{modal-B50PWCuY.js → modal-s7sHBYzQ.js} +1 -1
- package/dist/nano-components/nano-accordion.entry.js +1 -1
- package/dist/nano-components/nano-alert.entry.js +1 -1
- package/dist/nano-components/nano-algolia-filter.entry.js +1 -1
- package/dist/nano-components/nano-algolia-pagination.entry.js +1 -1
- package/dist/nano-components/nano-algolia-results.entry.js +1 -1
- package/dist/nano-components/nano-algolia.entry.js +1 -1
- package/dist/nano-components/nano-animation.entry.js +1 -1
- package/dist/nano-components/nano-avatar_5.entry.js +1 -1
- package/dist/nano-components/nano-breadcrumb.entry.js +1 -1
- package/dist/nano-components/nano-card-carousel.entry.js +1 -1
- package/dist/nano-components/nano-card.entry.js +1 -1
- package/dist/nano-components/nano-checkbox-group.entry.js +1 -1
- package/dist/nano-components/nano-checkbox.entry.js +1 -1
- package/dist/nano-components/nano-collapsible-comparison.entry.js +1 -1
- package/dist/nano-components/nano-components.css +64 -39
- package/dist/nano-components/nano-components.esm.js +1 -1
- package/dist/nano-components/nano-content-links.entry.js +1 -1
- package/dist/nano-components/nano-cta.entry.js +1 -1
- package/dist/nano-components/{nano-data-table-DsTG4mqR.js → nano-data-table-Bm9J8Phu.js} +1 -1
- package/dist/nano-components/nano-data-table.entry.js +1 -1
- package/dist/nano-components/nano-datalist_3.entry.js +1 -1
- package/dist/nano-components/nano-date-input.entry.js +1 -1
- package/dist/nano-components/nano-date-picker_2.entry.js +1 -1
- package/dist/nano-components/nano-details.entry.js +1 -1
- package/dist/nano-components/nano-dialog.entry.js +1 -1
- package/dist/nano-components/nano-dropdown_2.entry.js +1 -1
- package/dist/nano-components/nano-field-validator.entry.js +1 -1
- package/dist/nano-components/nano-file-upload.entry.js +1 -1
- package/dist/nano-components/nano-footer.entry.js +1 -1
- package/dist/nano-components/nano-global-nav.entry.js +1 -1
- package/dist/nano-components/nano-grid-item.entry.js +1 -1
- package/dist/nano-components/nano-grid_2.entry.js +1 -1
- package/dist/nano-components/nano-hero.entry.js +1 -1
- package/dist/nano-components/nano-icon-item.entry.js +1 -1
- package/dist/nano-components/nano-icon_3.entry.js +1 -1
- package/dist/nano-components/nano-in-page-nav.entry.js +1 -1
- package/dist/nano-components/nano-intersection-observe.entry.js +1 -1
- package/dist/nano-components/nano-masked-overflow.entry.js +1 -1
- package/dist/nano-components/nano-menu-drawer.entry.js +1 -1
- package/dist/nano-components/nano-more-less.entry.js +1 -1
- package/dist/nano-components/nano-nav-item.entry.js +1 -1
- package/dist/nano-components/nano-progress-bar.entry.js +1 -1
- package/dist/nano-components/nano-range.entry.js +1 -1
- package/dist/nano-components/nano-rating.entry.js +1 -1
- package/dist/nano-components/nano-resize-observe_2.entry.js +1 -1
- package/dist/nano-components/nano-slide.entry.js +1 -1
- package/dist/nano-components/{nano-slides-BcyK9Szs.js → nano-slides-BEE7xEu_.js} +3 -3
- package/dist/nano-components/nano-slides.entry.js +1 -1
- package/dist/nano-components/nano-sortable.entry.js +1 -1
- package/dist/nano-components/nano-spinner.entry.js +1 -1
- package/dist/nano-components/nano-split-pane.entry.js +1 -1
- package/dist/nano-components/nano-sticker.entry.js +1 -1
- package/dist/nano-components/nano-tab-content.entry.js +1 -1
- package/dist/nano-components/nano-tab-group.entry.js +1 -1
- package/dist/nano-components/nano-tab.entry.js +1 -1
- package/dist/nano-components/nano-table.entry.js +1 -1
- package/dist/nano-components/{page-dots-Cq8hjoql.js → page-dots-D2WI1eZ0.js} +1 -1
- package/dist/nano-components/{renderer-LJzCFyMt.js → renderer-CnE0Hztu.js} +1 -1
- package/dist/nano-components/{scroll-BRRzrkAi.js → scroll-DHa1CIPP.js} +1 -1
- package/dist/nano-components/{slot-DBzVpliZ.js → slot-lixS0pd2.js} +1 -1
- package/dist/nano-components/{tabbable-BpHwrUYt.js → tabbable-QmV19K7Q.js} +1 -1
- package/dist/nano-components/table.worker-zeRR3oed.js +4 -0
- package/dist/stencil.config.js +1 -2
- package/dist/style/components.css +1 -1
- package/dist/style/components.css.map +1 -1
- package/dist/style/core.css +1 -1
- package/dist/style/core.css.map +1 -1
- package/dist/style/dark.css +1 -1
- package/dist/style/dark.css.map +1 -1
- package/dist/style/nano.css +1 -1
- package/dist/style/nano.css.map +1 -1
- package/docs-json.json +20 -15
- package/hydrate/index.js +237 -1315
- package/hydrate/index.mjs +237 -1315
- package/package.json +3 -3
- package/dist/nano-components/index-CFYZ-ZOT.js +0 -5
- package/dist/nano-components/table.worker-BoX4CUXT.js +0 -4
- package/dist/plugins/postcss/scoped-part.js +0 -26
- package/dist/types/Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/postcss/scoped-part.d.ts +0 -8
- 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-
|
6
|
+
var index = require('./index-B76C6Tm9.js');
|
7
7
|
var throttle = require('./throttle-CrRDOkln.js');
|
8
|
-
var renderer = require('./renderer-
|
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-
|
7
|
-
require('./index-
|
8
|
-
require('./renderer-
|
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,14 +3,14 @@
|
|
3
3
|
*/
|
4
4
|
'use strict';
|
5
5
|
|
6
|
-
var nanoDataTable_entry = require('./nano-data-table-
|
7
|
-
require('./index-
|
8
|
-
require('./renderer-
|
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-
|
12
|
-
require('./dom-
|
13
|
-
require('./index-
|
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';
|
@@ -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: '
|
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
|
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)
|
108
|
+
:host nano-dropdown[open]::part(trigger) {
|
108
109
|
box-shadow: var(--nano-shadow-l1);
|
109
110
|
}
|
110
|
-
: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)
|
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)
|
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)
|
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)
|
73
|
+
.base nano-slides::part(slide-viewport) {
|
74
74
|
flex: auto;
|
75
75
|
}
|
76
|
-
.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)
|
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.
|
523
|
+
if (this.connectedInput) {
|
524
|
+
this.connectedInput = undefined;
|
525
|
+
}
|
525
526
|
}
|
526
527
|
render() {
|
527
|
-
return (h(Host, { key: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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":
|
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: '
|
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: '
|
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: '
|
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": "
|
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@
|
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)
|
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)
|
395
|
+
.gn__drawer::part(title) {
|
396
396
|
display: flex;
|
397
397
|
justify-content: flex-end;
|
398
398
|
}
|
399
|
-
.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)
|
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)
|
73
|
+
:host .details-wrapper[open]::part(header) {
|
74
74
|
background-color: var(--nano-color-primary-75);
|
75
75
|
}
|
76
|
-
:host .details-wrapper::part(content)
|
76
|
+
:host .details-wrapper::part(content) {
|
77
77
|
padding: 0;
|
78
78
|
}
|
79
|
-
: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)
|
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
|
-
|
46
|
-
|
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 (
|
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: '
|
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,
|
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: '
|
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: '
|
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": "
|
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": "
|
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": "
|
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": "
|
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": "
|
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: '
|
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: '
|
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)
|
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)
|
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)
|
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 () => { };
|