@nanoporetech-digital/components 8.1.1 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/dist/cjs/{fade-DiBAr_-0.js → fade-Cvsqaxtn.js} +1 -1
  2. package/dist/cjs/{fullscreen-DiSrws4D.js → fullscreen-BtSF9KqT.js} +1 -1
  3. package/dist/cjs/index-Bp8uD6Gl.js +4 -0
  4. package/dist/cjs/{lazyload-CilBX2zO.js → lazyload-DxM1Zo3E.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/nano-avatar_5.cjs.entry.js +7 -7
  7. package/dist/cjs/nano-components.cjs.js +1 -1
  8. package/dist/cjs/nano-date-picker_2.cjs.entry.js +29 -26
  9. package/dist/cjs/nano-icon_3.cjs.entry.js +3 -3
  10. package/dist/cjs/nano-in-page-nav.cjs.entry.js +1 -1
  11. package/dist/cjs/nano-increment.cjs.entry.js +81 -0
  12. package/dist/cjs/nano-intersection-observe.cjs.entry.js +1 -1
  13. package/dist/cjs/nano-masked-overflow.cjs.entry.js +3 -3
  14. package/dist/cjs/nano-menu-drawer.cjs.entry.js +2 -2
  15. package/dist/cjs/nano-more-less.cjs.entry.js +2 -2
  16. package/dist/cjs/nano-rating.cjs.entry.js +4 -4
  17. package/dist/cjs/nano-resize-observe.cjs.entry.js +2 -2
  18. package/dist/cjs/nano-slide.cjs.entry.js +1 -1
  19. package/dist/cjs/{nano-slides-CFlLOF1V.js → nano-slides-DLbZhf2H.js} +7 -7
  20. package/dist/cjs/nano-slides.cjs.entry.js +1 -1
  21. package/dist/cjs/nano-sortable.cjs.entry.js +1 -1
  22. package/dist/cjs/nano-sticker.cjs.entry.js +2 -2
  23. package/dist/cjs/nano-tab-content.cjs.entry.js +2 -2
  24. package/dist/cjs/nano-tab.cjs.entry.js +2 -2
  25. package/dist/cjs/nano-table.cjs.entry.js +2 -2
  26. package/dist/cjs/{page-dots-B69b5Pqb.js → page-dots-DpnNe0bi.js} +1 -1
  27. package/dist/collection/collection-manifest.json +1 -0
  28. package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
  29. package/dist/collection/components/icon-button/icon-button.css +1 -1
  30. package/dist/collection/components/in-page-nav/in-page-nav.js +2 -2
  31. package/dist/collection/components/increment/increment.css +102 -0
  32. package/dist/collection/components/increment/increment.js +97 -0
  33. package/dist/collection/components/input/input.js +30 -27
  34. package/dist/collection/components/intersection-observe/intersection-observe.js +1 -1
  35. package/dist/collection/components/masked-overflow/masked-overflow.js +3 -3
  36. package/dist/collection/components/menu-drawer/menu-drawer.js +2 -2
  37. package/dist/collection/components/more-less/more-less.js +2 -2
  38. package/dist/collection/components/rating/rating.js +4 -4
  39. package/dist/collection/components/resize-observe/resize-observe.js +2 -2
  40. package/dist/collection/components/select/select.js +7 -7
  41. package/dist/collection/components/slides/slide.js +1 -1
  42. package/dist/collection/components/slides/slides.js +3 -3
  43. package/dist/collection/components/sortable/sortable.js +1 -1
  44. package/dist/collection/components/sticker/sticker.js +2 -2
  45. package/dist/collection/components/table/table.js +2 -2
  46. package/dist/collection/components/tabs/tab-content.js +2 -2
  47. package/dist/collection/components/tabs/tab.js +2 -2
  48. package/dist/collection/components/tooltip/tooltip.js +2 -2
  49. package/dist/components/icon-button.js +1 -1
  50. package/dist/components/input.js +39 -36
  51. package/dist/components/masked-overflow.js +3 -3
  52. package/dist/components/nano-in-page-nav.js +1 -1
  53. package/dist/components/nano-increment.d.ts +11 -0
  54. package/dist/components/nano-increment.js +119 -0
  55. package/dist/components/nano-intersection-observe.js +1 -1
  56. package/dist/components/nano-menu-drawer.js +2 -2
  57. package/dist/components/nano-more-less.js +2 -2
  58. package/dist/components/nano-rating.js +4 -4
  59. package/dist/components/nano-slide.js +1 -1
  60. package/dist/components/nano-sortable.js +1 -1
  61. package/dist/components/nano-tab-content.js +2 -2
  62. package/dist/components/nano-tab.js +2 -2
  63. package/dist/components/nano-table.js +2 -2
  64. package/dist/components/resize-observe.js +2 -2
  65. package/dist/components/select.js +7 -7
  66. package/dist/components/slides.js +3 -3
  67. package/dist/components/sticker.js +2 -2
  68. package/dist/components/tooltip.js +2 -2
  69. package/dist/esm/{fade-CJJNY8cW.js → fade-M1mjf4zm.js} +1 -1
  70. package/dist/esm/{fullscreen-kmgJDkI-.js → fullscreen-BJlrN4_5.js} +1 -1
  71. package/dist/esm/index-DgO0qeQ9.js +4 -0
  72. package/dist/esm/{lazyload-DqTFDE4y.js → lazyload-B6FI3nbb.js} +1 -1
  73. package/dist/esm/loader.js +1 -1
  74. package/dist/esm/nano-avatar_5.entry.js +7 -7
  75. package/dist/esm/nano-components.js +1 -1
  76. package/dist/esm/nano-date-picker_2.entry.js +29 -26
  77. package/dist/esm/nano-icon_3.entry.js +3 -3
  78. package/dist/esm/nano-in-page-nav.entry.js +1 -1
  79. package/dist/esm/nano-increment.entry.js +79 -0
  80. package/dist/esm/nano-intersection-observe.entry.js +1 -1
  81. package/dist/esm/nano-masked-overflow.entry.js +3 -3
  82. package/dist/esm/nano-menu-drawer.entry.js +2 -2
  83. package/dist/esm/nano-more-less.entry.js +2 -2
  84. package/dist/esm/nano-rating.entry.js +4 -4
  85. package/dist/esm/nano-resize-observe.entry.js +2 -2
  86. package/dist/esm/nano-slide.entry.js +1 -1
  87. package/dist/esm/{nano-slides-Bdq8L4lE.js → nano-slides-CI0F1FDY.js} +7 -7
  88. package/dist/esm/nano-slides.entry.js +1 -1
  89. package/dist/esm/nano-sortable.entry.js +1 -1
  90. package/dist/esm/nano-sticker.entry.js +2 -2
  91. package/dist/esm/nano-tab-content.entry.js +2 -2
  92. package/dist/esm/nano-tab.entry.js +2 -2
  93. package/dist/esm/nano-table.entry.js +2 -2
  94. package/dist/esm/{page-dots-BBtKwJtf.js → page-dots-BsFo0sLb.js} +1 -1
  95. package/dist/nano-components/{fade-CJJNY8cW.js → fade-M1mjf4zm.js} +1 -1
  96. package/dist/nano-components/{fullscreen-kmgJDkI-.js → fullscreen-BJlrN4_5.js} +1 -1
  97. package/dist/nano-components/{lazyload-DqTFDE4y.js → lazyload-B6FI3nbb.js} +1 -1
  98. package/dist/nano-components/nano-avatar_5.entry.js +1 -1
  99. package/dist/nano-components/nano-components.css +43 -0
  100. package/dist/nano-components/nano-components.esm.js +1 -1
  101. package/dist/nano-components/nano-date-picker_2.entry.js +1 -1
  102. package/dist/nano-components/nano-icon_3.entry.js +1 -1
  103. package/dist/nano-components/nano-in-page-nav.entry.js +1 -1
  104. package/dist/nano-components/nano-increment.entry.js +4 -0
  105. package/dist/nano-components/nano-intersection-observe.entry.js +1 -1
  106. package/dist/nano-components/nano-masked-overflow.entry.js +1 -1
  107. package/dist/nano-components/nano-menu-drawer.entry.js +1 -1
  108. package/dist/nano-components/nano-more-less.entry.js +1 -1
  109. package/dist/nano-components/nano-rating.entry.js +1 -1
  110. package/dist/nano-components/nano-resize-observe.entry.js +1 -1
  111. package/dist/nano-components/nano-slide.entry.js +1 -1
  112. package/dist/nano-components/{nano-slides-Bdq8L4lE.js → nano-slides-CI0F1FDY.js} +2 -2
  113. package/dist/nano-components/nano-slides.entry.js +1 -1
  114. package/dist/nano-components/nano-sortable.entry.js +1 -1
  115. package/dist/nano-components/nano-sticker.entry.js +1 -1
  116. package/dist/nano-components/nano-tab-content.entry.js +1 -1
  117. package/dist/nano-components/nano-tab.entry.js +1 -1
  118. package/dist/nano-components/nano-table.entry.js +1 -1
  119. package/dist/nano-components/{page-dots-BBtKwJtf.js → page-dots-BsFo0sLb.js} +1 -1
  120. package/dist/style/components.css +1 -1
  121. package/dist/style/components.css.map +1 -1
  122. package/dist/style/nano.css +1 -1
  123. package/dist/style/nano.css.map +1 -1
  124. package/dist/types/components/in-page-nav/in-page-nav.d.ts +1 -1
  125. package/dist/types/components/increment/increment.d.ts +19 -0
  126. package/dist/types/components/input/input.d.ts +6 -2
  127. package/dist/types/components.d.ts +33 -4
  128. package/dist/wdio.conf.js +2 -2
  129. package/docs-json.json +46 -4
  130. package/docs-vscode.json +10 -2
  131. package/hydrate/index.js +157 -65
  132. package/hydrate/index.mjs +157 -65
  133. package/package.json +2 -2
  134. /package/dist/types/builds/{W1hp42tj → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/generate-vue-component.d.ts +0 -0
  135. /package/dist/types/builds/{W1hp42tj → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/index.d.ts +0 -0
  136. /package/dist/types/builds/{W1hp42tj → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/output-vue.d.ts +0 -0
  137. /package/dist/types/builds/{W1hp42tj → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/plugin.d.ts +0 -0
  138. /package/dist/types/builds/{W1hp42tj → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/types.d.ts +0 -0
  139. /package/dist/types/builds/{W1hp42tj → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/utils.d.ts +0 -0
  140. /package/dist/types/builds/{W1hp42tj → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/stencil.config.d.ts +0 -0
  141. /package/dist/types/builds/{W1hp42tj → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/stencil.config.prod.d.ts +0 -0
  142. /package/dist/types/builds/{W1hp42tj → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/testing/mocks/intersection-observer.d.ts +0 -0
  143. /package/dist/types/builds/{W1hp42tj → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/wdio.conf.d.ts +0 -0
@@ -393,6 +393,7 @@ const Input = class {
393
393
  pickerDropdown;
394
394
  picker;
395
395
  pickerCloseBtn;
396
+ shouldValidate = false;
396
397
  // we don't want these rendered eles decorated with @State
397
398
  // because that will cause re-renders. User get/set to set datalist options
398
399
  _nativeInputWrap;
@@ -579,7 +580,9 @@ const Input = class {
579
580
  */
580
581
  step;
581
582
  /**
582
- * The initial size of the control. This value is in pixels unless the value of the type attribute is `"text"` or `"password"`, in which case it is an integer number of characters. This attribute applies only when the `type` attribute is set to `"text"`, `"search"`, `"tel"`, `"url"`, `"email"`, or `"password"`, otherwise it is ignored.
583
+ * The initial size of the control. This value is in pixels unless the value of the type attribute
584
+ * is `"text"` or `"password"`, in which case it is an integer number of characters.
585
+ * This attribute applies only when the `type` attribute is set to `"text"`, `"search"`, `"tel"`, `"url"`, `"email"`, or `"password"`, otherwise it is ignored.
583
586
  */
584
587
  size;
585
588
  /**
@@ -613,10 +616,7 @@ const Input = class {
613
616
  this.nativeInput.setCustomValidity('');
614
617
  }
615
618
  }
616
- requestAnimationFrame(() => {
617
- if (this.validateOn === 'dirty')
618
- this.validate();
619
- });
619
+ this.shouldValidate = true;
620
620
  }
621
621
  /** Represents the value of the input or NaN if numeric conversion is impossible */
622
622
  get valueAsNumber() {
@@ -634,13 +634,10 @@ const Input = class {
634
634
  * Whether to show a character count / remaining count when using the `maxlength` attribute.
635
635
  */
636
636
  showCharCount = false;
637
- shouldValidate() {
637
+ handleValidatePropChange() {
638
638
  if (!this.hasRendered)
639
639
  return;
640
- requestAnimationFrame(() => {
641
- if (this.validateOn === 'dirty')
642
- this.validate();
643
- });
640
+ this.shouldValidate = true;
644
641
  }
645
642
  ///// TYPE SPECIFIC PROPS /////
646
643
  /**
@@ -795,7 +792,7 @@ const Input = class {
795
792
  validate = (ev) => {
796
793
  if (this.validateOn === 'submitThenDirty')
797
794
  this.validateOn = 'dirty';
798
- if (!this.nativeInput.validity.valid) {
795
+ if (!this.nativeInput.validity?.valid) {
799
796
  if (this.showInlineError) {
800
797
  if (ev)
801
798
  ev.preventDefault();
@@ -908,6 +905,12 @@ const Input = class {
908
905
  componentWillLoad() {
909
906
  this.processSlottedContent();
910
907
  }
908
+ componentDidRender() {
909
+ if (this.shouldValidate) {
910
+ this.validate();
911
+ this.shouldValidate = false;
912
+ }
913
+ }
911
914
  render() {
912
915
  const value = this.getValue();
913
916
  const labelId = this.inputId + '-lbl';
@@ -946,18 +949,18 @@ const Input = class {
946
949
  disabled,
947
950
  clearControl: this.clearable,
948
951
  }))(this);
949
- return (renderer.h(index.Host, { key: '16dd92ebcfae29b11e9edf2d889a4c200f5a3b8f', "aria-disabled": this.disabled ? 'true' : null, class: {
952
+ return (renderer.h(index.Host, { key: '636d7624bcfe136a0e93b55cf9fc38e272f7aed6', "aria-disabled": this.disabled ? 'true' : null, class: {
950
953
  'has-value': this.hasValue(),
951
954
  'has-focus': this.hasFocus,
952
955
  'is-invalid': this._invalid === true,
953
956
  'is-valid': this._invalid === false,
954
957
  'nano-input': true,
955
- } }, renderer.h("div", { key: '67bb63b071a14d064aaa9d5686f27fc42adc8919', style: { width: '100%' } }, renderer.h(formControl.FormControlWrap, { key: '89e15db88ec24f06948bcb8b193bbf84de5ff168', ...wrapOptions, class: {
958
+ } }, renderer.h("div", { key: '942db1636f7d08dd581359b66df66ebf080d23ae', style: { width: '100%' } }, renderer.h(formControl.FormControlWrap, { key: 'd944b897545398b51ab0a76e1f8d62c57cd85843', ...wrapOptions, class: {
956
959
  'has-helper': this.hasHelperSlot,
957
960
  'has-error': !!this.errorMessage &&
958
961
  this.showInlineError &&
959
962
  this._invalid === true,
960
- } }, renderer.h(formControl.FormControl, { key: 'd23e96a2638e5d12fac93e125fbb201cf866c02c', ...controlOptions, onClearText: this.clearTextInput, control: this.el, ref: (el) => (this.nativeInputWrap = el), showInlineError: this.showInlineError, endSlot: this.showPicker &&
963
+ } }, renderer.h(formControl.FormControl, { key: 'efd29f841ff0724228fc47754a5aad8d82f88d49', ...controlOptions, onClearText: this.clearTextInput, control: this.el, ref: (el) => (this.nativeInputWrap = el), showInlineError: this.showInlineError, endSlot: this.showPicker &&
961
964
  this.type === 'date' &&
962
965
  !this.readonly &&
963
966
  !this.disabled && [
@@ -972,25 +975,25 @@ const Input = class {
972
975
  this.value = e.detail.value;
973
976
  this.pickerDropdown?.hide();
974
977
  }, min: this.min, max: this.max, "is-modal": true, selectedDate: this.value || this.initialPickerDate || undefined }))),
975
- ] }, this.type !== 'textarea' && (renderer.h("input", { key: '2633a8fc4d57349beb0e53295fd1f424fa3db428', id: this.inputId, class: "input__native-ctrl", ref: (input) => (this.nativeInput = input), "aria-labelledby": labelId + ' ' + moreId + ' ' + helperEndId, disabled: this.disabled, accept: this.accept, autoCapitalize: this.autocapitalise, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, inputMode: this.inputmode, form: this.form, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, size: this.size, type: this.type, value: value, onInput: this.onInput, onClick: (e) => e.preventDefault(), onChange: this.onInput, onFocus: this.onFocus, onBlur: this.handleBlur, onKeyDown: this.onKeydown, onInvalid: this.validate })), this.type === 'textarea' && (renderer.h("textarea", { key: 'd9de96539d7cee13171b7ac3b6dcef2222071693', rows: this.floatLabel ? 1 : this.rows, id: this.inputId, class: {
978
+ ] }, this.type !== 'textarea' && (renderer.h("input", { key: 'ce5547777de11926717b27712f7d687171d0dde7', id: this.inputId, class: "input__native-ctrl", ref: (input) => (this.nativeInput = input), "aria-labelledby": labelId + ' ' + moreId + ' ' + helperEndId, disabled: this.disabled, accept: this.accept, autoCapitalize: this.autocapitalise, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, inputMode: this.inputmode, form: this.form, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, size: this.size, type: this.type, value: value, onInput: this.onInput, onClick: (e) => e.preventDefault(), onChange: this.onInput, onFocus: this.onFocus, onBlur: this.handleBlur, onKeyDown: this.onKeydown, onInvalid: this.validate })), this.type === 'textarea' && (renderer.h("textarea", { key: 'e1dc2377200cdccda85cdbb6cda08a49d8459c1e', rows: this.floatLabel ? 1 : this.rows, id: this.inputId, class: {
976
979
  'input__native-ctrl': true,
977
980
  input__resizable: this.resize === 'true',
978
- }, ref: (input) => (this.nativeInput = input), "aria-labelledby": labelId + ' ' + moreId + ' ' + helperEndId, disabled: this.disabled, autoCapitalize: this.autocapitalise, autoCorrect: this.autocorrect, autoFocus: this.autofocus, inputMode: this.inputmode, form: this.form, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, value: value, onInput: this.onInput, onChange: this.onInput, onFocus: this.onFocus, onKeyDown: this.onKeydown, onInvalid: this.validate, onBlur: this.handleBlur })))), renderer.h("slot", { key: '1df88e79279640f50480f8f9eeffcd0cea038913' }))));
981
+ }, ref: (input) => (this.nativeInput = input), "aria-labelledby": labelId + ' ' + moreId + ' ' + helperEndId, disabled: this.disabled, autoCapitalize: this.autocapitalise, autoCorrect: this.autocorrect, autoFocus: this.autofocus, inputMode: this.inputmode, form: this.form, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, value: value, onInput: this.onInput, onChange: this.onInput, onFocus: this.onFocus, onKeyDown: this.onKeydown, onInvalid: this.validate, onBlur: this.handleBlur })))), renderer.h("slot", { key: '564511c369dc13eb85cbf7e1c48b5d5fbbea8679' }))));
979
982
  }
980
983
  static get watchers() { return {
981
984
  "datalist": ["setDataListOpts"],
982
985
  "debounce": ["debounceChanged"],
983
986
  "value": ["valueChanged"],
984
- "minlength": ["shouldValidate"],
985
- "maxlength": ["shouldValidate"],
986
- "min": ["shouldValidate"],
987
- "max": ["shouldValidate"],
988
- "required": ["shouldValidate"],
989
- "disabled": ["shouldValidate"],
990
- "readonly": ["shouldValidate"],
991
- "pattern": ["shouldValidate"],
992
- "inputmode": ["shouldValidate"],
993
- "type": ["shouldValidate"]
987
+ "minlength": ["handleValidatePropChange"],
988
+ "maxlength": ["handleValidatePropChange"],
989
+ "min": ["handleValidatePropChange"],
990
+ "max": ["handleValidatePropChange"],
991
+ "required": ["handleValidatePropChange"],
992
+ "disabled": ["handleValidatePropChange"],
993
+ "readonly": ["handleValidatePropChange"],
994
+ "pattern": ["handleValidatePropChange"],
995
+ "inputmode": ["handleValidatePropChange"],
996
+ "type": ["handleValidatePropChange"]
994
997
  }; }
995
998
  };
996
999
  Input.style = inputCss;
@@ -324,7 +324,7 @@ const Icon = class {
324
324
  };
325
325
  Icon.style = iconCss;
326
326
 
327
- const iconButtonCss = ":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}}:host{--border-radius:none;--active-color:var(--nano-color-neutral-800);--hover-color:var(--nano-color-primary-1100);--padding:var(--nano-spacing-xs);--box-shadow:none;--button-bg:transparent;color:currentcolor;border-radius:var(--border-radius);display:inline-block}.icon-button{flex:0 0 auto;display:flex;align-items:center;border:none;border-radius:inherit;background:var(--button-bg);font-size:inherit;color:inherit;padding:var(--padding);cursor:pointer;appearance:none;box-shadow:var(--box-shadow)}.icon-button:hover:not(.icon-button--disabled),.icon-button:focus:not(.icon-button--disabled){color:var(--hover-color)}.icon-button:active:not(.icon-button--disabled){color:var(--active-color)}.icon-button:focus-visible:not(.icon-button--disabled){outline:var(--nano-focus-ring);outline-offset:var(--nano-focus-ring-offset)}.icon-button__label{clip-path:inset(50%);block-size:1px;overflow:hidden;position:absolute;white-space:nowrap;inline-size:1px}:host([disabled]:not([disabled=false])){opacity:0.5;cursor:not-allowed}.icon-button--disabled{pointer-events:none}";
327
+ const iconButtonCss = ":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}}:host{--border-radius:none;--active-color:var(--nano-color-neutral-800);--hover-color:var(--nano-color-primary-1100);--padding:var(--nano-spacing-xs);--box-shadow:none;--button-bg:transparent;color:currentcolor;border-radius:var(--border-radius);display:inline-block}.icon-button{flex:0 0 auto;display:flex;align-items:center;border:none;border-radius:inherit;background:inherit;font-size:inherit;color:inherit;padding:var(--padding);cursor:pointer;appearance:none;box-shadow:var(--box-shadow)}.icon-button:hover:not(.icon-button--disabled),.icon-button:focus:not(.icon-button--disabled){color:var(--hover-color)}.icon-button:active:not(.icon-button--disabled){color:var(--active-color)}.icon-button:focus-visible:not(.icon-button--disabled){outline:var(--nano-focus-ring);outline-offset:var(--nano-focus-ring-offset)}.icon-button__label{clip-path:inset(50%);block-size:1px;overflow:hidden;position:absolute;white-space:nowrap;inline-size:1px}:host([disabled]:not([disabled=false])){opacity:0.5;cursor:not-allowed}.icon-button--disabled{pointer-events:none}";
328
328
 
329
329
  const IconButton = class {
330
330
  constructor(hostRef) {
@@ -638,10 +638,10 @@ const Tooltip = class {
638
638
  this.popover.destroy();
639
639
  }
640
640
  render() {
641
- return (renderer.h(index.Host, { key: 'e40973f692133fa62e3b8d3eb6e95f12a5ffdecc', onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onMouseOut: this.handleMouseOut, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick, class: "nano-tooltip" }, renderer.h("slot", { key: '4d6c1b5714414834a159379e6cd6621081ffa826', onSlotchange: this.handleSlotChange }), renderer.h("div", { key: '66b8165ff9c32e9e534c9957ef8c6cba41c046ce', ref: (el) => (this.tooltipPositioner = el), class: "tooltip-positioner", popover: "manual" }, renderer.h("div", { key: '7c236b1851eb1f756ab62295a83c4803f96d51b4', part: "base", ref: (el) => (this.tooltip = el), class: {
641
+ return (renderer.h(index.Host, { key: '88500e56b7cc79e344604bfb9ffc54f2c7884c16', onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onMouseOut: this.handleMouseOut, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick, class: "nano-tooltip" }, renderer.h("slot", { key: '6ff00a2034648eb7cde6bb7e7ba1bc0dcf611238', onSlotchange: this.handleSlotChange }), renderer.h("div", { key: 'e278b67db89953ef0a174b50f5aa28e101e8e83d', ref: (el) => (this.tooltipPositioner = el), class: "tooltip-positioner", popover: "manual" }, renderer.h("div", { key: '226bc518e38502e1a864c26a265abb01cfdb918e', part: "base", ref: (el) => (this.tooltip = el), class: {
642
642
  tooltip: true,
643
643
  'tooltip--open': this.open,
644
- }, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, renderer.h("slot", { key: '1af58ea47a9e82a176295497b8641ef1996d2d8b', name: "content", onSlotchange: () => this.setLabel() }, this.content), renderer.h("div", { key: '7eabacc06a2cf9179feb32c3392ae096f0b3b23e', class: "tooltip-arrow", "data-popper-arrow": true })))));
644
+ }, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, renderer.h("slot", { key: '6245d2904946b690c9c3ea4e902fa5d789473110', name: "content", onSlotchange: () => this.setLabel() }, this.content), renderer.h("div", { key: '8ddc4c34d70107ade21b7b53827d3c37e6744d2e', class: "tooltip-arrow", "data-popper-arrow": true })))));
645
645
  }
646
646
  static get watchers() { return {
647
647
  "content": ["setLabel"],
@@ -53,7 +53,7 @@ const NanoInPageNav = class {
53
53
  return node;
54
54
  }
55
55
  render() {
56
- return (renderer.h(index.Host, { key: 'd02d05e95dc01cff50937560be67f81e36c692e0', class: "nano-in-page-nav" }, renderer.h("nav", { key: '8109f7fc65b9ad5e05728db1d79e8cbe6fd2e8f6', part: "root" }, (this.slotCtrl.has('back') || this.slotCtrl.has('accessory')) && (renderer.h("div", { key: '5b1bda413e8d37f2cde12863ec05a0571070f25d', class: "header" }, renderer.h("slot", { key: 'a598d76293559bb215129001635e758959115e24', name: "back" }), renderer.h("slot", { key: 'd263bbdeb8f47f14a692db7575d1c516cbfe4334', name: "accessory" }))), renderer.h("div", { key: '53ad7e52f66d837d1abe6f37e73f4ff18c61161d', class: "desktop-nav" }, renderer.h("slot", { key: '2740d35f92ccc13add4951ce0f569d755b7a55b7' })), renderer.h("nano-details", { key: '5d1707523462beb705c68821f5a2f526561aec7c', label: "Menu", class: "details-wrapper mobile-nav", ref: (el) => (this.mobileNavWrapper = el) }))));
56
+ return (renderer.h(index.Host, { key: '5fc7993edd48363da225ffce7e8d3dad8689e761', class: "nano-in-page-nav" }, renderer.h("nav", { key: '4cc75849661bb1e2fd144ac075a693ce9e5af58f', part: "root" }, (this.slotCtrl.has('back') || this.slotCtrl.has('accessory')) && (renderer.h("div", { key: '286df7a444423180967750017575414cce154b0d', class: "header" }, renderer.h("slot", { key: '255d81a0c2d26b0069a83a08e552e6afeb035295', name: "back" }), renderer.h("slot", { key: 'c939561b8be1b4a479e1f0c01684f5dd0a3014ce', name: "accessory" }))), renderer.h("div", { key: '411231a64e23575d76722f59446567f5cd68575e', class: "desktop-nav" }, renderer.h("slot", { key: '892a93de5de705e392b687ee62ab89c17bcc349a' })), renderer.h("nano-details", { key: '34d89f9f7927db1cb817124cf0d053f88963484c', label: "Menu", class: "details-wrapper mobile-nav", ref: (el) => (this.mobileNavWrapper = el) }))));
57
57
  }
58
58
  };
59
59
  NanoInPageNav.style = inPageNavCss;
@@ -0,0 +1,81 @@
1
+ /*!
2
+ * Custom elements for Nanopore-Digital Web applications
3
+ */
4
+ 'use strict';
5
+
6
+ var index = require('./index-Bp8uD6Gl.js');
7
+ var renderer = require('./renderer-BiFPhR1V.js');
8
+
9
+ const incrementCss = ":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}}:host{display:inline-block}.root{display:grid;grid-template-columns:min-content auto 1fr;grid-template-rows:max-content max-content;align-items:stretch}::slotted(*){text-align:center}nano-icon-button{background:var(--nano-color-base-0);color:var(--nano-color-primary-1000);display:flex;border-radius:var(--nano-border-radius-pill);position:relative;z-index:1;inline-size:fit-content;block-size:100%}nano-icon-button:hover{background:var(--nano-color-primary-100)}nano-icon-button:active{background:var(--nano-color-primary-300)}nano-icon-button::part(base){border:1px solid var(--nano-color-neutral-300)}nano-icon-button::part(base):focus-visible{outline:var(--nano-focus-ring-color) solid 3px;outline-offset:-2px}.minus{grid-column:1;grid-row:1}.minus nano-icon-button{--padding:0.4375em 0.625em 0.4375em 1.125em;border-start-end-radius:0;border-end-end-radius:0}.minus nano-icon-button::part(base){border-inline-end:none}.plus{grid-column:3;grid-row:1}.plus nano-icon-button{--padding:0.4375em 1.125em 0.4375em 0.625em;border-start-start-radius:0;border-end-start-radius:0}.plus nano-icon-button::part(base){border-inline-start:none}";
10
+
11
+ const NanoIncrement = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ }
15
+ get host() { return index.getElement(this); }
16
+ inputElement;
17
+ ignoreInputChange = false;
18
+ inputElementChanged(_newValue, oldValue) {
19
+ if (oldValue) {
20
+ oldValue.removeEventListener('nanoChange', this.inputChangeHandler);
21
+ }
22
+ if (this.inputElement) {
23
+ this.inputElement.label = this.inputElement.label || 'Increment value';
24
+ this.inputElement.hideLabel = true;
25
+ this.inputElement.type = 'number';
26
+ this.inputElement.max = this.inputElement.max || '10';
27
+ this.inputElement.min = this.inputElement.min || '0';
28
+ this.inputElement.step = this.inputElement.step || '1';
29
+ this.inputElement.value = this.inputElement.value || '0';
30
+ this.inputElement.addEventListener('nanoChange', this.inputChangeHandler);
31
+ }
32
+ }
33
+ inputChangeHandler = () => {
34
+ if (!this.ignoreInputChange) {
35
+ this.ignoreInputChange = true;
36
+ let value = Number(this.inputElement.value);
37
+ value = isNaN(value) ? 0 : value;
38
+ value = Math.max(value, parseFloat(this.inputElement.min) || 0);
39
+ value = Math.min(value, parseFloat(this.inputElement.max) || Infinity);
40
+ this.inputElement.value = value.toString();
41
+ requestAnimationFrame(() => {
42
+ this.ignoreInputChange = false;
43
+ });
44
+ }
45
+ };
46
+ handleSlotChange = () => {
47
+ this.inputElement = this.host.querySelector('nano-input');
48
+ };
49
+ handleMinus = () => {
50
+ if (this.inputElement) {
51
+ const currentValue = parseFloat(this.inputElement.value) || 0;
52
+ const step = parseFloat(this.inputElement.step) || 1;
53
+ const newValue = Math.max(currentValue - step, parseFloat(this.inputElement.min) || 0);
54
+ this.ignoreInputChange = true;
55
+ this.inputElement.value = newValue.toString();
56
+ this.ignoreInputChange = false;
57
+ }
58
+ };
59
+ handlePlus = () => {
60
+ if (this.inputElement) {
61
+ const currentValue = parseFloat(this.inputElement.value) || 0;
62
+ const step = parseFloat(this.inputElement.step) || 1;
63
+ const newValue = Math.min(currentValue + step, parseFloat(this.inputElement.max) || Infinity);
64
+ this.ignoreInputChange = true;
65
+ this.inputElement.value = newValue.toString();
66
+ this.ignoreInputChange = false;
67
+ }
68
+ };
69
+ componentWillLoad() {
70
+ this.handleSlotChange();
71
+ }
72
+ render() {
73
+ return (renderer.h(index.Host, { key: 'fab6b5bdecb8ccd3661d7054e08d66a46c2dd0a8', class: "nano-increment" }, renderer.h("div", { key: 'c064903981622ce66ac3a19efce6d595d59b7ed0', class: "root" }, renderer.h("div", { key: '447735cf16956d0ae172cc2bb1b3a7ffffd7fa0c', class: "minus" }, renderer.h("nano-icon-button", { key: '24e73eee061669ea0dd5423bae53886bed60478a', iconName: "light/minus", label: "Decrement", onClick: this.handleMinus })), renderer.h("slot", { key: '855358fe5a99004f52432dd42cf8c986f67afe69', onSlotchange: this.handleSlotChange }), renderer.h("div", { key: '17b1a5d9988023f4869489beffd697f4329a1d61', class: "plus" }, renderer.h("nano-icon-button", { key: '8b2e763e3f871355085e13b20a26f751c153a329', iconName: "light/plus", label: "Increment", onClick: this.handlePlus })))));
74
+ }
75
+ static get watchers() { return {
76
+ "inputElement": ["inputElementChanged"]
77
+ }; }
78
+ };
79
+ NanoIncrement.style = incrementCss;
80
+
81
+ exports.nano_increment = NanoIncrement;
@@ -145,7 +145,7 @@ const IntersectionObserve = class {
145
145
  this.removeIO();
146
146
  }
147
147
  render() {
148
- return (renderer.h(index.Host, { key: 'fadea9249456081d56c6c925c031446aad97fac4', class: "nano-intersection-observe" }, renderer.h("slot", { key: '95226a878c5f66dae5d7483404c8b0acd7ca5c44', ref: (slot) => (this.defaultSlot = slot), onSlotchange: this.handleSlotChange })));
148
+ return (renderer.h(index.Host, { key: 'be24c77cb033ff3fdb33b37cd8414edd99785795', class: "nano-intersection-observe" }, renderer.h("slot", { key: 'e1cf1e9175a9249c6f6f5b202d27a3f9bf937bac', ref: (slot) => (this.defaultSlot = slot), onSlotchange: this.handleSlotChange })));
149
149
  }
150
150
  static get watchers() { return {
151
151
  "root": ["handleRootChange"],
@@ -317,7 +317,7 @@ const MaskedOverflow = class {
317
317
  }
318
318
  }
319
319
  render() {
320
- return (renderer.h(index.Host, { key: '863c3de5a680e075066e21ce42e76c299bb1fd68', dir: this.isRtl ? 'rtl' : null, class: "nano-masked-overflow", "has-scroll-controls": this.hasScrollControls }, renderer.h("div", { key: 'c0a3c54c8149762e4eec11cb8a4c112cd0faff29', part: "base", class: {
320
+ return (renderer.h(index.Host, { key: '5e3818d9ff886b75194db22fd7f42af484fe17d7', dir: this.isRtl ? 'rtl' : null, class: "nano-masked-overflow", "has-scroll-controls": this.hasScrollControls }, renderer.h("div", { key: '991fa196ffc2eb42c907519bb8187f15c9868161', part: "base", class: {
321
321
  onav: true,
322
322
  [`onav--${this.orientation}`]: true,
323
323
  'onav--has-scroll-controls': this.hasScrollControls,
@@ -326,12 +326,12 @@ const MaskedOverflow = class {
326
326
  'onav--no-transitions': this.instantReCalc,
327
327
  'onnav--has-indicator': this.showIndicator,
328
328
  'onnav--hide-scrollbars': this.hideScrollbars && this.hideScrollbars !== 'false',
329
- }, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, renderer.h("div", { key: '96b342204d45cb3f602ed22c1744cc4ee1046b9f', class: "onav__nav" }, this.scrollControls && (renderer.h("nano-icon-button", { key: 'cdb6b42a35dcc623c01d613a1a80a2884f79c52a', part: "scroll-button scroll-button-prev", class: {
329
+ }, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, renderer.h("div", { key: 'e6958d0060691af605afa2c6fd53194b4284f29d', class: "onav__nav" }, this.scrollControls && (renderer.h("nano-icon-button", { key: '167bb7fa1450371ceab4dc8467e5debbd672101f', part: "scroll-button scroll-button-prev", class: {
330
330
  'onav__scroll-button': true,
331
331
  'onav__scroll-button--start': true,
332
332
  }, ref: (btn) => (this.startBtn = btn), onClick: () => this.handleBtnClick(false), label: "Click to scroll", iconName: this.orientation === 'horizontal'
333
333
  ? 'light/chevron-left'
334
- : 'light/chevron-up' })), renderer.h("div", { key: 'bb7148f21545d1b2271971f8a3b2e2d0b6754469', part: "scroller", ref: (el) => (this.nav = el), class: "onav__scroller", onScroll: this.handleScroll, tabindex: this.hasScrollControls ? 0 : undefined, role: "region", "aria-label": this.label || undefined }, renderer.h("div", { key: '910e8182d8991fb34ec51991cd006b72372bb6df', part: "items", ref: (el) => (this.itemContainer = el), class: "onav__items" }, this.showIndicator && (renderer.h("div", { key: 'aa7689c07f6fdad49e06a8e642ded946e818797b', part: "indicator", ref: (el) => (this.activeIndicator = el), class: "onav__active-indicator" })), renderer.h("slot", { key: '605140127b6168f7a3376dbdcd51b328d267d3ac', onSlotchange: this.slotChangeHandler }))), this.scrollControls && (renderer.h("nano-icon-button", { key: 'e0545529e2d704964ec0c43ce3fa113bc9ce623e', part: "scroll-button scroll-button-next", class: {
334
+ : 'light/chevron-up' })), renderer.h("div", { key: '8d8d7c305c0c89738d9660aff6b75ca029506ab7', part: "scroller", ref: (el) => (this.nav = el), class: "onav__scroller", onScroll: this.handleScroll, tabindex: this.hasScrollControls ? 0 : undefined, role: "region", "aria-label": this.label || undefined }, renderer.h("div", { key: 'fdd83d15c431538a2992887e58aed07e9393d411', part: "items", ref: (el) => (this.itemContainer = el), class: "onav__items" }, this.showIndicator && (renderer.h("div", { key: 'a1fba6d2c2e62e05b5a062c563f22c8e2b0222a4', part: "indicator", ref: (el) => (this.activeIndicator = el), class: "onav__active-indicator" })), renderer.h("slot", { key: 'a6d602d437702479bd67d71bd5ac838d0ae02941', onSlotchange: this.slotChangeHandler }))), this.scrollControls && (renderer.h("nano-icon-button", { key: '30eae4cf86f7bead75734736b7192420255a64fc', part: "scroll-button scroll-button-next", class: {
335
335
  'onav__scroll-button': true,
336
336
  'onav__scroll-button--end': true,
337
337
  }, ref: (btn) => (this.endBtn = btn), onClick: () => this.handleBtnClick(true), label: "Click to scroll", iconName: this.orientation === 'horizontal'
@@ -142,13 +142,13 @@ const MenuDrawer = class {
142
142
  }
143
143
  }
144
144
  render() {
145
- return (renderer.h(index.Host, { key: '89b031c7018b39c700e567da7be78c32640e3ebb', class: {
145
+ return (renderer.h(index.Host, { key: 'dd1bf1e9e1ac1205955cae2e5d35a331e4f0bd93', class: {
146
146
  open: this.open,
147
147
  hide: this.hide,
148
148
  loading: this.isLoading,
149
149
  'has-global-nav': !!this.globalNav,
150
150
  'nano-menu-drawer': true,
151
- }, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : null }, renderer.h("div", { key: '1d5e20b713018df3ffba0522fcdcc3aa8464fbcb', ref: (div) => (this.containerDiv = div), class: "container" }, renderer.h("div", { key: '495e7c951a87dfa07542b00c52a02dc04c67d914', class: "content-wrap" }, renderer.h("nav", { key: '8d358809689ff0dfc5a64f363fe461fcc1d2184a', ref: (div) => (this.contentDiv = div), class: "content" }, renderer.h("div", { key: 'e30b5d1e7e6888a6989141f038d97cf14df77b88', class: "head" }, renderer.h("button", { key: '586cedfc3daab88447b0c8f8756b3eebd99b0ea0', onClick: this.toggle, class: "collapse-btn" }, renderer.h("nano-icon", { key: '3f8b68ed1ac88478c75925108fded997ce0a5334', name: "light/arrow-right-to-line" }), renderer.h("span", { key: 'd9babd8d5f2c5930cd95e842e8b2b35d78f94500', class: "visually-hidden" }, "collapse / expand menu"))), renderer.h("slot", { key: 'b13f35ac984a7817b1cc633b1e86de4c0e6dfccc' }), this.slotCtrl.has('foot') && (renderer.h("div", { key: '4844932d4e9ab109c60ac5782be125b8acc01d19', class: "foot" }, renderer.h("slot", { key: 'a3f98a1a614ae6d8bb41ddac062c16f410ab1411', name: "foot" }))))))));
151
+ }, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : null }, renderer.h("div", { key: 'dce4ceabb7095839407fab9bd02b866465408280', ref: (div) => (this.containerDiv = div), class: "container" }, renderer.h("div", { key: '1593061407c3f9b71a361b85d230625e9fb32a90', class: "content-wrap" }, renderer.h("nav", { key: 'c0f8d1bfd80fbebdc25af588bcd3cca7700a9f16', ref: (div) => (this.contentDiv = div), class: "content" }, renderer.h("div", { key: 'cd3365f2e892fb6a0937bfa60f325d8e6b960b46', class: "head" }, renderer.h("button", { key: '25adf7263cffa74b5c6a0f043bafdf4a955609a1', onClick: this.toggle, class: "collapse-btn" }, renderer.h("nano-icon", { key: 'fb33ef8b4d05214079543192bbf7afe5d12ceb61', name: "light/arrow-right-to-line" }), renderer.h("span", { key: '5da28bdc3d935c4d79db287f07365a026479b177', class: "visually-hidden" }, "collapse / expand menu"))), renderer.h("slot", { key: '30c573abc66a4e9ba19aedafab09f3118c54df4a' }), this.slotCtrl.has('foot') && (renderer.h("div", { key: '15c4d2f3dbfa2f3fc91118c26d363acf2b2d0907', class: "foot" }, renderer.h("slot", { key: 'feb931841bfdf4602769bc421df2ad7c4427ee8d', name: "foot" }))))))));
152
152
  }
153
153
  static get watchers() { return {
154
154
  "open": ["openChange"]
@@ -54,8 +54,8 @@ const Rating = class {
54
54
  this.handleShowHideElements();
55
55
  }
56
56
  render() {
57
- return (renderer.h(index.Host, { key: '5ccbcf0f959cfb7a8bb7129fc51abe50bd7a17df', class: "nano-more-less" }, renderer.h("slot", { key: '27de5552101abfb3d429dab53644cda08f7ae79a', onSlotchange: () => this.handleShowHideElements() }), this.children?.length > this.maxToShow && [
58
- renderer.h("div", { key: 'c5993ec5fabf6fb7df410b755f342e9f5f9b0edf', style: { display: this.show ? 'none' : 'contents' }, class: "button-wrapper", part: "button-wrapper button-wrapper--less", onClick: (e) => this.handleClick(e) }, renderer.h("slot", { key: 'a5e09cf1270c4aa9b15b2d0b351e4ba819e75aa0', name: "less" }, renderer.h("button", { key: '5404c1cf590f8028d430198c99463b70da94c4b6', part: "button button--less" }, "Show more (+", this.children.length - this.maxToShow, ")"))),
57
+ return (renderer.h(index.Host, { key: 'fbb60961810fe863ebebc729cbe4ecb955608c82', class: "nano-more-less" }, renderer.h("slot", { key: '6823f661e722640622d421c96244cd4a0eee1953', onSlotchange: () => this.handleShowHideElements() }), this.children?.length > this.maxToShow && [
58
+ renderer.h("div", { key: '134fadd869470a34cbd21b06d9cc2c85fc4e614c', style: { display: this.show ? 'none' : 'contents' }, class: "button-wrapper", part: "button-wrapper button-wrapper--less", onClick: (e) => this.handleClick(e) }, renderer.h("slot", { key: '62544d207ac12171da4905e3006e26113b1b0189', name: "less" }, renderer.h("button", { key: '54badba3d736faf5b2b686ec989998a4319c5001', part: "button button--less" }, "Show more (+", this.children.length - this.maxToShow, ")"))),
59
59
  !this.noHideBtn ? (renderer.h("div", { style: { display: this.show ? 'contents' : 'none' }, class: "button-wrapper", part: "button-wrapper button-wrapper--more", onClick: (e) => this.handleClick(e) }, renderer.h("slot", { name: "more" }, renderer.h("button", { part: "button button--more" }, "Show less (-", this.children.length - this.maxToShow, ")")))) : (''),
60
60
  ]));
61
61
  }
@@ -195,20 +195,20 @@ const Rating = class {
195
195
  else {
196
196
  displayValue = this.isHovering ? this.hoverValue : this.value;
197
197
  }
198
- return (renderer.h(index.Host, { key: '13d84ec7e59b702b04ec39218e18c350239d7b93', class: "nano-rating" }, renderer.h("label", { key: '1b5f27fdee72213e088437dd848a8573120cae9b', class: `rating-label${this.hideLabel ? ' visually-hidden' : ''}`, part: "label", htmlFor: this.name }, renderer.h("slot", { key: 'e81487e62a318229a3bf086b14927a51dde28e79', name: "label" }, this.label)), renderer.h("input", { key: '1b61bf51b63f6e9b24e5e18630ea6c3997971304', class: "range-input visually-hidden", name: this.name, id: this.name, disabled: this.disabled || this.readonly, required: this.required, value: this.value, onFocus: () => {
198
+ return (renderer.h(index.Host, { key: 'df7dc8a018d6d786e47134a2b9896a4cf2e87074', class: "nano-rating" }, renderer.h("label", { key: '7d9861c77bd39e075b1d9f75b24a5390efcbb42e', class: `rating-label${this.hideLabel ? ' visually-hidden' : ''}`, part: "label", htmlFor: this.name }, renderer.h("slot", { key: 'f2406ae04779c885c9968513d4e33d1b00ca8bde', name: "label" }, this.label)), renderer.h("input", { key: '50b8e5c1ef6b55ae88b48e4cf3d3ef83bb6a33f6', class: "range-input visually-hidden", name: this.name, id: this.name, disabled: this.disabled || this.readonly, required: this.required, value: this.value, onFocus: () => {
199
199
  this.setFocus();
200
- } }), renderer.h("div", { key: 'e386649b37937c0eaaf3359a0187a96d8ba3a62c', class: "rating-wrap" }, renderer.h("div", { key: '815e7b1e85a5f6521b3e2db56442a3c001cdea89', dir: this.isRtl ? 'rtl' : null, ref: (el) => (this.rating = el), part: "base", class: {
200
+ } }), renderer.h("div", { key: '1089a70fecbf338efbf3b2f5a8624c2c3c5ce56c', class: "rating-wrap" }, renderer.h("div", { key: '6552b5f9466c1ec0df3e69d9543d693fa90829d4', dir: this.isRtl ? 'rtl' : null, ref: (el) => (this.rating = el), part: "base", class: {
201
201
  rating: true,
202
202
  'rating--readonly': this.readonly,
203
203
  'rating--disabled': this.disabled,
204
- }, "aria-disabled": this.disabled ? 'true' : 'false', "aria-readonly": this.readonly ? 'true' : 'false', "aria-valuenow": this.value, "aria-valuemin": 0, "aria-valuemax": this.max, tabIndex: this.disabled ? -1 : 0, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onMouseMove: this.handleMouseMove, onFocus: this.handleFocus, onBlur: this.handleBlur }, renderer.h("span", { key: '23789675ce3be49201fe2338301bd1cfcba86a87', class: "rating__symbols rating__symbols--inactive" }, counter.map((index) => (renderer.h("span", { class: {
204
+ }, "aria-disabled": this.disabled ? 'true' : 'false', "aria-readonly": this.readonly ? 'true' : 'false', "aria-valuenow": this.value, "aria-valuemin": 0, "aria-valuemax": this.max, tabIndex: this.disabled ? -1 : 0, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onMouseMove: this.handleMouseMove, onFocus: this.handleFocus, onBlur: this.handleBlur }, renderer.h("span", { key: '1a741e52552009d9fe705aac22abbfa63b49e196', class: "rating__symbols rating__symbols--inactive" }, counter.map((index) => (renderer.h("span", { class: {
205
205
  rating__symbol: true,
206
206
  'rating__symbol--hover': this.isHovering && Math.ceil(displayValue) === index + 1,
207
207
  },
208
208
  // Users can click the current value to clear the rating. When this happens, we set this.isHovering to
209
209
  // false to prevent the hover state from confusing them as they move the mouse out of the control. This
210
210
  // extra mouseenter will reinstate it if they happen to mouse over an adjacent symbol.
211
- onMouseEnter: this.handleMouseEnter, innerHTML: this.symbol(index + 1) })))), renderer.h("span", { key: 'ebb7cf9d8819f624a56f30279c79b88b2bc84da5', ref: (span) => (this.indicator = span), class: "rating__symbols rating__symbols--indicator", style: {
211
+ onMouseEnter: this.handleMouseEnter, innerHTML: this.symbol(index + 1) })))), renderer.h("span", { key: 'd6368fb64cac9837f38bc00a06b63f2ef3ad3a74', ref: (span) => (this.indicator = span), class: "rating__symbols rating__symbols--indicator", style: {
212
212
  clip: this.clip(displayValue),
213
213
  } }, counter.map((index) => (renderer.h("span", { class: {
214
214
  rating__symbol: true,
@@ -228,13 +228,13 @@ const ResizeObserve = class {
228
228
  }
229
229
  }
230
230
  render() {
231
- return (renderer.h(index.Host, { key: '3d3afb6885d3e2bdee26996015b6e4408d6a931d', class: {
231
+ return (renderer.h(index.Host, { key: 'e5019ccd47c55fddcffd4fa5ff151b0d1db5465f', class: {
232
232
  'nano-resize-observe': true,
233
233
  'content-fit-x': this.contentFitX,
234
234
  'content-fit-y': this.contentFitY,
235
235
  'content-nofit-x': this.contentFitX === false,
236
236
  'content-nofit-y': this.contentFitY === false,
237
- } }, renderer.h("slot", { key: 'd533dbc3a6430c448cda437e9915d4f3f5f52e04' }), !!this.notifyContentFit &&
237
+ } }, renderer.h("slot", { key: '6117c97943bf1ca7368946dd17e356e2d866bbf3' }), !!this.notifyContentFit &&
238
238
  (this.contentFitX !== null || this.contentFitY !== null) && [
239
239
  this.contentFitX ? (renderer.h("slot", { name: "content-fit-x" })) : (renderer.h("slot", { name: "content-nofit-x" })),
240
240
  this.contentFitY ? (renderer.h("slot", { name: "content-fit-y" })) : (renderer.h("slot", { name: "content-nofit-y" })),
@@ -39,7 +39,7 @@ const Slide = class {
39
39
  });
40
40
  }
41
41
  render() {
42
- return (renderer.h(index.Host, { key: '54fe9d796bb457a050087ad602879c6116ce225a', class: "nano-slide" }, renderer.h("slot", { key: '7bc3202fff0b3efc75d4adf701e1f363130dd971' })));
42
+ return (renderer.h(index.Host, { key: 'a426e75ad5b607ac12e53db8183e08f89a10057a', class: "nano-slide" }, renderer.h("slot", { key: '792f06fe463ae49d981d7beceb68e4b7b49beff3' })));
43
43
  }
44
44
  static get watchers() { return {
45
45
  "ready": ["readyChange"]
@@ -2813,19 +2813,19 @@ const Slides = class {
2813
2813
  }
2814
2814
  async loadFlickityModules(opts) {
2815
2815
  if (!this.hasFullScreenModule && opts.fullscreen) {
2816
- await Promise.resolve().then(function () { return require('./fullscreen-DiSrws4D.js'); });
2816
+ await Promise.resolve().then(function () { return require('./fullscreen-BtSF9KqT.js'); });
2817
2817
  this.hasFullScreenModule = true;
2818
2818
  }
2819
2819
  if (!this.hasLazyLoadModule && opts.lazyLoad) {
2820
- await Promise.resolve().then(function () { return require('./lazyload-CilBX2zO.js'); });
2820
+ await Promise.resolve().then(function () { return require('./lazyload-DxM1Zo3E.js'); });
2821
2821
  this.hasLazyLoadModule = true;
2822
2822
  }
2823
2823
  if (!this.hasDotsModule && opts.pageDots) {
2824
- await Promise.resolve().then(function () { return require('./page-dots-B69b5Pqb.js'); });
2824
+ await Promise.resolve().then(function () { return require('./page-dots-DpnNe0bi.js'); });
2825
2825
  this.hasDotsModule = true;
2826
2826
  }
2827
2827
  if (!this.hasFadeModule && opts.fade) {
2828
- await Promise.resolve().then(function () { return require('./fade-DiBAr_-0.js'); });
2828
+ await Promise.resolve().then(function () { return require('./fade-Cvsqaxtn.js'); });
2829
2829
  this.hasFadeModule = true;
2830
2830
  }
2831
2831
  }
@@ -2960,15 +2960,15 @@ const Slides = class {
2960
2960
  this.destroyflickity();
2961
2961
  }
2962
2962
  render() {
2963
- return (renderer.h(index.Host, { key: '0297815f676db2dda4a5b34503b8c9e03f15bd0f', class: "nano-slides" }, renderer.h("div", { key: '4114c7d5a26842d16bacd796b0de70d140714fd3', class: {
2963
+ return (renderer.h(index.Host, { key: '25fe656149129885383046b7f2cb81ecc965db13', class: "nano-slides" }, renderer.h("div", { key: '84d9f878b91454a12311ffc5203d49a243fb9c66', class: {
2964
2964
  slideshow: true,
2965
2965
  ready: this.ready,
2966
2966
  'not-ready': !this.ready,
2967
- }, part: "base" }, renderer.h("div", { key: '95096cfa135af378b5f4c31fd9ec8cbe5e7aede0', ref: (div) => (this.flickityEl = div), class: {
2967
+ }, part: "base" }, renderer.h("div", { key: 'b975dcadc6d7b7b5b7e915980527eba3bf740165', ref: (div) => (this.flickityEl = div), class: {
2968
2968
  'flickity-container': true,
2969
2969
  'slides-ready': this.slidesReady,
2970
2970
  'slides-not-ready': !this.slidesReady,
2971
- }, part: "slide-container" }, renderer.h("slot", { key: '181c12844448bf759247f57efebf87b86a771cfc' })), renderer.h("div", { key: '7b74a7a2c10e848f9aadf8d392ebe6ec7a408d63', class: "ui-extras" }, renderer.h("slot", { key: '3eaec1388b57df6609891e4e1817b93e44747ed3', name: "ui" })))));
2971
+ }, part: "slide-container" }, renderer.h("slot", { key: 'a9b13e8e0c8808617c694953e3fef74a57d719a8' })), renderer.h("div", { key: '9caacd27973cc67740145365ab7a10c75ab44219', class: "ui-extras" }, renderer.h("slot", { key: 'ad80afb5ddbcc54b10310a4e115403fee8dda215', name: "ui" })))));
2972
2972
  }
2973
2973
  static get watchers() { return {
2974
2974
  "options": ["optionsChanged"],
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var nanoSlides_entry = require('./nano-slides-CFlLOF1V.js');
6
+ var nanoSlides_entry = require('./nano-slides-DLbZhf2H.js');
7
7
  require('./index-Bp8uD6Gl.js');
8
8
  require('./renderer-BiFPhR1V.js');
9
9
 
@@ -728,7 +728,7 @@ const Sortable = class {
728
728
  }
729
729
  }
730
730
  render() {
731
- return (renderer.h(index.Host, { key: 'afd9f0d80c702f205fcf981c0f5ecd0006ff36f6', class: "nano-sortable" }, renderer.h("div", { key: '99b144761c9d9b566fa8968057b34d288729118d', class: "sortable__live-region", "aria-live": "polite", "aria-relevant": "additions", "aria-atomic": "true", role: "log", part: "announcements" }, this.ariaTextList.map((str) => (renderer.h("div", null, str)))), renderer.h("slot", { key: 'f1921453fbb7744eebcb74dbd652e4e62da17aba' })));
731
+ return (renderer.h(index.Host, { key: 'd6d4f0ad6adf2a3f5e1d36b757e116b58e5b55b4', class: "nano-sortable" }, renderer.h("div", { key: 'd2cfcad28acfb052acbc6093dddfc247f5369bcf', class: "sortable__live-region", "aria-live": "polite", "aria-relevant": "additions", "aria-atomic": "true", role: "log", part: "announcements" }, this.ariaTextList.map((str) => (renderer.h("div", null, str)))), renderer.h("slot", { key: '079bc29ba8c2f26163b7e3a23f0107f78db7b3fb' })));
732
732
  }
733
733
  static get watchers() { return {
734
734
  "itemSelector": ["handleItemSelectorChange"],
@@ -607,12 +607,12 @@ const Sticker = class {
607
607
  this.hasBootstrapped = false;
608
608
  }
609
609
  render() {
610
- return (renderer.h(index.Host, { key: '2cc2e4ad16ecefda7d16772d763597864dabc908', 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" }, renderer.h("div", { key: '842f2d7b6d92e787e4d45410f558b4c796ed7b33', class: {
610
+ return (renderer.h(index.Host, { key: 'f087d54cf3135fa7ba3d089f112157797efedaf2', 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" }, renderer.h("div", { key: 'db32b41390349cec6975dfad25b6b99ddadf5758', class: {
611
611
  sticker: true,
612
612
  sticky: this.isRootSticker && this.isSticky,
613
613
  stuck: this.isStuck && this.isRootSticker && this.isSticky,
614
614
  hide: this.isRootSticker && this.hide && this.isStuck,
615
- }, ref: (div) => (this.sticker = div) }, renderer.h("div", { key: '6c49c84e46b3fdd4de9d543057c3ff4e1f8182f4', class: "sticker-content", ref: (div) => (this.content = div) }, renderer.h("slot", { key: 'd0c2d4c9bbc58084c2f4783fcc1bbae44da62c7e' })))));
615
+ }, ref: (div) => (this.sticker = div) }, renderer.h("div", { key: 'b1e54c375552b7460fb6991f1c476bf9f73c997f', class: "sticker-content", ref: (div) => (this.content = div) }, renderer.h("slot", { key: 'a2ee69ba9e39d796d832340777f61deb21c2f5d1' })))));
616
616
  }
617
617
  static get watchers() { return {
618
618
  "trigger": ["updateTriggerOffset"],
@@ -24,10 +24,10 @@ const NanoTabContent = class {
24
24
  requestAnimationFrame(() => (this.ready = true));
25
25
  }
26
26
  render() {
27
- return (renderer.h(index.Host, { key: 'f253c45230dccc1f8c1cd05e300db935380b0845', id: this.host.id || this.tabContentId, style: { display: this.active ? 'block' : 'none' }, role: "tabpanel", "aria-hidden": this.active ? 'false' : 'true', class: {
27
+ return (renderer.h(index.Host, { key: 'f182a99dab031220a40b2c5125d3229b8bacca1c', id: this.host.id || this.tabContentId, style: { display: this.active ? 'block' : 'none' }, role: "tabpanel", "aria-hidden": this.active ? 'false' : 'true', class: {
28
28
  ready: this.ready,
29
29
  'nano-tab-content': true,
30
- } }, renderer.h("div", { key: 'f01e7dc01e79d835af3414ee157dfa1b41675070', part: "base", class: "nano-tab-content" }, renderer.h("slot", { key: '3a9ab065ab08e5495f09bae2769f8fba7b0d02e8' }))));
30
+ } }, renderer.h("div", { key: '47b383859162b6a64518273a9057464de1d37479', part: "base", class: "nano-tab-content" }, renderer.h("slot", { key: '3f908fec081c956f9ffd8d7de5e0f45b5e193a8c' }))));
31
31
  }
32
32
  };
33
33
  NanoTabContent.style = tabContentCss;
@@ -46,12 +46,12 @@ const NanoTab = class {
46
46
  }
47
47
  };
48
48
  render() {
49
- return (renderer.h(index.Host, { key: 'e273e4e931adea13f67b9975d6947e65cf0b2aa8', id: this.host.id || this.tabId, role: "tab", "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', class: "nano-tab" }, renderer.h("div", { key: '981d0646a81af06bddfca0c752ef0c29e364b89a', part: `base${this.active ? ' base--active' : ''}${this.disabled ? ' base--disabled' : ''}${this.closable ? ' base--closable' : ''}`, class: {
49
+ return (renderer.h(index.Host, { key: '7eca94a330509cbd3c6d232444fbcde422b755a6', id: this.host.id || this.tabId, role: "tab", "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', class: "nano-tab" }, renderer.h("div", { key: 'fca6ace8b5fc9c0142fcd04d70cb475323d8ef9d', part: `base${this.active ? ' base--active' : ''}${this.disabled ? ' base--disabled' : ''}${this.closable ? ' base--closable' : ''}`, class: {
50
50
  tab: true,
51
51
  'tab--active': this.active,
52
52
  'tab--disabled': this.disabled,
53
53
  'tab--closable': this.closable,
54
- } }, renderer.h("slot", { key: '53d519d25cfe15597d3ad05fb8bad68dc78bd663', name: "start" }), renderer.h("div", { key: '7cdf3e37c1631812cabe958eacc4ac70b2d70bcf', part: "label", ref: (el) => (this.tab = el), tabindex: this.disabled || !this.active ? '-1' : '0', class: "tab__label" }, renderer.h("slot", { key: '842a77bb982f418238128d228b822907f69d14e6' })), renderer.h("slot", { key: 'c596993b46b6a8b6380608556bf05099ae12c183', name: "end" }), this.closable && !this.disabled && (renderer.h("nano-icon-button", { key: '80149bb54834963ef542f185f3519ef1a8cd0382', label: "Close this tab", iconName: "light/xmark", class: "tab__close-button", onClick: this.handleCloseClick, onKeyDown: this.handleCloseKeydown, part: "close-button" })))));
54
+ } }, renderer.h("slot", { key: '3693ff8719b24c34db9018941daab7c840434502', name: "start" }), renderer.h("div", { key: 'c792fce22a28175e32f7e0b23a1a62f799016c76', part: "label", ref: (el) => (this.tab = el), tabindex: this.disabled || !this.active ? '-1' : '0', class: "tab__label" }, renderer.h("slot", { key: '76b725cd050993d377bf5c7208ce5b7fdf224136' })), renderer.h("slot", { key: 'f7bd50a43bb64b67b2ce181bf9215ada4c0ccd12', name: "end" }), this.closable && !this.disabled && (renderer.h("nano-icon-button", { key: '96f6bddd3dee12d2e8adeb7a59f98d0cfe8b9c82', label: "Close this tab", iconName: "light/xmark", class: "tab__close-button", onClick: this.handleCloseClick, onKeyDown: this.handleCloseKeydown, part: "close-button" })))));
55
55
  }
56
56
  };
57
57
  NanoTab.style = tabCss;
@@ -224,10 +224,10 @@ const NanoTable = class {
224
224
  this.cleanUpObservers();
225
225
  }
226
226
  render() {
227
- return (renderer.h(index.Host, { key: '29c35d81fa4432d251f86195a7dd8940661e5abc', class: {
227
+ return (renderer.h(index.Host, { key: '61967ae8d9228be1374d9a4ee4e08b286cd4dd57', class: {
228
228
  'nano-table': true,
229
229
  'nano-table--props-ready': this.propsReady,
230
- } }, this.scrollable && (renderer.h("nano-masked-overflow", { key: '4984ff894c8b8799917de26a0a4f8355f5cb4c2c', hideScrollbars: false, scrollControls: false, label: this.caption?.textContent || undefined, class: "nano-table__overflow-container" }, renderer.h("div", { key: '5aef0beda315f82d6e361b2607e95d4b9828cfbb', class: "nano-table__overflow" }))), renderer.h("slot", { key: '549e9de13a1b333787fe48c77c5a3be89734c0c4' })));
230
+ } }, this.scrollable && (renderer.h("nano-masked-overflow", { key: 'eca1991383ebca49f6032066078f02b62c839d6c', hideScrollbars: false, scrollControls: false, label: this.caption?.textContent || undefined, class: "nano-table__overflow-container" }, renderer.h("div", { key: 'f3bcb6830439858393c1eda96d68c2c5ccadd15a', class: "nano-table__overflow" }))), renderer.h("slot", { key: '7662741dcb672f75bae03c16b5745ff4946f12f7' })));
231
231
  }
232
232
  static get watchers() { return {
233
233
  "compact": ["handleCompactChange"],
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var nanoSlides_entry = require('./nano-slides-CFlLOF1V.js');
6
+ var nanoSlides_entry = require('./nano-slides-DLbZhf2H.js');
7
7
  require('./index-Bp8uD6Gl.js');
8
8
  require('./renderer-BiFPhR1V.js');
9
9
 
@@ -43,6 +43,7 @@
43
43
  "components/icon-item/icon-item.js",
44
44
  "components/img/img.js",
45
45
  "components/in-page-nav/in-page-nav.js",
46
+ "components/increment/increment.js",
46
47
  "components/intersection-observe/intersection-observe.js",
47
48
  "components/masked-overflow/masked-overflow.js",
48
49
  "components/menu-drawer/menu-drawer.js",
@@ -89,7 +89,7 @@ export class NanoBreadcrumb {
89
89
  "references": {
90
90
  "Breadcrumb": {
91
91
  "location": "local",
92
- "path": "/builds/W1hp42tj/0/Digital/nano-components/packages/components/src/components/breadcrumb/breadcrumb.tsx",
92
+ "path": "/builds/bsFinusk/0/Digital/nano-components/packages/components/src/components/breadcrumb/breadcrumb.tsx",
93
93
  "id": "src/components/breadcrumb/breadcrumb.tsx::Breadcrumb"
94
94
  }
95
95
  }
@@ -62,7 +62,7 @@
62
62
  align-items: center;
63
63
  border: none;
64
64
  border-radius: inherit;
65
- background: var(--button-bg);
65
+ background: inherit;
66
66
  font-size: inherit;
67
67
  color: inherit;
68
68
  padding: var(--padding);
@@ -5,7 +5,7 @@ import { Host, } from "@stencil/core";
5
5
  import { h } from "../../utils/renderer";
6
6
  import { HasSlotController } from "../../utils/slot";
7
7
  import { getDirectChildren } from "../../utils/dom";
8
- /**\
8
+ /**
9
9
  * In-page navigation allows users to quickly find different sections on a page.
10
10
  *
11
11
  * @status new
@@ -58,7 +58,7 @@ export class NanoInPageNav {
58
58
  return node;
59
59
  }
60
60
  render() {
61
- return (h(Host, { key: 'd02d05e95dc01cff50937560be67f81e36c692e0', class: "nano-in-page-nav" }, h("nav", { key: '8109f7fc65b9ad5e05728db1d79e8cbe6fd2e8f6', part: "root" }, (this.slotCtrl.has('back') || this.slotCtrl.has('accessory')) && (h("div", { key: '5b1bda413e8d37f2cde12863ec05a0571070f25d', class: "header" }, h("slot", { key: 'a598d76293559bb215129001635e758959115e24', name: "back" }), h("slot", { key: 'd263bbdeb8f47f14a692db7575d1c516cbfe4334', name: "accessory" }))), h("div", { key: '53ad7e52f66d837d1abe6f37e73f4ff18c61161d', class: "desktop-nav" }, h("slot", { key: '2740d35f92ccc13add4951ce0f569d755b7a55b7' })), h("nano-details", { key: '5d1707523462beb705c68821f5a2f526561aec7c', label: "Menu", class: "details-wrapper mobile-nav", ref: (el) => (this.mobileNavWrapper = el) }))));
61
+ return (h(Host, { key: '5fc7993edd48363da225ffce7e8d3dad8689e761', class: "nano-in-page-nav" }, h("nav", { key: '4cc75849661bb1e2fd144ac075a693ce9e5af58f', part: "root" }, (this.slotCtrl.has('back') || this.slotCtrl.has('accessory')) && (h("div", { key: '286df7a444423180967750017575414cce154b0d', class: "header" }, h("slot", { key: '255d81a0c2d26b0069a83a08e552e6afeb035295', name: "back" }), h("slot", { key: 'c939561b8be1b4a479e1f0c01684f5dd0a3014ce', name: "accessory" }))), h("div", { key: '411231a64e23575d76722f59446567f5cd68575e', class: "desktop-nav" }, h("slot", { key: '892a93de5de705e392b687ee62ab89c17bcc349a' })), h("nano-details", { key: '34d89f9f7927db1cb817124cf0d053f88963484c', label: "Menu", class: "details-wrapper mobile-nav", ref: (el) => (this.mobileNavWrapper = el) }))));
62
62
  }
63
63
  static get is() { return "nano-in-page-nav"; }
64
64
  static get encapsulation() { return "shadow"; }