@nanoporetech-digital/components 8.1.0 → 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.
- package/dist/cjs/{fade-DiBAr_-0.js → fade-Cvsqaxtn.js} +1 -1
- package/dist/cjs/{fullscreen-DiSrws4D.js → fullscreen-BtSF9KqT.js} +1 -1
- package/dist/cjs/index-Bp8uD6Gl.js +4 -0
- package/dist/cjs/{lazyload-CilBX2zO.js → lazyload-DxM1Zo3E.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/nano-avatar_5.cjs.entry.js +7 -7
- package/dist/cjs/nano-components.cjs.js +1 -1
- package/dist/cjs/nano-date-picker_2.cjs.entry.js +29 -26
- package/dist/cjs/nano-icon_3.cjs.entry.js +3 -3
- package/dist/cjs/nano-in-page-nav.cjs.entry.js +2 -2
- package/dist/cjs/nano-increment.cjs.entry.js +81 -0
- package/dist/cjs/nano-intersection-observe.cjs.entry.js +1 -1
- package/dist/cjs/nano-masked-overflow.cjs.entry.js +3 -3
- package/dist/cjs/nano-menu-drawer.cjs.entry.js +2 -2
- package/dist/cjs/nano-more-less.cjs.entry.js +2 -2
- package/dist/cjs/nano-rating.cjs.entry.js +4 -4
- package/dist/cjs/nano-resize-observe.cjs.entry.js +2 -2
- package/dist/cjs/nano-slide.cjs.entry.js +1 -1
- package/dist/cjs/{nano-slides-CFlLOF1V.js → nano-slides-DLbZhf2H.js} +7 -7
- package/dist/cjs/nano-slides.cjs.entry.js +1 -1
- package/dist/cjs/nano-sortable.cjs.entry.js +1 -1
- package/dist/cjs/nano-sticker.cjs.entry.js +2 -2
- package/dist/cjs/nano-tab-content.cjs.entry.js +2 -2
- package/dist/cjs/nano-tab-group.cjs.entry.js +1 -1
- 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-B69b5Pqb.js → page-dots-DpnNe0bi.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/icon-button/icon-button.css +1 -1
- package/dist/collection/components/in-page-nav/in-page-nav.css +3 -1
- package/dist/collection/components/in-page-nav/in-page-nav.js +2 -2
- package/dist/collection/components/increment/increment.css +102 -0
- package/dist/collection/components/increment/increment.js +97 -0
- package/dist/collection/components/input/input.js +30 -27
- package/dist/collection/components/intersection-observe/intersection-observe.js +1 -1
- package/dist/collection/components/masked-overflow/masked-overflow.js +3 -3
- package/dist/collection/components/menu-drawer/menu-drawer.js +2 -2
- package/dist/collection/components/more-less/more-less.js +2 -2
- package/dist/collection/components/rating/rating.js +4 -4
- package/dist/collection/components/resize-observe/resize-observe.js +2 -2
- package/dist/collection/components/select/select.js +7 -7
- package/dist/collection/components/slides/slide.js +1 -1
- package/dist/collection/components/slides/slides.js +3 -3
- package/dist/collection/components/sortable/sortable.js +1 -1
- package/dist/collection/components/sticker/sticker.js +2 -2
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/tabs/tab-content.js +2 -2
- package/dist/collection/components/tabs/tab-group.js +1 -1
- package/dist/collection/components/tabs/tab.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/components/icon-button.js +1 -1
- package/dist/components/input.js +39 -36
- package/dist/components/masked-overflow.js +3 -3
- package/dist/components/nano-in-page-nav.js +2 -2
- package/dist/components/nano-increment.d.ts +11 -0
- package/dist/components/nano-increment.js +119 -0
- package/dist/components/nano-intersection-observe.js +1 -1
- package/dist/components/nano-menu-drawer.js +2 -2
- package/dist/components/nano-more-less.js +2 -2
- package/dist/components/nano-rating.js +4 -4
- package/dist/components/nano-slide.js +1 -1
- package/dist/components/nano-sortable.js +1 -1
- package/dist/components/nano-tab-content.js +2 -2
- package/dist/components/nano-tab-group.js +1 -1
- package/dist/components/nano-tab.js +2 -2
- package/dist/components/nano-table.js +2 -2
- package/dist/components/resize-observe.js +2 -2
- package/dist/components/select.js +7 -7
- package/dist/components/slides.js +3 -3
- package/dist/components/sticker.js +2 -2
- package/dist/components/tooltip.js +2 -2
- package/dist/esm/{fade-CJJNY8cW.js → fade-M1mjf4zm.js} +1 -1
- package/dist/esm/{fullscreen-kmgJDkI-.js → fullscreen-BJlrN4_5.js} +1 -1
- package/dist/esm/index-DgO0qeQ9.js +4 -0
- package/dist/esm/{lazyload-DqTFDE4y.js → lazyload-B6FI3nbb.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/nano-avatar_5.entry.js +7 -7
- package/dist/esm/nano-components.js +1 -1
- package/dist/esm/nano-date-picker_2.entry.js +29 -26
- package/dist/esm/nano-icon_3.entry.js +3 -3
- package/dist/esm/nano-in-page-nav.entry.js +2 -2
- package/dist/esm/nano-increment.entry.js +79 -0
- package/dist/esm/nano-intersection-observe.entry.js +1 -1
- package/dist/esm/nano-masked-overflow.entry.js +3 -3
- package/dist/esm/nano-menu-drawer.entry.js +2 -2
- package/dist/esm/nano-more-less.entry.js +2 -2
- package/dist/esm/nano-rating.entry.js +4 -4
- package/dist/esm/nano-resize-observe.entry.js +2 -2
- package/dist/esm/nano-slide.entry.js +1 -1
- package/dist/esm/{nano-slides-Bdq8L4lE.js → nano-slides-CI0F1FDY.js} +7 -7
- package/dist/esm/nano-slides.entry.js +1 -1
- package/dist/esm/nano-sortable.entry.js +1 -1
- package/dist/esm/nano-sticker.entry.js +2 -2
- package/dist/esm/nano-tab-content.entry.js +2 -2
- package/dist/esm/nano-tab-group.entry.js +1 -1
- package/dist/esm/nano-tab.entry.js +2 -2
- package/dist/esm/nano-table.entry.js +2 -2
- package/dist/esm/{page-dots-BBtKwJtf.js → page-dots-BsFo0sLb.js} +1 -1
- package/dist/nano-components/{fade-CJJNY8cW.js → fade-M1mjf4zm.js} +1 -1
- package/dist/nano-components/{fullscreen-kmgJDkI-.js → fullscreen-BJlrN4_5.js} +1 -1
- package/dist/nano-components/{lazyload-DqTFDE4y.js → lazyload-B6FI3nbb.js} +1 -1
- package/dist/nano-components/nano-avatar_5.entry.js +1 -1
- package/dist/nano-components/nano-components.css +46 -1
- package/dist/nano-components/nano-components.esm.js +1 -1
- package/dist/nano-components/nano-date-picker_2.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-increment.entry.js +4 -0
- 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-rating.entry.js +1 -1
- package/dist/nano-components/nano-resize-observe.entry.js +1 -1
- package/dist/nano-components/nano-slide.entry.js +1 -1
- package/dist/nano-components/{nano-slides-Bdq8L4lE.js → nano-slides-CI0F1FDY.js} +2 -2
- 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-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-BBtKwJtf.js → page-dots-BsFo0sLb.js} +1 -1
- 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/nano.css +1 -1
- package/dist/style/nano.css.map +1 -1
- package/dist/types/components/in-page-nav/in-page-nav.d.ts +1 -1
- package/dist/types/components/increment/increment.d.ts +19 -0
- package/dist/types/components/input/input.d.ts +6 -2
- package/dist/types/components.d.ts +33 -4
- package/dist/wdio.conf.js +2 -2
- package/docs-json.json +46 -4
- package/docs-vscode.json +10 -2
- package/hydrate/index.js +159 -67
- package/hydrate/index.mjs +159 -67
- package/package.json +2 -2
- /package/dist/types/builds/{FKs_t1C_ → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/generate-vue-component.d.ts +0 -0
- /package/dist/types/builds/{FKs_t1C_ → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/index.d.ts +0 -0
- /package/dist/types/builds/{FKs_t1C_ → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/output-vue.d.ts +0 -0
- /package/dist/types/builds/{FKs_t1C_ → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/plugin.d.ts +0 -0
- /package/dist/types/builds/{FKs_t1C_ → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/types.d.ts +0 -0
- /package/dist/types/builds/{FKs_t1C_ → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/utils.d.ts +0 -0
- /package/dist/types/builds/{FKs_t1C_ → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/stencil.config.d.ts +0 -0
- /package/dist/types/builds/{FKs_t1C_ → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/stencil.config.prod.d.ts +0 -0
- /package/dist/types/builds/{FKs_t1C_ → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/testing/mocks/intersection-observer.d.ts +0 -0
- /package/dist/types/builds/{FKs_t1C_ → bsFinusk}/0/Digital/nano-components/packages/components/.stencil/wdio.conf.d.ts +0 -0
package/hydrate/index.js
CHANGED
@@ -16628,7 +16628,7 @@ class Icon {
|
|
16628
16628
|
}; }
|
16629
16629
|
}
|
16630
16630
|
|
16631
|
-
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:
|
16631
|
+
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}";
|
16632
16632
|
|
16633
16633
|
/** Simple icon-only buttons designed to be used for actions and in toolbars.
|
16634
16634
|
*
|
@@ -17036,6 +17036,7 @@ class Input {
|
|
17036
17036
|
pickerDropdown;
|
17037
17037
|
picker;
|
17038
17038
|
pickerCloseBtn;
|
17039
|
+
shouldValidate = false;
|
17039
17040
|
// we don't want these rendered eles decorated with @State
|
17040
17041
|
// because that will cause re-renders. User get/set to set datalist options
|
17041
17042
|
_nativeInputWrap;
|
@@ -17222,7 +17223,9 @@ class Input {
|
|
17222
17223
|
*/
|
17223
17224
|
step;
|
17224
17225
|
/**
|
17225
|
-
* The initial size of the control. This value is in pixels unless the value of the type attribute
|
17226
|
+
* The initial size of the control. This value is in pixels unless the value of the type attribute
|
17227
|
+
* is `"text"` or `"password"`, in which case it is an integer number of characters.
|
17228
|
+
* This attribute applies only when the `type` attribute is set to `"text"`, `"search"`, `"tel"`, `"url"`, `"email"`, or `"password"`, otherwise it is ignored.
|
17226
17229
|
*/
|
17227
17230
|
size;
|
17228
17231
|
/**
|
@@ -17256,10 +17259,7 @@ class Input {
|
|
17256
17259
|
this.nativeInput.setCustomValidity('');
|
17257
17260
|
}
|
17258
17261
|
}
|
17259
|
-
|
17260
|
-
if (this.validateOn === 'dirty')
|
17261
|
-
this.validate();
|
17262
|
-
});
|
17262
|
+
this.shouldValidate = true;
|
17263
17263
|
}
|
17264
17264
|
/** Represents the value of the input or NaN if numeric conversion is impossible */
|
17265
17265
|
get valueAsNumber() {
|
@@ -17277,13 +17277,10 @@ class Input {
|
|
17277
17277
|
* Whether to show a character count / remaining count when using the `maxlength` attribute.
|
17278
17278
|
*/
|
17279
17279
|
showCharCount = false;
|
17280
|
-
|
17280
|
+
handleValidatePropChange() {
|
17281
17281
|
if (!this.hasRendered)
|
17282
17282
|
return;
|
17283
|
-
|
17284
|
-
if (this.validateOn === 'dirty')
|
17285
|
-
this.validate();
|
17286
|
-
});
|
17283
|
+
this.shouldValidate = true;
|
17287
17284
|
}
|
17288
17285
|
///// TYPE SPECIFIC PROPS /////
|
17289
17286
|
/**
|
@@ -17438,7 +17435,7 @@ class Input {
|
|
17438
17435
|
validate = (ev) => {
|
17439
17436
|
if (this.validateOn === 'submitThenDirty')
|
17440
17437
|
this.validateOn = 'dirty';
|
17441
|
-
if (!this.nativeInput.validity
|
17438
|
+
if (!this.nativeInput.validity?.valid) {
|
17442
17439
|
if (this.showInlineError) {
|
17443
17440
|
if (ev)
|
17444
17441
|
ev.preventDefault();
|
@@ -17538,6 +17535,12 @@ class Input {
|
|
17538
17535
|
componentWillLoad() {
|
17539
17536
|
this.processSlottedContent();
|
17540
17537
|
}
|
17538
|
+
componentDidRender() {
|
17539
|
+
if (this.shouldValidate) {
|
17540
|
+
this.validate();
|
17541
|
+
this.shouldValidate = false;
|
17542
|
+
}
|
17543
|
+
}
|
17541
17544
|
render() {
|
17542
17545
|
const value = this.getValue();
|
17543
17546
|
const labelId = this.inputId + '-lbl';
|
@@ -17576,18 +17579,18 @@ class Input {
|
|
17576
17579
|
disabled,
|
17577
17580
|
clearControl: this.clearable,
|
17578
17581
|
}))(this);
|
17579
|
-
return (h(Host, { key: '
|
17582
|
+
return (h(Host, { key: '636d7624bcfe136a0e93b55cf9fc38e272f7aed6', "aria-disabled": this.disabled ? 'true' : null, class: {
|
17580
17583
|
'has-value': this.hasValue(),
|
17581
17584
|
'has-focus': this.hasFocus,
|
17582
17585
|
'is-invalid': this._invalid === true,
|
17583
17586
|
'is-valid': this._invalid === false,
|
17584
17587
|
'nano-input': true,
|
17585
|
-
} }, h("div", { key: '
|
17588
|
+
} }, h("div", { key: '942db1636f7d08dd581359b66df66ebf080d23ae', style: { width: '100%' } }, h(FormControlWrap, { key: 'd944b897545398b51ab0a76e1f8d62c57cd85843', ...wrapOptions, class: {
|
17586
17589
|
'has-helper': this.hasHelperSlot,
|
17587
17590
|
'has-error': !!this.errorMessage &&
|
17588
17591
|
this.showInlineError &&
|
17589
17592
|
this._invalid === true,
|
17590
|
-
} }, h(FormControl, { key: '
|
17593
|
+
} }, h(FormControl, { key: 'efd29f841ff0724228fc47754a5aad8d82f88d49', ...controlOptions, onClearText: this.clearTextInput, control: this.el, ref: (el) => (this.nativeInputWrap = el), showInlineError: this.showInlineError, endSlot: this.showPicker &&
|
17591
17594
|
this.type === 'date' &&
|
17592
17595
|
!this.readonly &&
|
17593
17596
|
!this.disabled && [
|
@@ -17602,25 +17605,25 @@ class Input {
|
|
17602
17605
|
this.value = e.detail.value;
|
17603
17606
|
this.pickerDropdown?.hide();
|
17604
17607
|
}, min: this.min, max: this.max, "is-modal": true, selectedDate: this.value || this.initialPickerDate || undefined }))),
|
17605
|
-
] }, this.type !== 'textarea' && (h("input", { key: '
|
17608
|
+
] }, this.type !== 'textarea' && (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' && (h("textarea", { key: 'e1dc2377200cdccda85cdbb6cda08a49d8459c1e', rows: this.floatLabel ? 1 : this.rows, id: this.inputId, class: {
|
17606
17609
|
'input__native-ctrl': true,
|
17607
17610
|
input__resizable: this.resize === 'true',
|
17608
|
-
}, 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 })))), h("slot", { key: '
|
17611
|
+
}, 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 })))), h("slot", { key: '564511c369dc13eb85cbf7e1c48b5d5fbbea8679' }))));
|
17609
17612
|
}
|
17610
17613
|
static get watchers() { return {
|
17611
17614
|
"datalist": ["setDataListOpts"],
|
17612
17615
|
"debounce": ["debounceChanged"],
|
17613
17616
|
"value": ["valueChanged"],
|
17614
|
-
"minlength": ["
|
17615
|
-
"maxlength": ["
|
17616
|
-
"min": ["
|
17617
|
-
"max": ["
|
17618
|
-
"required": ["
|
17619
|
-
"disabled": ["
|
17620
|
-
"readonly": ["
|
17621
|
-
"pattern": ["
|
17622
|
-
"inputmode": ["
|
17623
|
-
"type": ["
|
17617
|
+
"minlength": ["handleValidatePropChange"],
|
17618
|
+
"maxlength": ["handleValidatePropChange"],
|
17619
|
+
"min": ["handleValidatePropChange"],
|
17620
|
+
"max": ["handleValidatePropChange"],
|
17621
|
+
"required": ["handleValidatePropChange"],
|
17622
|
+
"disabled": ["handleValidatePropChange"],
|
17623
|
+
"readonly": ["handleValidatePropChange"],
|
17624
|
+
"pattern": ["handleValidatePropChange"],
|
17625
|
+
"inputmode": ["handleValidatePropChange"],
|
17626
|
+
"type": ["handleValidatePropChange"]
|
17624
17627
|
}; }
|
17625
17628
|
static get style() { return inputCss; }
|
17626
17629
|
static get cmpMeta() { return {
|
@@ -17828,7 +17831,7 @@ class IntersectionObserve {
|
|
17828
17831
|
this.removeIO();
|
17829
17832
|
}
|
17830
17833
|
render() {
|
17831
|
-
return (h(Host, { key: '
|
17834
|
+
return (h(Host, { key: 'be24c77cb033ff3fdb33b37cd8414edd99785795', class: "nano-intersection-observe" }, h("slot", { key: 'e1cf1e9175a9249c6f6f5b202d27a3f9bf937bac', ref: (slot) => (this.defaultSlot = slot), onSlotchange: this.handleSlotChange })));
|
17832
17835
|
}
|
17833
17836
|
static get watchers() { return {
|
17834
17837
|
"root": ["handleRootChange"],
|
@@ -18173,7 +18176,7 @@ class MaskedOverflow {
|
|
18173
18176
|
}
|
18174
18177
|
}
|
18175
18178
|
render() {
|
18176
|
-
return (h(Host, { key: '
|
18179
|
+
return (h(Host, { key: '5e3818d9ff886b75194db22fd7f42af484fe17d7', dir: this.isRtl ? 'rtl' : null, class: "nano-masked-overflow", "has-scroll-controls": this.hasScrollControls }, h("div", { key: '991fa196ffc2eb42c907519bb8187f15c9868161', part: "base", class: {
|
18177
18180
|
onav: true,
|
18178
18181
|
[`onav--${this.orientation}`]: true,
|
18179
18182
|
'onav--has-scroll-controls': this.hasScrollControls,
|
@@ -18182,12 +18185,12 @@ class MaskedOverflow {
|
|
18182
18185
|
'onav--no-transitions': this.instantReCalc,
|
18183
18186
|
'onnav--has-indicator': this.showIndicator,
|
18184
18187
|
'onnav--hide-scrollbars': this.hideScrollbars && this.hideScrollbars !== 'false',
|
18185
|
-
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: '
|
18188
|
+
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("div", { key: 'e6958d0060691af605afa2c6fd53194b4284f29d', class: "onav__nav" }, this.scrollControls && (h("nano-icon-button", { key: '167bb7fa1450371ceab4dc8467e5debbd672101f', part: "scroll-button scroll-button-prev", class: {
|
18186
18189
|
'onav__scroll-button': true,
|
18187
18190
|
'onav__scroll-button--start': true,
|
18188
18191
|
}, ref: (btn) => (this.startBtn = btn), onClick: () => this.handleBtnClick(false), label: "Click to scroll", iconName: this.orientation === 'horizontal'
|
18189
18192
|
? 'light/chevron-left'
|
18190
|
-
: 'light/chevron-up' })), h("div", { key: '
|
18193
|
+
: 'light/chevron-up' })), 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 }, h("div", { key: 'fdd83d15c431538a2992887e58aed07e9393d411', part: "items", ref: (el) => (this.itemContainer = el), class: "onav__items" }, this.showIndicator && (h("div", { key: 'a1fba6d2c2e62e05b5a062c563f22c8e2b0222a4', part: "indicator", ref: (el) => (this.activeIndicator = el), class: "onav__active-indicator" })), h("slot", { key: 'a6d602d437702479bd67d71bd5ac838d0ae02941', onSlotchange: this.slotChangeHandler }))), this.scrollControls && (h("nano-icon-button", { key: '30eae4cf86f7bead75734736b7192420255a64fc', part: "scroll-button scroll-button-next", class: {
|
18191
18194
|
'onav__scroll-button': true,
|
18192
18195
|
'onav__scroll-button--end': true,
|
18193
18196
|
}, ref: (btn) => (this.endBtn = btn), onClick: () => this.handleBtnClick(true), label: "Click to scroll", iconName: this.orientation === 'horizontal'
|
@@ -18626,13 +18629,13 @@ class MenuDrawer {
|
|
18626
18629
|
disconnectedCallback() {
|
18627
18630
|
}
|
18628
18631
|
render() {
|
18629
|
-
return (h(Host, { key: '
|
18632
|
+
return (h(Host, { key: 'dd1bf1e9e1ac1205955cae2e5d35a331e4f0bd93', class: {
|
18630
18633
|
open: this.open,
|
18631
18634
|
hide: this.hide,
|
18632
18635
|
loading: this.isLoading,
|
18633
18636
|
'has-global-nav': !!this.globalNav,
|
18634
18637
|
'nano-menu-drawer': true,
|
18635
|
-
}, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : null }, h("div", { key: '
|
18638
|
+
}, dir: this.el.ownerDocument.dir === 'rtl' ? 'rtl' : null }, h("div", { key: 'dce4ceabb7095839407fab9bd02b866465408280', ref: (div) => (this.containerDiv = div), class: "container" }, h("div", { key: '1593061407c3f9b71a361b85d230625e9fb32a90', class: "content-wrap" }, h("nav", { key: 'c0f8d1bfd80fbebdc25af588bcd3cca7700a9f16', ref: (div) => (this.contentDiv = div), class: "content" }, h("div", { key: 'cd3365f2e892fb6a0937bfa60f325d8e6b960b46', class: "head" }, h("button", { key: '25adf7263cffa74b5c6a0f043bafdf4a955609a1', onClick: this.toggle, class: "collapse-btn" }, h("nano-icon", { key: 'fb33ef8b4d05214079543192bbf7afe5d12ceb61', name: "light/arrow-right-to-line" }), h("span", { key: '5da28bdc3d935c4d79db287f07365a026479b177', class: "visually-hidden" }, "collapse / expand menu"))), h("slot", { key: '30c573abc66a4e9ba19aedafab09f3118c54df4a' }), this.slotCtrl.has('foot') && (h("div", { key: '15c4d2f3dbfa2f3fc91118c26d363acf2b2d0907', class: "foot" }, h("slot", { key: 'feb931841bfdf4602769bc421df2ad7c4427ee8d', name: "foot" }))))))));
|
18636
18639
|
}
|
18637
18640
|
static get watchers() { return {
|
18638
18641
|
"open": ["openChange"]
|
@@ -22548,9 +22551,9 @@ class NanoIconItem {
|
|
22548
22551
|
}; }
|
22549
22552
|
}
|
22550
22553
|
|
22551
|
-
const inPageNavCss = ":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:block}.desktop-nav{display:block}@media (width <= 767px){.desktop-nav{display:none}}.mobile-nav{display:none}@media (width <= 767px){.mobile-nav{display:block}}nav{background-color:var(--color-bg);padding:0}nav:has(.details-wrapper[open]){box-shadow:var(--nano-shadow-l1)}.header{padding:var(--spacing-l2) var(--spacing-l2) 0;display:flex;flex-direction:column;gap:var(--spacing-l2);font-size:var(--font-size)}.header ::slotted(a[slot=back]),.header::slotted(a[slot=back]){display:flex !important;align-items:center !important;padding:0 !important;margin:0;gap:var(--spacing-l3) !important;cursor:pointer}.header ::slotted(a[slot=back])::before,.header::slotted(a[slot=back])::before{content:\"\";display:inline-block;background-size:cover;inline-size:1rem;block-size:1rem;background-color:var(--color-primary);-webkit-mask-image:var(--nano-component-icon-chevron);mask-image:var(--nano-component-icon-chevron);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;transform-origin:center;rotate:calc(180deg * var(--flip-icon-ltr))}.details-wrapper{--padding:0;--btn-bg-color:transparent;--btn-bg-color--hover:transparent;--btn-text-color:var(--color-text);border:none}.details-wrapper::part(header){font-size:var(--font-size);line-height:var(--line-height);font-weight:var(--font-weight);letter-spacing:var(--letter-spacing);padding:var(--spacing-l2)}.details-wrapper[open]::part(header){background-color:var(--nano-color-primary-75)}.details-wrapper::part(content){padding:0}.details-wrapper::part(body){padding:0}.details-wrapper.sticky.stuck[open]::part(header){z-index:var(--nano-z-index-menubar);inset-block-start:0;position:sticky;box-shadow:var(--nano-shadow-l1);padding:var(--spacing-l2)}.details-wrapper a,.details-wrapper ul,.details-wrapper li{all:unset}.details-wrapper ul{display:flex;flex-direction:column;list-style:none}.details-wrapper ul:not(ul ul){padding:0 var(--spacing-l2)
|
22554
|
+
const inPageNavCss = ":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:block}.desktop-nav{display:block}@media (width <= 767px){.desktop-nav{display:none}}.mobile-nav{display:none}@media (width <= 767px){.mobile-nav{display:block}}nav{background-color:var(--color-bg);padding:0}nav:has(.details-wrapper[open]){box-shadow:var(--nano-shadow-l1)}.header{padding:var(--spacing-l2) var(--spacing-l2) 0;display:flex;flex-direction:column;gap:var(--spacing-l2);font-size:var(--font-size)}.header ::slotted(a[slot=back]),.header::slotted(a[slot=back]){display:flex !important;align-items:center !important;padding:0 !important;margin:0;gap:var(--spacing-l3) !important;cursor:pointer}.header ::slotted(a[slot=back])::before,.header::slotted(a[slot=back])::before{content:\"\";display:inline-block;background-size:cover;inline-size:1rem;block-size:1rem;background-color:var(--color-primary);-webkit-mask-image:var(--nano-component-icon-chevron);mask-image:var(--nano-component-icon-chevron);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;transform-origin:center;rotate:calc(180deg * var(--flip-icon-ltr))}.details-wrapper{--padding:0;--btn-bg-color:transparent;--btn-bg-color--hover:transparent;--btn-text-color:var(--color-text);border:none}.details-wrapper::part(header){font-size:var(--font-size);line-height:var(--line-height);font-weight:var(--font-weight);letter-spacing:var(--letter-spacing);padding:var(--spacing-l2)}.details-wrapper[open]::part(header){background-color:var(--nano-color-primary-75)}.details-wrapper::part(content){padding:0}.details-wrapper::part(body){padding:0}.details-wrapper.sticky.stuck[open]::part(header){z-index:var(--nano-z-index-menubar);inset-block-start:0;position:sticky;box-shadow:var(--nano-shadow-l1);padding:var(--spacing-l2)}.details-wrapper a,.details-wrapper ul,.details-wrapper li{all:unset}.details-wrapper ul{display:flex;flex-direction:column;list-style:none}.details-wrapper ul:not(ul ul){padding:0 var(--spacing-l2) 0 var(--spacing-l2)}.details-wrapper a{cursor:pointer}.details-wrapper a:hover{text-decoration:underline}.details-wrapper a:focus-visible{outline:var(--nano-focus-ring);outline-offset:var(--nano-focus-ring-offset)}.details-wrapper ul>li:not(ul>li li){margin:0;padding:var(--spacing-l2) 0;display:flex;flex-direction:column;align-items:stretch;justify-content:stretch;inline-size:100%}.details-wrapper ul>li:not(ul>li li):not(:last-of-type){border-block-end:1px solid var(--color-bottom-border)}.details-wrapper ul>li:not(ul>li li) a{color:var(--color-text)}.details-wrapper ul>li:not(ul>li li) a.is-active{border-inline-start:var(--border-active);padding-inline-start:1rem}.details-wrapper ul>li:not(ul>li li) a:hover{color:var(--color-text-hover)}.details-wrapper ul>li>ul,.details-wrapper ul>li>.nano-details>ul{padding:var(--list-gap) 0 0 var(--spacing-l2);gap:var(--list-gap)}.details-wrapper ul>li>ul a,.details-wrapper ul>li>.nano-details>ul a{color:var(--color-primary) !important}.details-wrapper ul>li>ul>li>.nano-details>ul,.details-wrapper ul>li>.nano-details>ul>li>.nano-details>ul{padding:var(--list-gap) 0 0 var(--nano-spacing-xl)}.details-wrapper .nano-details .nano-details:not(.nano-details .nano-details .nano-details){color:var(--color-text)}.details-wrapper .nano-details{--padding:0;--btn-bg-color:transparent;--btn-bg-color--open:var(--nano-color-primary-75);--btn-bg-color--hover:transparent;border:none;color:var(--color-primary)}.details-wrapper .nano-details .is-active::part(header){border-inline-start:var(--border-active);padding-inline-start:1rem !important;color:var(--color-primary)}.details-wrapper .nano-details[open]>[slot=icon-start]{rotate:90deg}.details-wrapper .nano-details::part(icon--start){margin-inline-end:var(--spacing-l3)}.details-wrapper .nano-details::part(header){font-size:var(--font-size);line-height:var(--line-height);font-weight:var(--font-weight);letter-spacing:var(--letter-spacing)}.details-wrapper .nano-details::part(header):hover{text-decoration:underline}.details-wrapper .nano-details:not(.nav-details){color:var(--color-primary)}";
|
22552
22555
|
|
22553
|
-
|
22556
|
+
/**
|
22554
22557
|
* In-page navigation allows users to quickly find different sections on a page.
|
22555
22558
|
*
|
22556
22559
|
* @status new
|
@@ -22606,7 +22609,7 @@ class NanoInPageNav {
|
|
22606
22609
|
return node;
|
22607
22610
|
}
|
22608
22611
|
render() {
|
22609
|
-
return (h(Host, { key: '
|
22612
|
+
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) }))));
|
22610
22613
|
}
|
22611
22614
|
static get style() { return inPageNavCss; }
|
22612
22615
|
static get cmpMeta() { return {
|
@@ -22621,6 +22624,94 @@ class NanoInPageNav {
|
|
22621
22624
|
}; }
|
22622
22625
|
}
|
22623
22626
|
|
22627
|
+
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}";
|
22628
|
+
|
22629
|
+
/**
|
22630
|
+
* Increments and decrements a value using an [input](/components/input).
|
22631
|
+
*
|
22632
|
+
* @status new
|
22633
|
+
* @version 8.2.0
|
22634
|
+
*/
|
22635
|
+
class NanoIncrement {
|
22636
|
+
constructor(hostRef) {
|
22637
|
+
registerInstance(this, hostRef);
|
22638
|
+
}
|
22639
|
+
get host() { return getElement(this); }
|
22640
|
+
inputElement;
|
22641
|
+
ignoreInputChange = false;
|
22642
|
+
inputElementChanged(_newValue, oldValue) {
|
22643
|
+
if (oldValue) {
|
22644
|
+
oldValue.removeEventListener('nanoChange', this.inputChangeHandler);
|
22645
|
+
}
|
22646
|
+
if (this.inputElement) {
|
22647
|
+
this.inputElement.label = this.inputElement.label || 'Increment value';
|
22648
|
+
this.inputElement.hideLabel = true;
|
22649
|
+
this.inputElement.type = 'number';
|
22650
|
+
this.inputElement.max = this.inputElement.max || '10';
|
22651
|
+
this.inputElement.min = this.inputElement.min || '0';
|
22652
|
+
this.inputElement.step = this.inputElement.step || '1';
|
22653
|
+
this.inputElement.value = this.inputElement.value || '0';
|
22654
|
+
this.inputElement.addEventListener('nanoChange', this.inputChangeHandler);
|
22655
|
+
}
|
22656
|
+
}
|
22657
|
+
inputChangeHandler = () => {
|
22658
|
+
if (!this.ignoreInputChange) {
|
22659
|
+
this.ignoreInputChange = true;
|
22660
|
+
let value = Number(this.inputElement.value);
|
22661
|
+
value = isNaN(value) ? 0 : value;
|
22662
|
+
value = Math.max(value, parseFloat(this.inputElement.min) || 0);
|
22663
|
+
value = Math.min(value, parseFloat(this.inputElement.max) || Infinity);
|
22664
|
+
this.inputElement.value = value.toString();
|
22665
|
+
requestAnimationFrame(() => {
|
22666
|
+
this.ignoreInputChange = false;
|
22667
|
+
});
|
22668
|
+
}
|
22669
|
+
};
|
22670
|
+
handleSlotChange = () => {
|
22671
|
+
this.inputElement = this.host.querySelector('nano-input');
|
22672
|
+
};
|
22673
|
+
handleMinus = () => {
|
22674
|
+
if (this.inputElement) {
|
22675
|
+
const currentValue = parseFloat(this.inputElement.value) || 0;
|
22676
|
+
const step = parseFloat(this.inputElement.step) || 1;
|
22677
|
+
const newValue = Math.max(currentValue - step, parseFloat(this.inputElement.min) || 0);
|
22678
|
+
this.ignoreInputChange = true;
|
22679
|
+
this.inputElement.value = newValue.toString();
|
22680
|
+
this.ignoreInputChange = false;
|
22681
|
+
}
|
22682
|
+
};
|
22683
|
+
handlePlus = () => {
|
22684
|
+
if (this.inputElement) {
|
22685
|
+
const currentValue = parseFloat(this.inputElement.value) || 0;
|
22686
|
+
const step = parseFloat(this.inputElement.step) || 1;
|
22687
|
+
const newValue = Math.min(currentValue + step, parseFloat(this.inputElement.max) || Infinity);
|
22688
|
+
this.ignoreInputChange = true;
|
22689
|
+
this.inputElement.value = newValue.toString();
|
22690
|
+
this.ignoreInputChange = false;
|
22691
|
+
}
|
22692
|
+
};
|
22693
|
+
componentWillLoad() {
|
22694
|
+
this.handleSlotChange();
|
22695
|
+
}
|
22696
|
+
render() {
|
22697
|
+
return (h(Host, { key: 'fab6b5bdecb8ccd3661d7054e08d66a46c2dd0a8', class: "nano-increment" }, h("div", { key: 'c064903981622ce66ac3a19efce6d595d59b7ed0', class: "root" }, h("div", { key: '447735cf16956d0ae172cc2bb1b3a7ffffd7fa0c', class: "minus" }, h("nano-icon-button", { key: '24e73eee061669ea0dd5423bae53886bed60478a', iconName: "light/minus", label: "Decrement", onClick: this.handleMinus })), h("slot", { key: '855358fe5a99004f52432dd42cf8c986f67afe69', onSlotchange: this.handleSlotChange }), h("div", { key: '17b1a5d9988023f4869489beffd697f4329a1d61', class: "plus" }, h("nano-icon-button", { key: '8b2e763e3f871355085e13b20a26f751c153a329', iconName: "light/plus", label: "Increment", onClick: this.handlePlus })))));
|
22698
|
+
}
|
22699
|
+
static get watchers() { return {
|
22700
|
+
"inputElement": ["inputElementChanged"]
|
22701
|
+
}; }
|
22702
|
+
static get style() { return incrementCss; }
|
22703
|
+
static get cmpMeta() { return {
|
22704
|
+
"$flags$": 265,
|
22705
|
+
"$tagName$": "nano-increment",
|
22706
|
+
"$members$": {
|
22707
|
+
"inputElement": [32]
|
22708
|
+
},
|
22709
|
+
"$listeners$": undefined,
|
22710
|
+
"$lazyBundleId$": "-",
|
22711
|
+
"$attrsToReflect$": []
|
22712
|
+
}; }
|
22713
|
+
}
|
22714
|
+
|
22624
22715
|
const tabCss = ":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:2px solid var(--nano-color-neutral-300);--border-hover-color:var(--nano-color-primary-700);--border-active-color:var(--nano-color-primary-1000);--text-hover-color:var(--nano-color-primary-1000);--text-active-color:var(--nano-color-primary-1000);--padding:var(--nano-spacing-md);font-size:var(--nano-font-size-sm);line-height:var(--nano-line-height-normal);letter-spacing:var(--nano-letter-spacing-loose);display:inline-block;cursor:pointer;color:var(--nano-color-neutral-1400);border:var(--border);border-inline-end-width:0;border-inline-start-width:0;border-block-start-width:0;border-block-end:var(--border)}:host(:not([disabled]):hover){border-color:var(--border-hover-color);color:var(--text-hover-color)}:host(:not([disabled]):active),:host([active]){border-color:var(--border-active-color);color:var(--text-active-color)}:host(.nano-sortable__dragged){background:var(--nano-color-base-0);opacity:0.9 !important;box-shadow:var(--nano-shadow-l0) !important}.tab{padding:var(--padding);display:flex;white-space:nowrap;align-items:center;position:relative;gap:var(--nano-spacing-sm);justify-content:center}.tab.tab--disabled{opacity:0.5;cursor:not-allowed}.tab.tab--closable{padding-inline-end:calc(var(--padding) - var(--nano-spacing-sm))}.tab ::slotted(*),.tab::slotted(*){display:flex;align-items:center}.tab ::slotted(.nano-sortable__keyboard-handle){position:absolute;inset-inline-end:-1em;z-index:1}.tab:not(.tab--disabled):has(.tab__label:focus-visible){outline:var(--nano-focus-ring);outline-offset:-3px}.tab__label{display:flex;flex-direction:column;gap:var(--nano-spacing-sm);align-items:center}.tab__label:focus{outline:none}.tab__close-button{color:var(--nano-color-primary-1200);--hover-color:var(--nano-color-primary-700)}";
|
22625
22716
|
|
22626
22717
|
let id$2 = 0;
|
@@ -22675,12 +22766,12 @@ class NanoTab {
|
|
22675
22766
|
}
|
22676
22767
|
};
|
22677
22768
|
render() {
|
22678
|
-
return (h(Host, { key: '
|
22769
|
+
return (h(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" }, h("div", { key: 'fca6ace8b5fc9c0142fcd04d70cb475323d8ef9d', part: `base${this.active ? ' base--active' : ''}${this.disabled ? ' base--disabled' : ''}${this.closable ? ' base--closable' : ''}`, class: {
|
22679
22770
|
tab: true,
|
22680
22771
|
'tab--active': this.active,
|
22681
22772
|
'tab--disabled': this.disabled,
|
22682
22773
|
'tab--closable': this.closable,
|
22683
|
-
} }, h("slot", { key: '
|
22774
|
+
} }, h("slot", { key: '3693ff8719b24c34db9018941daab7c840434502', name: "start" }), h("div", { key: 'c792fce22a28175e32f7e0b23a1a62f799016c76', part: "label", ref: (el) => (this.tab = el), tabindex: this.disabled || !this.active ? '-1' : '0', class: "tab__label" }, h("slot", { key: '76b725cd050993d377bf5c7208ce5b7fdf224136' })), h("slot", { key: 'f7bd50a43bb64b67b2ce181bf9215ada4c0ccd12', name: "end" }), this.closable && !this.disabled && (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" })))));
|
22684
22775
|
}
|
22685
22776
|
static get style() { return tabCss; }
|
22686
22777
|
static get cmpMeta() { return {
|
@@ -22726,10 +22817,10 @@ class NanoTabContent {
|
|
22726
22817
|
requestAnimationFrame(() => (this.ready = true));
|
22727
22818
|
}
|
22728
22819
|
render() {
|
22729
|
-
return (h(Host, { key: '
|
22820
|
+
return (h(Host, { key: 'f182a99dab031220a40b2c5125d3229b8bacca1c', id: this.host.id || this.tabContentId, style: { display: this.active ? 'block' : 'none' }, role: "tabpanel", "aria-hidden": this.active ? 'false' : 'true', class: {
|
22730
22821
|
ready: this.ready,
|
22731
22822
|
'nano-tab-content': true,
|
22732
|
-
} }, h("div", { key: '
|
22823
|
+
} }, h("div", { key: '47b383859162b6a64518273a9057464de1d37479', part: "base", class: "nano-tab-content" }, h("slot", { key: '3f908fec081c956f9ffd8d7de5e0f45b5e193a8c' }))));
|
22733
22824
|
}
|
22734
22825
|
static get style() { return tabContentCss; }
|
22735
22826
|
static get cmpMeta() { return {
|
@@ -23075,7 +23166,7 @@ class NanoTabGroup {
|
|
23075
23166
|
group: true,
|
23076
23167
|
'group--top': this.placement === 'top',
|
23077
23168
|
'group--start': this.placement === 'start',
|
23078
|
-
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("nano-masked-overflow", { role: "
|
23169
|
+
}, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("nano-masked-overflow", { role: "navigation", class: "group__tabs", part: "tabs__wrapper", exportparts: "items:tabs, scroll-button:tabs__scroll-button, indicator:active-tab-indicator", orientation: this.placement === 'top' ? 'horizontal' : 'vertical', isActiveHandler: (itm) => this.activeTab === itm, scrollControls: !this.noScrollControls, hideScrollbars: true }, h("slot", { name: "tabs", onSlotchange: this.handleTabSlotChange }), h("div", { class: "group__tabs-border" })), h("div", { part: "body", class: "group__body", onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, h("slot", { onSlotchange: this.handleContentSlotChange })))));
|
23079
23170
|
}
|
23080
23171
|
static get style() { return tabGroupCss; }
|
23081
23172
|
static get cmpMeta() { return {
|
@@ -23304,10 +23395,10 @@ class NanoTable {
|
|
23304
23395
|
this.cleanUpObservers();
|
23305
23396
|
}
|
23306
23397
|
render() {
|
23307
|
-
return (h(Host, { key: '
|
23398
|
+
return (h(Host, { key: '61967ae8d9228be1374d9a4ee4e08b286cd4dd57', class: {
|
23308
23399
|
'nano-table': true,
|
23309
23400
|
'nano-table--props-ready': this.propsReady,
|
23310
|
-
} }, this.scrollable && (h("nano-masked-overflow", { key: '
|
23401
|
+
} }, this.scrollable && (h("nano-masked-overflow", { key: 'eca1991383ebca49f6032066078f02b62c839d6c', hideScrollbars: false, scrollControls: false, label: this.caption?.textContent || undefined, class: "nano-table__overflow-container" }, h("div", { key: 'f3bcb6830439858393c1eda96d68c2c5ccadd15a', class: "nano-table__overflow" }))), h("slot", { key: '7662741dcb672f75bae03c16b5745ff4946f12f7' })));
|
23311
23402
|
}
|
23312
23403
|
static get watchers() { return {
|
23313
23404
|
"compact": ["handleCompactChange"],
|
@@ -24378,8 +24469,8 @@ let Rating$1 = class Rating {
|
|
24378
24469
|
this.handleShowHideElements();
|
24379
24470
|
}
|
24380
24471
|
render() {
|
24381
|
-
return (h(Host, { key: '
|
24382
|
-
h("div", { key: '
|
24472
|
+
return (h(Host, { key: 'fbb60961810fe863ebebc729cbe4ecb955608c82', class: "nano-more-less" }, h("slot", { key: '6823f661e722640622d421c96244cd4a0eee1953', onSlotchange: () => this.handleShowHideElements() }), this.children?.length > this.maxToShow && [
|
24473
|
+
h("div", { key: '134fadd869470a34cbd21b06d9cc2c85fc4e614c', style: { display: this.show ? 'none' : 'contents' }, class: "button-wrapper", part: "button-wrapper button-wrapper--less", onClick: (e) => this.handleClick(e) }, h("slot", { key: '62544d207ac12171da4905e3006e26113b1b0189', name: "less" }, h("button", { key: '54badba3d736faf5b2b686ec989998a4319c5001', part: "button button--less" }, "Show more (+", this.children.length - this.maxToShow, ")"))),
|
24383
24474
|
!this.noHideBtn ? (h("div", { style: { display: this.show ? 'contents' : 'none' }, class: "button-wrapper", part: "button-wrapper button-wrapper--more", onClick: (e) => this.handleClick(e) }, h("slot", { name: "more" }, h("button", { part: "button button--more" }, "Show less (-", this.children.length - this.maxToShow, ")")))) : (''),
|
24384
24475
|
]));
|
24385
24476
|
}
|
@@ -24600,20 +24691,20 @@ class Rating {
|
|
24600
24691
|
else {
|
24601
24692
|
displayValue = this.isHovering ? this.hoverValue : this.value;
|
24602
24693
|
}
|
24603
|
-
return (h(Host, { key: '
|
24694
|
+
return (h(Host, { key: 'df7dc8a018d6d786e47134a2b9896a4cf2e87074', class: "nano-rating" }, h("label", { key: '7d9861c77bd39e075b1d9f75b24a5390efcbb42e', class: `rating-label${this.hideLabel ? ' visually-hidden' : ''}`, part: "label", htmlFor: this.name }, h("slot", { key: 'f2406ae04779c885c9968513d4e33d1b00ca8bde', name: "label" }, this.label)), 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: () => {
|
24604
24695
|
this.setFocus();
|
24605
|
-
} }), h("div", { key: '
|
24696
|
+
} }), h("div", { key: '1089a70fecbf338efbf3b2f5a8624c2c3c5ce56c', class: "rating-wrap" }, h("div", { key: '6552b5f9466c1ec0df3e69d9543d693fa90829d4', dir: this.isRtl ? 'rtl' : null, ref: (el) => (this.rating = el), part: "base", class: {
|
24606
24697
|
rating: true,
|
24607
24698
|
'rating--readonly': this.readonly,
|
24608
24699
|
'rating--disabled': this.disabled,
|
24609
|
-
}, "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 }, h("span", { key: '
|
24700
|
+
}, "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 }, h("span", { key: '1a741e52552009d9fe705aac22abbfa63b49e196', class: "rating__symbols rating__symbols--inactive" }, counter.map((index) => (h("span", { class: {
|
24610
24701
|
rating__symbol: true,
|
24611
24702
|
'rating__symbol--hover': this.isHovering && Math.ceil(displayValue) === index + 1,
|
24612
24703
|
},
|
24613
24704
|
// Users can click the current value to clear the rating. When this happens, we set this.isHovering to
|
24614
24705
|
// false to prevent the hover state from confusing them as they move the mouse out of the control. This
|
24615
24706
|
// extra mouseenter will reinstate it if they happen to mouse over an adjacent symbol.
|
24616
|
-
onMouseEnter: this.handleMouseEnter, innerHTML: this.symbol(index + 1) })))), h("span", { key: '
|
24707
|
+
onMouseEnter: this.handleMouseEnter, innerHTML: this.symbol(index + 1) })))), h("span", { key: 'd6368fb64cac9837f38bc00a06b63f2ef3ad3a74', ref: (span) => (this.indicator = span), class: "rating__symbols rating__symbols--indicator", style: {
|
24617
24708
|
clip: this.clip(displayValue),
|
24618
24709
|
} }, counter.map((index) => (h("span", { class: {
|
24619
24710
|
rating__symbol: true,
|
@@ -24885,13 +24976,13 @@ class ResizeObserve {
|
|
24885
24976
|
}
|
24886
24977
|
}
|
24887
24978
|
render() {
|
24888
|
-
return (h(Host, { key: '
|
24979
|
+
return (h(Host, { key: 'e5019ccd47c55fddcffd4fa5ff151b0d1db5465f', class: {
|
24889
24980
|
'nano-resize-observe': true,
|
24890
24981
|
'content-fit-x': this.contentFitX,
|
24891
24982
|
'content-fit-y': this.contentFitY,
|
24892
24983
|
'content-nofit-x': this.contentFitX === false,
|
24893
24984
|
'content-nofit-y': this.contentFitY === false,
|
24894
|
-
} }, h("slot", { key: '
|
24985
|
+
} }, h("slot", { key: '6117c97943bf1ca7368946dd17e356e2d866bbf3' }), !!this.notifyContentFit &&
|
24895
24986
|
(this.contentFitX !== null || this.contentFitY !== null) && [
|
24896
24987
|
this.contentFitX ? (h("slot", { name: "content-fit-x" })) : (h("slot", { name: "content-nofit-x" })),
|
24897
24988
|
this.contentFitY ? (h("slot", { name: "content-fit-y" })) : (h("slot", { name: "content-nofit-y" })),
|
@@ -25622,30 +25713,30 @@ class Select {
|
|
25622
25713
|
disabled,
|
25623
25714
|
clearControl: this.clearable,
|
25624
25715
|
}))(this);
|
25625
|
-
return (h(Host, { key: '
|
25716
|
+
return (h(Host, { key: '83841b192717e301d098e3886cb3d44f7c517232', type: this.multiple ? 'select-multiple' : 'select-one', "aria-disabled": this.disabled ? 'true' : null, class: {
|
25626
25717
|
'has-value': !!this.value.length || !!this.inputSearchVal.length,
|
25627
25718
|
'has-focus': this.hasFocus,
|
25628
25719
|
'is-invalid': this._invalid === true,
|
25629
25720
|
'is-valid': this._invalid === false,
|
25630
25721
|
'nano-select': true,
|
25631
|
-
} }, h(FormControlWrap, { key: '
|
25722
|
+
} }, h(FormControlWrap, { key: 'c0a938ef46d167bbe5351913b1a73fcc39659b1d', ...wrapOptions, class: {
|
25632
25723
|
'has-error': !!this.errorMessage &&
|
25633
25724
|
this.showInlineError &&
|
25634
25725
|
this._invalid === true,
|
25635
25726
|
'has-helper': this.hasHelperSlot,
|
25636
25727
|
'is-open': this.hasOpened,
|
25637
25728
|
masked: this.mask,
|
25638
|
-
} }, h(FormControl, { key: '
|
25639
|
-
this.mask && (h("div", { key: '
|
25640
|
-
h("input", { key: '
|
25641
|
-
])), !this.readonly && !this.disabled && (h("nano-datalist", { key: '
|
25729
|
+
} }, h(FormControl, { key: '704c73a69c5a3f661ed8926fc8980b952b9169be', ...controlOptions, ref: (el) => (this.selectWrap = el), onClearText: this.clearSelectValue, control: this.el, endValueSlot: h("slot", { name: "down-arrow" }, h("nano-icon", { class: "select__down-arrow", name: "light/chevron-down" })), showInlineError: this.showInlineError }, this.multiple && (h("div", { key: 'ef05cb7727be6b7c0ab67c7e9ebb8d1387903eb3', class: "select__multi-wrap select" }, this.multipleValues(labelId, moreId, helperEndId))), !this.multiple && [
|
25730
|
+
this.mask && (h("div", { key: '3a58835bf8f059658238a717a8f71b896fe0b599', class: "select__mask" }, this.getLabel(this.value))),
|
25731
|
+
h("input", { key: 'b74a7cedd698e6739ff3c81b4ef12710726b1a4d', ref: (input) => (this.inputCtrl = input), id: this.selectId, class: "select__native-input", "aria-labelledby": labelId + ' ' + moreId + ' ' + helperEndId, disabled: this.disabled, form: this.form, placeholder: this.placeholder, readonly: true, required: this.required, value: this.getLabel(this.value), onFocus: this.onFocus }),
|
25732
|
+
])), !this.readonly && !this.disabled && (h("nano-datalist", { key: 'e7469592db6a1248d8cf32f2c8fd36364045ac49', ref: (el) => (this.datalist = el), selected: this.valArray, type: this.multiple ? 'selectMulti' : 'select', options: this._options.length ? this._options : undefined, onNanoDeselect: (e) => {
|
25642
25733
|
e.preventDefault();
|
25643
25734
|
this.removeValue(e.detail.value);
|
25644
25735
|
}, onNanoOptionsUpdated: this.setOptions, onNanoSelect: this.setValue,
|
25645
25736
|
// @ts-expect-error - this bubbles from the nano-dropdown
|
25646
25737
|
onNanoShow: () => (this.hasOpened = true), onNanoHide: () => (this.hasOpened = false) }, this.allowCustomValues &&
|
25647
25738
|
this.multiple &&
|
25648
|
-
!!this.inputSearchVal && (h("nano-option", { key: '
|
25739
|
+
!!this.inputSearchVal && (h("nano-option", { key: '50c0203767871b9a1dcf87d9b6e51a98cf62c72f', slot: "list-top", value: this.inputSearchVal, selected: false, label: this.inputSearchVal, onNanoSelect: () => this.inputCtrl.focus() }, h("span", { key: 'bfd78ea1f905f6d512e36f43c0e7bf417769d7ba', slot: "check-icon" }), "Add '", this.inputSearchVal, "'")), h("slot", { key: '67b82a4e86e472fb9bcf5c4173a9b202ea9402c5' }))), h("select", { key: 'e9a9ab79d35f38e1a20e98594ee1c0d11945eb1f', id: this.selectId + '-hidden', class: "select__native-ctrl", ref: (select) => (this.nativeSelect = select), "aria-labelledby": labelId + ' ' + moreId + ' ' + helperEndId, disabled: this.disabled, form: this.form, multiple: this.multiple, name: this.name, required: this.required, onInvalid: this.handleInvalid }, this.allowCustomValues &&
|
25649
25740
|
this.valArray.map((val) => {
|
25650
25741
|
return (h("option", { value: val, selected: true }, val));
|
25651
25742
|
}), !this.allowCustomValues &&
|
@@ -25788,7 +25879,7 @@ let Slide$2 = class Slide {
|
|
25788
25879
|
});
|
25789
25880
|
}
|
25790
25881
|
render() {
|
25791
|
-
return (h(Host, { key: '
|
25882
|
+
return (h(Host, { key: 'a426e75ad5b607ac12e53db8183e08f89a10057a', class: "nano-slide" }, h("slot", { key: '792f06fe463ae49d981d7beceb68e4b7b49beff3' })));
|
25792
25883
|
}
|
25793
25884
|
static get watchers() { return {
|
25794
25885
|
"ready": ["readyChange"]
|
@@ -28767,15 +28858,15 @@ class Slides {
|
|
28767
28858
|
this.destroyflickity();
|
28768
28859
|
}
|
28769
28860
|
render() {
|
28770
|
-
return (h(Host, { key: '
|
28861
|
+
return (h(Host, { key: '25fe656149129885383046b7f2cb81ecc965db13', class: "nano-slides" }, h("div", { key: '84d9f878b91454a12311ffc5203d49a243fb9c66', class: {
|
28771
28862
|
slideshow: true,
|
28772
28863
|
ready: this.ready,
|
28773
28864
|
'not-ready': !this.ready,
|
28774
|
-
}, part: "base" }, h("div", { key: '
|
28865
|
+
}, part: "base" }, h("div", { key: 'b975dcadc6d7b7b5b7e915980527eba3bf740165', ref: (div) => (this.flickityEl = div), class: {
|
28775
28866
|
'flickity-container': true,
|
28776
28867
|
'slides-ready': this.slidesReady,
|
28777
28868
|
'slides-not-ready': !this.slidesReady,
|
28778
|
-
}, part: "slide-container" }, h("slot", { key: '
|
28869
|
+
}, part: "slide-container" }, h("slot", { key: 'a9b13e8e0c8808617c694953e3fef74a57d719a8' })), h("div", { key: '9caacd27973cc67740145365ab7a10c75ab44219', class: "ui-extras" }, h("slot", { key: 'ad80afb5ddbcc54b10310a4e115403fee8dda215', name: "ui" })))));
|
28779
28870
|
}
|
28780
28871
|
static get watchers() { return {
|
28781
28872
|
"options": ["optionsChanged"],
|
@@ -29553,7 +29644,7 @@ class Sortable {
|
|
29553
29644
|
}
|
29554
29645
|
}
|
29555
29646
|
render() {
|
29556
|
-
return (h(Host, { key: '
|
29647
|
+
return (h(Host, { key: 'd6d4f0ad6adf2a3f5e1d36b757e116b58e5b55b4', class: "nano-sortable" }, 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) => (h("div", null, str)))), h("slot", { key: '079bc29ba8c2f26163b7e3a23f0107f78db7b3fb' })));
|
29557
29648
|
}
|
29558
29649
|
static get watchers() { return {
|
29559
29650
|
"itemSelector": ["handleItemSelectorChange"],
|
@@ -30552,12 +30643,12 @@ class Sticker {
|
|
30552
30643
|
this.hasBootstrapped = false;
|
30553
30644
|
}
|
30554
30645
|
render() {
|
30555
|
-
return (h(Host, { key: '
|
30646
|
+
return (h(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" }, h("div", { key: 'db32b41390349cec6975dfad25b6b99ddadf5758', class: {
|
30556
30647
|
sticker: true,
|
30557
30648
|
sticky: this.isRootSticker && this.isSticky,
|
30558
30649
|
stuck: this.isStuck && this.isRootSticker && this.isSticky,
|
30559
30650
|
hide: this.isRootSticker && this.hide && this.isStuck,
|
30560
|
-
}, ref: (div) => (this.sticker = div) }, h("div", { key: '
|
30651
|
+
}, ref: (div) => (this.sticker = div) }, h("div", { key: 'b1e54c375552b7460fb6991f1c476bf9f73c997f', class: "sticker-content", ref: (div) => (this.content = div) }, h("slot", { key: 'a2ee69ba9e39d796d832340777f61deb21c2f5d1' })))));
|
30561
30652
|
}
|
30562
30653
|
static get watchers() { return {
|
30563
30654
|
"trigger": ["updateTriggerOffset"],
|
@@ -30846,10 +30937,10 @@ class Tooltip {
|
|
30846
30937
|
this.popover.destroy();
|
30847
30938
|
}
|
30848
30939
|
render() {
|
30849
|
-
return (h(Host, { key: '
|
30940
|
+
return (h(Host, { key: '88500e56b7cc79e344604bfb9ffc54f2c7884c16', onKeyDown: this.handleKeyDown, onMouseOver: this.handleMouseOver, onMouseOut: this.handleMouseOut, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.handleClick, class: "nano-tooltip" }, h("slot", { key: '6ff00a2034648eb7cde6bb7e7ba1bc0dcf611238', onSlotchange: this.handleSlotChange }), h("div", { key: 'e278b67db89953ef0a174b50f5aa28e101e8e83d', ref: (el) => (this.tooltipPositioner = el), class: "tooltip-positioner", popover: "manual" }, h("div", { key: '226bc518e38502e1a864c26a265abb01cfdb918e', part: "base", ref: (el) => (this.tooltip = el), class: {
|
30850
30941
|
tooltip: true,
|
30851
30942
|
'tooltip--open': this.open,
|
30852
|
-
}, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, h("slot", { key: '
|
30943
|
+
}, role: "tooltip", "aria-hidden": this.open ? 'false' : 'true' }, h("slot", { key: '6245d2904946b690c9c3ea4e902fa5d789473110', name: "content", onSlotchange: () => this.setLabel() }, this.content), h("div", { key: '8ddc4c34d70107ade21b7b53827d3c37e6744d2e', class: "tooltip-arrow", "data-popper-arrow": true })))));
|
30853
30944
|
}
|
30854
30945
|
static get watchers() { return {
|
30855
30946
|
"content": ["setLabel"],
|
@@ -30922,6 +31013,7 @@ registerComponents([
|
|
30922
31013
|
NanoFooter,
|
30923
31014
|
NanoIconItem,
|
30924
31015
|
NanoInPageNav,
|
31016
|
+
NanoIncrement,
|
30925
31017
|
NanoTab,
|
30926
31018
|
NanoTabContent,
|
30927
31019
|
NanoTabGroup,
|