@nova-design-system/nova-webcomponents 3.30.0 → 3.31.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/index.cjs.js +9 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/native.cjs.js +1 -1
- package/dist/cjs/nv-fielddropdown.cjs.entry.js +100 -22
- package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-fieldselect.cjs.entry.js +44 -6
- package/dist/cjs/nv-fieldslider.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldtext.cjs.entry.js +4 -4
- package/dist/cjs/nv-fieldtextarea.cjs.entry.js +3 -3
- package/dist/cjs/nv-fieldtime.cjs.entry.js +3 -3
- package/dist/cjs/nv-icon.cjs.entry.js +2 -2
- package/dist/cjs/nv-iconbutton_2.cjs.entry.js +2 -2
- package/dist/cjs/nv-menu.cjs.entry.js +1 -1
- package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-notification.cjs.entry.js +1 -1
- package/dist/cjs/nv-notificationcontainer.cjs.entry.js +1 -1
- package/dist/cjs/nv-pagination-nav.cjs.entry.js +1 -1
- package/dist/cjs/nv-paginationtable.cjs.entry.js +1 -1
- package/dist/cjs/nv-popover.cjs.entry.js +1 -1
- package/dist/cjs/nv-row.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarcontent.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebardivider.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebarfooter.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebargroup.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebarheader.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebarlogo.cjs.entry.js +1 -1
- package/dist/cjs/nv-sidebarnavitem.cjs.entry.js +2 -2
- package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +1 -1
- package/dist/cjs/nv-split.cjs.entry.js +1 -1
- package/dist/cjs/nv-stack.cjs.entry.js +1 -1
- package/dist/cjs/nv-statusindicator.cjs.entry.js +1 -1
- package/dist/cjs/nv-table.cjs.entry.js +1 -1
- package/dist/cjs/nv-tableheader.cjs.entry.js +1 -1
- package/dist/cjs/nv-timetest.cjs.entry.js +1 -1
- package/dist/cjs/nv-toggle.cjs.entry.js +2 -2
- package/dist/cjs/nv-togglebutton.cjs.entry.js +1 -1
- package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +1 -1
- package/dist/cjs/nv-tooltip.cjs.entry.js +1 -1
- package/dist/collection/components/nv-alert/nv-alert.js +1 -1
- package/dist/collection/components/nv-badge/nv-badge.js +2 -2
- package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +2 -2
- package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.js +2 -2
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +11 -0
- package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +151 -22
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.docs.js +7 -7
- package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js +11 -0
- package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +98 -5
- package/dist/collection/components/nv-fieldselect/styles/nv-fieldselect.css +3 -0
- package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
- package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +4 -4
- package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
- package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +3 -3
- package/dist/collection/components/nv-icon/nv-icon.js +2 -2
- package/dist/collection/components/nv-icon/nv-icons.js +9 -0
- package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +2 -2
- package/dist/collection/components/nv-loader/nv-loader.js +1 -1
- package/dist/collection/components/nv-menu/nv-menu.js +1 -1
- package/dist/collection/components/nv-menuitem/nv-menuitem.js +2 -2
- package/dist/collection/components/nv-notification/nv-notification.js +2 -2
- package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -1
- package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.js +1 -1
- package/dist/collection/components/nv-paginationtable/nv-paginationtable.js +1 -1
- package/dist/collection/components/nv-popover/nv-popover.js +1 -1
- package/dist/collection/components/nv-row/nv-row.js +1 -1
- package/dist/collection/components/nv-sidebar/nv-sidebar.js +2 -2
- package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js +1 -1
- package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js +1 -1
- package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js +1 -1
- package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js +1 -1
- package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js +1 -1
- package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js +1 -1
- package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +3 -3
- package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +1 -1
- package/dist/collection/components/nv-split/nv-split.js +1 -1
- package/dist/collection/components/nv-stack/nv-stack.js +1 -1
- package/dist/collection/components/nv-statusindicator/nv-statusindicator.js +1 -1
- package/dist/collection/components/nv-table/nv-table.js +1 -1
- package/dist/collection/components/nv-tableheader/nv-tableheader.js +1 -1
- package/dist/collection/components/nv-timetest/nv-timetest.js +1 -1
- package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
- package/dist/collection/components/nv-togglebutton/nv-togglebutton.js +1 -1
- package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js +1 -1
- package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/nv-accordion-item.js +1 -1
- package/dist/components/nv-accordion.js +1 -1
- package/dist/components/nv-alert.js +1 -1
- package/dist/components/nv-avatar.js +1 -1
- package/dist/components/nv-badge.js +1 -1
- package/dist/components/nv-breadcrumb.js +1 -1
- package/dist/components/nv-button.js +1 -1
- package/dist/components/nv-datagrid.js +1 -1
- package/dist/components/nv-dialog.js +1 -1
- package/dist/components/nv-dialogfooter.js +1 -1
- package/dist/components/nv-drawer.js +1 -1
- package/dist/components/nv-drawerfooter.js +1 -1
- package/dist/components/nv-fielddate.js +1 -1
- package/dist/components/nv-fielddaterange.js +1 -1
- package/dist/components/nv-fielddropdown.js +1 -1
- package/dist/components/nv-fielddropdownitem.js +1 -1
- package/dist/components/nv-fieldmultiselect.js +1 -1
- package/dist/components/nv-fieldnumber.js +1 -1
- package/dist/components/nv-fieldpassword.js +1 -1
- package/dist/components/nv-fieldselect.js +1 -1
- package/dist/components/nv-fieldslider.js +1 -1
- package/dist/components/nv-fieldtext.js +1 -1
- package/dist/components/nv-fieldtextarea.js +1 -1
- package/dist/components/nv-fieldtime.js +1 -1
- package/dist/components/nv-icon.js +1 -1
- package/dist/components/nv-iconbutton.js +1 -1
- package/dist/components/nv-loader.js +1 -1
- package/dist/components/nv-menu.js +1 -1
- package/dist/components/nv-menuitem.js +1 -1
- package/dist/components/nv-notification.js +1 -1
- package/dist/components/nv-notificationcontainer.js +1 -1
- package/dist/components/nv-pagination-nav.js +1 -1
- package/dist/components/nv-paginationtable.js +1 -1
- package/dist/components/nv-popover.js +1 -1
- package/dist/components/nv-row.js +1 -1
- package/dist/components/nv-sidebar.js +1 -1
- package/dist/components/nv-sidebarcontent.js +1 -1
- package/dist/components/nv-sidebardivider.js +1 -1
- package/dist/components/nv-sidebarfooter.js +1 -1
- package/dist/components/nv-sidebargroup.js +1 -1
- package/dist/components/nv-sidebarheader.js +1 -1
- package/dist/components/nv-sidebarlogo.js +1 -1
- package/dist/components/nv-sidebarnavitem.js +1 -1
- package/dist/components/nv-sidebarnavsubitem.js +1 -1
- package/dist/components/nv-split.js +1 -1
- package/dist/components/nv-stack.js +1 -1
- package/dist/components/nv-statusindicator.js +1 -1
- package/dist/components/nv-table.js +1 -1
- package/dist/components/nv-tableheader.js +1 -1
- package/dist/components/nv-tag.js +1 -1
- package/dist/components/nv-timetest.js +1 -1
- package/dist/components/nv-toggle.js +1 -1
- package/dist/components/nv-togglebutton.js +1 -1
- package/dist/components/nv-togglebuttongroup.js +1 -1
- package/dist/components/nv-tooltip.js +1 -1
- package/dist/components/{p-D54x8OFu.js → p-1Zs1aHJ4.js} +1 -1
- package/dist/components/{p-Dg-Ac5i4.js → p-B4Uw_U8V.js} +1 -1
- package/dist/components/{p-yPMU6HZQ.js → p-BFM_8Jgq.js} +1 -1
- package/dist/components/{p-BYrgllP3.js → p-B_SethFg.js} +1 -1
- package/dist/components/{p-Cx5CLy9v.js → p-Bt5_pj49.js} +1 -1
- package/dist/components/{p-MLanePUO.js → p-C-Rs6wG9.js} +1 -1
- package/dist/components/p-C_eOV3Z7.js +1 -0
- package/dist/components/{p-Bu90dktV.js → p-Co54UCK_.js} +1 -1
- package/dist/components/{p-BhRpSdkR.js → p-CsPx96EZ.js} +1 -1
- package/dist/components/{p-DP_K3tkj.js → p-DCYvyQ_j.js} +1 -1
- package/dist/components/{p-L7U51TAH.js → p-DWvQs_c-.js} +1 -1
- package/dist/components/{p-B8yJMa0S.js → p-Ghb9L_N-.js} +1 -1
- package/dist/components/{p-CzRlra4z.js → p-Oger3lC0.js} +1 -1
- package/dist/components/{p-DQuJvZ4Z.js → p-VppCgviO.js} +1 -1
- package/dist/components/{p-Cj6urNtm.js → p-YhjPEgIT.js} +1 -1
- package/dist/esm/index.js +9 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/native.js +1 -1
- package/dist/esm/nv-fielddropdown.entry.js +100 -22
- package/dist/esm/nv-fielddropdownitem.entry.js +1 -1
- package/dist/esm/nv-fieldselect.entry.js +44 -6
- package/dist/esm/nv-fieldslider.entry.js +3 -3
- package/dist/esm/nv-fieldtext.entry.js +4 -4
- package/dist/esm/nv-fieldtextarea.entry.js +3 -3
- package/dist/esm/nv-fieldtime.entry.js +3 -3
- package/dist/esm/nv-icon.entry.js +2 -2
- package/dist/esm/nv-iconbutton_2.entry.js +2 -2
- package/dist/esm/nv-menu.entry.js +1 -1
- package/dist/esm/nv-menuitem.entry.js +1 -1
- package/dist/esm/nv-notification.entry.js +1 -1
- package/dist/esm/nv-notificationcontainer.entry.js +1 -1
- package/dist/esm/nv-pagination-nav.entry.js +1 -1
- package/dist/esm/nv-paginationtable.entry.js +1 -1
- package/dist/esm/nv-popover.entry.js +1 -1
- package/dist/esm/nv-row.entry.js +1 -1
- package/dist/esm/nv-sidebar.entry.js +2 -2
- package/dist/esm/nv-sidebarcontent.entry.js +1 -1
- package/dist/esm/nv-sidebardivider.entry.js +1 -1
- package/dist/esm/nv-sidebarfooter.entry.js +1 -1
- package/dist/esm/nv-sidebargroup.entry.js +1 -1
- package/dist/esm/nv-sidebarheader.entry.js +1 -1
- package/dist/esm/nv-sidebarlogo.entry.js +1 -1
- package/dist/esm/nv-sidebarnavitem.entry.js +2 -2
- package/dist/esm/nv-sidebarnavsubitem.entry.js +1 -1
- package/dist/esm/nv-split.entry.js +1 -1
- package/dist/esm/nv-stack.entry.js +1 -1
- package/dist/esm/nv-statusindicator.entry.js +1 -1
- package/dist/esm/nv-table.entry.js +1 -1
- package/dist/esm/nv-tableheader.entry.js +1 -1
- package/dist/esm/nv-timetest.entry.js +1 -1
- package/dist/esm/nv-toggle.entry.js +2 -2
- package/dist/esm/nv-togglebutton.entry.js +1 -1
- package/dist/esm/nv-togglebuttongroup.entry.js +1 -1
- package/dist/esm/nv-tooltip.entry.js +1 -1
- package/dist/native/index.esm.js +1 -1
- package/dist/native/native.esm.js +1 -1
- package/dist/native/{p-189647e4.entry.js → p-007fef99.entry.js} +1 -1
- package/dist/native/{p-6ccc84c8.entry.js → p-00f4c8d3.entry.js} +1 -1
- package/dist/native/{p-04011d0f.entry.js → p-06eb42e0.entry.js} +1 -1
- package/dist/native/{p-93d2bfab.entry.js → p-13c507cd.entry.js} +1 -1
- package/dist/native/{p-b2ef61bc.entry.js → p-144ab827.entry.js} +1 -1
- package/dist/native/{p-ec919a10.entry.js → p-29b23e1d.entry.js} +1 -1
- package/dist/native/{p-c1faed1f.entry.js → p-2b20125e.entry.js} +1 -1
- package/dist/native/p-31e192d9.entry.js +1 -0
- package/dist/native/{p-dfd364de.entry.js → p-3855de15.entry.js} +1 -1
- package/dist/native/{p-37c42bed.entry.js → p-39d5af96.entry.js} +1 -1
- package/dist/native/p-3bed118d.entry.js +1 -0
- package/dist/native/{p-49745be2.entry.js → p-42dc404a.entry.js} +1 -1
- package/dist/native/{p-8faf3e05.entry.js → p-49ceb38e.entry.js} +1 -1
- package/dist/native/{p-c305f1c6.entry.js → p-4b8945c0.entry.js} +1 -1
- package/dist/native/{p-3f888601.entry.js → p-4cff908a.entry.js} +1 -1
- package/dist/native/{p-ffc9e2a0.entry.js → p-513fb9e7.entry.js} +1 -1
- package/dist/native/p-5adac760.entry.js +1 -0
- package/dist/native/p-6e49d3a1.entry.js +1 -0
- package/dist/native/{p-8decb323.entry.js → p-72c461ac.entry.js} +1 -1
- package/dist/native/{p-5375ddc6.entry.js → p-77bc9afe.entry.js} +1 -1
- package/dist/native/{p-33889f52.entry.js → p-789fdae9.entry.js} +1 -1
- package/dist/native/{p-287c67e1.entry.js → p-80ba6f84.entry.js} +1 -1
- package/dist/native/p-90397b9d.entry.js +1 -0
- package/dist/native/{p-40000df1.entry.js → p-91719d87.entry.js} +1 -1
- package/dist/native/p-a5d647f1.entry.js +1 -0
- package/dist/native/{p-0c65e726.entry.js → p-a6554d37.entry.js} +1 -1
- package/dist/native/{p-859b24ed.entry.js → p-b76682bb.entry.js} +1 -1
- package/dist/native/{p-d0dfa700.entry.js → p-bc0b637f.entry.js} +1 -1
- package/dist/native/p-bebf7bf7.entry.js +1 -0
- package/dist/native/{p-10dee67d.entry.js → p-c81532c9.entry.js} +1 -1
- package/dist/native/p-cec93106.entry.js +1 -0
- package/dist/native/{p-c5261442.entry.js → p-cfe99a3f.entry.js} +1 -1
- package/dist/native/{p-4514a6a4.entry.js → p-d0c5f580.entry.js} +1 -1
- package/dist/native/p-ef90ca99.entry.js +1 -0
- package/dist/native/{p-be2e4cf0.entry.js → p-f6341ac4.entry.js} +1 -1
- package/dist/native/{p-2afcd5e4.entry.js → p-f986b4e5.entry.js} +1 -1
- package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +39 -0
- package/dist/types/components/nv-fieldselect/nv-fieldselect.d.ts +28 -0
- package/dist/types/components/nv-icon/nv-icons.d.ts +1 -1
- package/dist/types/components.d.ts +38 -0
- package/dist/vscode-data.json +332 -0
- package/hydrate/index.js +199 -79
- package/hydrate/index.mjs +199 -79
- package/package.json +1 -1
- package/dist/components/p-B4qcUV0M.js +0 -1
- package/dist/native/p-298d893d.entry.js +0 -1
- package/dist/native/p-5690757b.entry.js +0 -1
- package/dist/native/p-7c9e1f01.entry.js +0 -1
- package/dist/native/p-7cbc09f0.entry.js +0 -1
- package/dist/native/p-b99ad8a7.entry.js +0 -1
- package/dist/native/p-d4d04530.entry.js +0 -1
- package/dist/native/p-dfb46af1.entry.js +0 -1
- package/dist/native/p-e7a73a7c.entry.js +0 -1
- package/dist/native/p-eab25bfa.entry.js +0 -1
|
@@ -123,7 +123,7 @@ const NvIconbutton = class {
|
|
|
123
123
|
/****************************************************************************/
|
|
124
124
|
//#region RENDER
|
|
125
125
|
render() {
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: 'f206fab4c635b6d27b112cc68bebfc3e66593177', role: "button", type: this.type, tabindex: this.disableTabindex ? -1 : 0, disabled: this.disabled ? true : undefined, class: clsx('root', `size-${this.size}`, `emphasis-${this.emphasis}`, this.loading && 'loading', `shape-${this.shape}`), onClick: this.handleClick }, this.loading && h("nv-loader", { key: '2ea73a9f618aeda177874d9d628e67e2ecaeec52', size: this.size }), !this.loading && h("nv-icon", { key: '8ebed9969c09dedbb7c900b520cb52f28f342adc', name: this.name, size: this.size }), h("slot", { key: 'b4d27f55210016a776cb215f2f8788fe4fd7c4a1' })));
|
|
127
127
|
}
|
|
128
128
|
static get formAssociated() { return true; }
|
|
129
129
|
get el() { return getElement(this); }
|
|
@@ -157,7 +157,7 @@ const NvLoader = class {
|
|
|
157
157
|
//#region RENDER
|
|
158
158
|
/* <slot> empty to force rendering change */
|
|
159
159
|
render() {
|
|
160
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: '7b918edfcde0ddd6c0d43ad6e2a2457715bd1889', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
|
|
161
161
|
}
|
|
162
162
|
};
|
|
163
163
|
NvLoader.style = nvLoaderCss();
|
|
@@ -187,7 +187,7 @@ const NvMenu = class {
|
|
|
187
187
|
this.triggerElement = this.el.querySelector('[slot="trigger"]');
|
|
188
188
|
}
|
|
189
189
|
render() {
|
|
190
|
-
return (h(Host, { key: '
|
|
190
|
+
return (h(Host, { key: '6d6c019a93a9b9b86050676d9cfd6c9bed32f74e' }, h("slot", { key: 'cef1a6840042e09583d0b52afe8feb5ffa1596e1', name: "trigger" }), h("nv-popover", { key: '1c8e5c2080c18dc64cb1eda46c25de82bd56ffb7', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open, onOpenChanged: this.handleOpenChanged.bind(this) }, this.items ? (h("ul", { slot: "content" }, this.renderMenuItems())) : (h("slot", { name: "content" })))));
|
|
191
191
|
}
|
|
192
192
|
get el() { return getElement(this); }
|
|
193
193
|
};
|
|
@@ -45,7 +45,7 @@ const NvMenuitem = class {
|
|
|
45
45
|
/****************************************************************************/
|
|
46
46
|
//#region RENDER
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '9ae0a9d4520789157d869a8832f622176f9df331', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && h("nv-icon", { key: 'a0f76ff34d83238add0cebfb83a1c7f715d9fcb0', name: this.icon }), h("slot", { key: '8a5883175325444025efcbd12ecb57c95dfb2ac3' }), this.label && h("span", { key: 'da5452a4fdc521cf336a38575c9ab2e49d7b0179', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && h("kbd", { key: 'de40a96181c57c6ea27669c15634a568c6e3ed05' }, this.shortcut), this.hasSubmenu && h("nv-icon", { key: 'ff65838b28f0be31356645cfbdd5b7eb95b47266', name: "chevron-right" })));
|
|
49
49
|
}
|
|
50
50
|
get el() { return getElement(this); }
|
|
51
51
|
};
|
|
@@ -162,7 +162,7 @@ const NvNotification = class {
|
|
|
162
162
|
/****************************************************************************/
|
|
163
163
|
//#region RENDER
|
|
164
164
|
render() {
|
|
165
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: '963a3af8ccb2c30837117a043fb2448a4dc66495', role: this.getAriaRole(), "aria-live": this.getAriaLive(), "aria-atomic": true, "aria-labelledby": this.getHeadingId() ?? null, "aria-describedby": this.getMessageId() ?? null, tabindex: "-1" }, h("div", { key: '6e19a01f8d53bea227582f1675c21c12d1a7999b', "data-scope": "container", ref: el => (this.container = el) }, this.dismissible && (h("button", { key: '1e218a93694821570701052167d853bcef9838d8', "data-scope": "dismiss", type: "button", onClick: this.dismiss.bind(this) }, h("nv-icon", { key: 'f476ccf71ea7900ce5d6ae00a27704f73d9d6dca', name: "x", size: "sm" }))), h("nv-icon", { key: '94e1a29141c622494868fbb9b168768f2d81c009', name: this.icon ?? this.getDefaultIcon(), size: "md", "data-scope": "icon" }), h("div", { key: 'a7e807940344cc5cd1313c6243d6397608b15256', "data-scope": "content" }, (this.heading || this.headingSlot) && (h("p", { key: 'd901622d9a82c1591052d00049d5ceff79c45d3f', id: this.getHeadingId(), "data-scope": "heading" }, h("slot", { key: '4c56f47007bd90cd6bcb02334ca1df663e703d55', name: "heading" }, this.heading))), (this.message || this.messageSlot) && (h("p", { key: '579226c99afd50444ea3e8030e8eb6aa3b875379', id: this.getMessageId(), "data-scope": "message" }, h("slot", { key: '4d099d8f38269a49500f4e17d9d2cfb7552c4759', name: "content" }, this.message))), this.actionsSlot && (h("div", { key: '341d68bf9af3e14805022da7f18760ac1ab09616', "data-scope": "actions" }, h("slot", { key: '39d4bbe64673e00a65f650bb311f87e48af53c5f', name: "actions" })))))));
|
|
166
166
|
}
|
|
167
167
|
get el() { return getElement(this); }
|
|
168
168
|
};
|
|
@@ -16,7 +16,7 @@ const NvNotificationContainer = class {
|
|
|
16
16
|
/****************************************************************************/
|
|
17
17
|
//#region RENDER
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'd59852ab59c6689f8a8a691293c2f91798360ff9', class: `position-${this.position}` }, h("slot", { key: '0758d9cd7b66e21e90f8cf7df13146426749c379' })));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
NvNotificationContainer.style = nvNotificationcontainerCss();
|
|
@@ -175,7 +175,7 @@ const NvPaginationNav = class {
|
|
|
175
175
|
render() {
|
|
176
176
|
const isFirstPage = this.currentPage === 1;
|
|
177
177
|
const isLastPage = this.currentPage === this.totalPages;
|
|
178
|
-
return (h(Host, { key: '
|
|
178
|
+
return (h(Host, { key: '0286f59b5bea5278e5e9765e8e8f9cf982012967' }, h("nav", { key: '90acdb38a7f5856c91008c59d0e33ed40e280413', "data-scope": "pagination-nav", "aria-label": "Pagination navigation" }, this.isOnlyIcon ? (h("nv-iconbutton", { name: "chevron-left", size: "md", emphasis: "lower", disabled: isFirstPage, onClick: () => this.handlePageChange(this.currentPage - 1), "data-scope": "previous-iconbutton", "aria-label": this.previousButtonLabel })) : (h("nv-button", { size: "md", emphasis: "lower", disabled: isFirstPage, onClick: () => this.handlePageChange(this.currentPage - 1), "data-scope": "previous-button" }, h("nv-icon", { slot: "leading-icon", name: "chevron-left" }), this.previousButtonLabel)), h("ol", { key: 'e0d45ea0585641912d07224cda2f28da4d403328', "data-scope": "page-list" }, calculatePaginationRange({
|
|
179
179
|
currentPage: this.currentPage,
|
|
180
180
|
totalCount: this.totalCount,
|
|
181
181
|
pageSize: this.pageSize,
|
|
@@ -226,7 +226,7 @@ const NvPaginationtable = class {
|
|
|
226
226
|
}, 'Page {pageIndex} of {pageCount}');
|
|
227
227
|
const totalLabel = interpolate(this.labelTotal, { rowCount: this.rowCount }, 'Total: {rowCount} rows');
|
|
228
228
|
const pageSizeOptions = generatePageSizeOptions(this.labelPageSizeOption ?? '{pageSize} per page');
|
|
229
|
-
return (h(Host, { key: '
|
|
229
|
+
return (h(Host, { key: 'bd9f375e9cd70057e07f4a9c2959602deae32595', role: "navigation", "aria-label": "Pagination" }, !this.hideControls && (h("div", { key: '0386065df913eb6f2771ca2d2c4298fb366d4ab0', "data-scope": "controls" }, !this.hideFirstLast && (h("nv-iconbutton", { key: '3936165ea8dcf0ca31bdf5655227ac78850138da', name: "chevrons-left", emphasis: "lower", size: "sm", disabled: atFirstPage, onClick: () => this.firstPage() })), !this.hidePrevNext && (h("nv-iconbutton", { key: '2bd49394589d6774a32b0389268bd411ebfa4e16', name: "chevron-left", emphasis: "lower", size: "sm", disabled: atFirstPage, onClick: () => this.previousPage() })), !this.hidePrevNext && (h("nv-iconbutton", { key: '030d56f45acc4021cd7541970c9e5190ed7e6385', name: "chevron-right", emphasis: "lower", size: "sm", disabled: atLastPage, onClick: () => this.nextPage() })), !this.hideFirstLast && (h("nv-iconbutton", { key: '720dc8f95504f3b71b7dfd5e674c67d3f059b235', name: "chevrons-right", emphasis: "lower", size: "sm", disabled: atLastPage, onClick: () => this.lastPage() })))), h("span", { key: 'd4bf47080fd6e9beb2197b9447b6f8619ab8321d', "data-scope": "page-label" }, pageLabel), h("span", { key: '874dc1d70c11a9e1a7553156c0eae64274ce1573', "data-scope": "total" }, totalLabel), h("div", { key: 'e7ce034f09df02eab8cbcd425680cf1f3548cc4e', "data-scope": "per-page" }, h("nv-fieldselect", { key: '61a7bc328283207597a8633bd77cb66a990b0973', value: String(this.pageSize), onValueChanged: this.handlePageSizeChange, options: pageSizeOptions })), h("slot", { key: '69c3590d8d2d2ce3df7ce3f809b7ee6614d58ce5' })));
|
|
230
230
|
}
|
|
231
231
|
static get watchers() { return {
|
|
232
232
|
"pageIndex": [{
|
|
@@ -1957,7 +1957,7 @@ const NvPopover = class {
|
|
|
1957
1957
|
/****************************************************************************/
|
|
1958
1958
|
//#region RENDER
|
|
1959
1959
|
render() {
|
|
1960
|
-
return (h(Host, { key: '
|
|
1960
|
+
return (h(Host, { key: 'bf65e878d126fd511b574bf0262dde4f60e89750' }, h("slot", { key: '5482a6bc3d6eb3edfa6653623f6c3024c6d150be', name: "trigger" }), h("div", { key: '6cd445d44ad05def95647d2898dc19092716a8ee', "data-scope": "popover", "data-strategy": this.strategy, hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (h("div", { key: 'b23f0f9709f733a44d239a05b99f965d5ba036fb', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), h("slot", { key: '423901f5afaf3418edc8870b4de7b113151c685d', name: "content" }))));
|
|
1961
1961
|
}
|
|
1962
1962
|
get el() { return getElement(this); }
|
|
1963
1963
|
static get watchers() { return {
|
package/dist/esm/nv-row.entry.js
CHANGED
|
@@ -9,7 +9,7 @@ const NvRow = class {
|
|
|
9
9
|
/****************************************************************************/
|
|
10
10
|
//#region RENDER
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'dd18c6bf2c540a0f9389d32c01ce1bf19417e15a' }, h("slot", { key: '2bae51fa253dd71ff2318af8538a64200b7dfef4' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NvRow.style = nvRowCss();
|
|
@@ -319,9 +319,9 @@ const NvSidebar = class {
|
|
|
319
319
|
const isCollapsed = this.type === 'collapsible' && !this.open;
|
|
320
320
|
const showResizeHandle = this.resizable && !isCollapsed;
|
|
321
321
|
const [ariaValueMin, ariaValueMax] = this.getBounds();
|
|
322
|
-
return (h(Host, { key: '
|
|
322
|
+
return (h(Host, { key: '6d43cb441e9477d4146d44af59365848dbbee875', role: "navigation", collapsed: isCollapsed ? true : undefined, resizing: this.resizing ? true : undefined, "notification-intention": this.notificationIntention, "notification-emphasis": this.notificationEmphasis, "aria-expanded": this.type === 'collapsible' ? String(this.open) : undefined }, h("div", { key: 'f6c58fbbafdb759499dd5a52e45eebc9ed6e5f4a', class: "nv-sidebar-container" }, h("slot", { key: '9ebf341658bb5631858390e3c76e274de72b5448' })), this.type === 'collapsible' && (h("button", { key: '1fd482c9157d47a5852395eb99a65f044f3db76a', class: "nv-sidebar-toggle", onClick: this.handleToggle, "aria-label": this.open ? 'Collapse sidebar' : 'Expand sidebar' }, h("nv-icon", { key: 'cd0a51cd731fc8c703256c3b781e0f20b14a3e2f', name: this.open
|
|
323
323
|
? 'layout-sidebar-left-collapse'
|
|
324
|
-
: 'layout-sidebar-right-collapse', size: "sm" }))), showResizeHandle && (h("div", { key: '
|
|
324
|
+
: 'layout-sidebar-right-collapse', size: "sm" }))), showResizeHandle && (h("div", { key: '75fe0b6d98ad9558b9003c541f255f84a41dbf27', class: "nv-sidebar-resize-handle", role: "separator", "aria-orientation": "vertical", "aria-label": "Resize sidebar", "aria-valuenow": this.getAriaValueNow(), "aria-valuemin": ariaValueMin, "aria-valuemax": ariaValueMax, tabIndex: 0, onPointerDown: this.handleResizeStart, onPointerMove: this.handleResizeMove, onPointerUp: this.handleResizeEnd, onPointerCancel: this.handleResizeCancel, onKeyDown: this.handleResizeKeyDown }))));
|
|
325
325
|
}
|
|
326
326
|
get el() { return getElement(this); }
|
|
327
327
|
static get watchers() { return {
|
|
@@ -9,7 +9,7 @@ const NvSidebarcontent = class {
|
|
|
9
9
|
/****************************************************************************/
|
|
10
10
|
//#region RENDER
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '2460a0659ee45f37e92776ccf05a30a4bd58772f', role: "list" }, h("slot", { key: 'e7f41a9684461e8ee3fbc0388a6e1e80a33894ba' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NvSidebarcontent.style = nvSidebarcontentCss();
|
|
@@ -9,7 +9,7 @@ const NvSidebardivider = class {
|
|
|
9
9
|
/****************************************************************************/
|
|
10
10
|
//#region RENDER
|
|
11
11
|
render() {
|
|
12
|
-
return h(Host, { key: '
|
|
12
|
+
return h(Host, { key: '479568a0cd52812e71cfc721ddd7e2af3da0762d', role: "separator", "aria-orientation": "horizontal" });
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NvSidebardivider.style = nvSidebardividerCss();
|
|
@@ -9,7 +9,7 @@ const NvSidebarfooter = class {
|
|
|
9
9
|
/****************************************************************************/
|
|
10
10
|
//#region RENDER
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'e678899934cfdb9b0c5433d3a22b23e73728ab46' }, h("slot", { key: '39e4a8351deb008e9672a3e90c2f2c51196a2021' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NvSidebarfooter.style = nvSidebarfooterCss();
|
|
@@ -10,7 +10,7 @@ const NvSidebargroup = class {
|
|
|
10
10
|
/****************************************************************************/
|
|
11
11
|
//#region RENDER
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'aa466d5d04f8f349c5f40b2705ce3ca07dcc0733', role: "group", "aria-label": this.label }, this.label && h("div", { key: '4460638eaac697aaba09e634bebc895dfeac43c8', class: "nv-sidebargroup-label" }, this.label), h("slot", { key: '4bfb3047dd95cb445797068c6915860b372a0864' })));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
NvSidebargroup.style = nvSidebargroupCss();
|
|
@@ -9,7 +9,7 @@ const NvSidebarheader = class {
|
|
|
9
9
|
/****************************************************************************/
|
|
10
10
|
//#region RENDER
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '058b1681ff0e0a35d96b3f5b27444853211eb067' }, h("slot", { key: '7b2f91201fe6ae8325dcfd07fae8f71cc15ffea1' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NvSidebarheader.style = nvSidebarheaderCss();
|
|
@@ -19,7 +19,7 @@ const NvSidebarlogo = class {
|
|
|
19
19
|
render() {
|
|
20
20
|
const logoSrc = this.logo || this.defaultLogo;
|
|
21
21
|
const collapsedLogoSrc = this.collapsedLogo || this.defaultCollapsedLogo;
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '1b61ccdfac0bf190f46b9750c0d64dd594982446' }, h("div", { key: '57e98866efe588eb18a6e9ec89a4bc1a43129598', class: "nv-sidebarlogo-container" }, h("img", { key: 'b682703b4343aa2ab1db7f9d312e238acd2af008', src: logoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-full" }), h("img", { key: '0c01b944f5dabbb3120c890651b40724edbdae29', src: collapsedLogoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-collapsed" }), h("slot", { key: '9f6cb193bc61463f827e8bb8a39aaac8c37d3049', name: "label" }), this.label && h("span", { key: '1610d7896bcdce509fd601f3dfb4b6a59fcebac8', class: "nv-sidebarlogo-title" }, this.label))));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
NvSidebarlogo.style = nvSidebarlogoCss();
|
|
@@ -271,7 +271,7 @@ const NvSidebarnavitem = class {
|
|
|
271
271
|
render() {
|
|
272
272
|
const showNotificationBullet = this.notificationCount !== undefined && this.notificationCount > 0;
|
|
273
273
|
const notificationSize = this.isSidebarCollapsed ? 'reduced' : 'default';
|
|
274
|
-
return (h(Host, { key: '
|
|
274
|
+
return (h(Host, { key: '3fc0030b34570e6a62d5382ed1986d06978e7697', role: "listitem" }, h("div", { key: 'baf4236cf917c60945b1087b822ea62688fce7dd', class: "nv-sidebarnavitem-trigger", onClick: this.handleToggle, "aria-expanded": this.collapsible ? String(this.open) : undefined, "aria-current": this.active && !this.collapsible ? 'page' : undefined }, this.icon && (h("div", { key: '43133ba47b9f79e13a1bff41e4bd6164167a324b', class: "nv-sidebarnavitem-icon" }, h("nv-icon", { key: '48a71113d4ee7e51a6888d24addd541adbb48bdd', name: this.icon, size: "md" }), showNotificationBullet && this.isSidebarCollapsed && (h("nv-notification-bullet", { key: '0a89f49fa31f416b794280477c24c9db8133031d', count: this.notificationCount, size: notificationSize, contrastingBorder: true })))), h("div", { key: '298e06f2a1649046e45ae7d50d233a43c592bda4', class: "nv-sidebarnavitem-content" }, h("slot", { key: '8c12b2779f0a89b71ecf15f2a29e750eacadf940' })), h("div", { key: 'f2ba7eec185fe210f294568852474df4c5e9bc64', class: "nv-sidebarnavitem-trailing" }, h("slot", { key: '365e7ad5254d49ad453e0da7a6d8fda260f2f6c5', name: "trailing" }), showNotificationBullet && !this.isSidebarCollapsed && (h("nv-notification-bullet", { key: 'bf2453a2b92425b9fabbcf285d793da2f091aeb8', count: this.notificationCount, size: notificationSize })), this.collapsible && (h("nv-icon", { key: 'a2e411250b6d2e03c1e5cfc0feaf777be5d386e8', name: "chevron-down", size: "sm", class: "nv-sidebarnavitem-chevron" })))), this.collapsible && this.hasSubitems && (h("div", { key: '06ad06c721546fcefb86010c10faf213d6881601', class: "nv-sidebarnavitem-subitems", ref: el => {
|
|
275
275
|
// Only update ref and initialize if element changed or not yet initialized
|
|
276
276
|
if (el !== this.subitemsRef) {
|
|
277
277
|
this.subitemsRef = el;
|
|
@@ -286,7 +286,7 @@ const NvSidebarnavitem = class {
|
|
|
286
286
|
});
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
|
-
} }, h("slot", { key: '
|
|
289
|
+
} }, h("slot", { key: '21ed17d8ab90541514ae0fa5e441d67f62200b6d', name: "subitems" })))));
|
|
290
290
|
}
|
|
291
291
|
get el() { return getElement(this); }
|
|
292
292
|
static get watchers() { return {
|
|
@@ -22,7 +22,7 @@ const NvSidebarnavsubitem = class {
|
|
|
22
22
|
/****************************************************************************/
|
|
23
23
|
//#region RENDER
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '4abfe038592a030c9f48e5f62d8fda0552b9eaa0', role: "listitem", "aria-current": this.active ? 'page' : undefined }, h("div", { key: 'c6b5d4ad34ecfa7949c05e83acb5e594654f1e51', class: "nv-sidebarnavsubitem-indicator" }), h("div", { key: 'fc0478a26b8963ab9e647e8731c428525b45609e', class: "nv-sidebarnavsubitem-content" }, h("slot", { key: '399e3b85453dd7f69e654080deb27abf833b31f6' })), h("div", { key: '98c5b35c9a275f371f5f0541de6720227a72e08c', class: "nv-sidebarnavsubitem-trailing" }, h("slot", { key: '8d986d98f276372534beb7eb334cc09f90293042', name: "trailing" }))));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
NvSidebarnavsubitem.style = nvSidebarnavsubitemCss();
|
|
@@ -321,7 +321,7 @@ const NvSplit = class {
|
|
|
321
321
|
/****************************************************************************/
|
|
322
322
|
//#region RENDER
|
|
323
323
|
render() {
|
|
324
|
-
return (h(Host, { key: '
|
|
324
|
+
return (h(Host, { key: 'f50ca6495a138622ac8ab8713329cef7318982a3', "data-dragging": this.isDragging.toString() }, h("slot", { key: 'fbc1a3606da521c05efdc2a5ef0cfbc295379b7a', name: "pane" }), h("slot", { key: '1b3a0df435d2ff8e6457bcead1e9116da84b3140', name: "gutter" }), h("slot", { key: 'b8bbb41801d7a9dd13fd50ddd780a64c2f6e4e7a' })));
|
|
325
325
|
}
|
|
326
326
|
get el() { return getElement(this); }
|
|
327
327
|
static get watchers() { return {
|
|
@@ -18,7 +18,7 @@ const NvStack = class {
|
|
|
18
18
|
/****************************************************************************/
|
|
19
19
|
//#region RENDER
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'bbbb833714e4855450b93ec56a878969699ffc4a', class: clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gap-x-${this.gutter}`, this.gutter && this.vertical && `gap-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, h("slot", { key: 'df1ad621d3d9f8834848e8f4c5e717a83ebc8c9d' })));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
NvStack.style = nvStackCss();
|
|
@@ -29,7 +29,7 @@ const NvStatusindicator = class {
|
|
|
29
29
|
//#region RENDER
|
|
30
30
|
render() {
|
|
31
31
|
const hasLabel = Boolean(this.label);
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '47deb7af39321cdc397266b6618efc1e45d06302', class: clsx(`status-${this.status}`, `emphasis-${this.emphasis}`), ...(!hasLabel ? { 'aria-label': this.status } : {}) }, h("nv-icon", { key: '9e2e8e9903c4ea4257d54c9fc286d0b94368066c', name: STATUS_ICONS[this.status], size: "xs", "aria-hidden": "true" }), hasLabel && h("span", { key: '0feef750f27a913158857fdd661a5847d7291816', class: "nv-statusindicator-label" }, this.label)));
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
NvStatusindicator.style = nvStatusindicatorCss();
|
|
@@ -231,7 +231,7 @@ const NvTable = class {
|
|
|
231
231
|
/****************************************************************************/
|
|
232
232
|
//#region RENDER
|
|
233
233
|
render() {
|
|
234
|
-
return (h(Host, { key: '
|
|
234
|
+
return (h(Host, { key: 'b5e48658bf7af1793298acc73edbc1473f535397' }, h("slot", { key: 'd3893f308eb48d8fc0854c121f3edd2b23405a3e' })));
|
|
235
235
|
}
|
|
236
236
|
get host() { return getElement(this); }
|
|
237
237
|
};
|
|
@@ -57,7 +57,7 @@ const NvTableheader = class {
|
|
|
57
57
|
/****************************************************************************/
|
|
58
58
|
//#region RENDER
|
|
59
59
|
render() {
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '729de448df598764070ba87ec85efc66ab2b9195', role: "columnheader", "aria-sort": this.ariaSort, tabindex: this.sortable ? 0 : undefined, onKeyDown: this.handleKeyDown.bind(this), onClick: this.cycleSortDirection.bind(this) }, h("slot", { key: '50b91ac2025ef216b120757a5d6848950f4fc76f' }), this.sortable && (h("span", { key: '61e8b7a4473b0f6f248f6966477c7358370fc228', class: "sort-icon-wrap", "aria-hidden": "true" }, h("nv-iconbutton", { key: '423b47f88ba4fc52a65bbd1fca3148aa21b4ca54', disableTabindex: true, name: "arrow-up", size: "xs", emphasis: this.sortDirection === 'none' ? 'lower' : 'low',
|
|
61
61
|
// prevent mousedown from selecting text
|
|
62
62
|
onMouseDown: (e) => e.preventDefault(), class: {
|
|
63
63
|
'is-none': this.sortDirection === 'none',
|
|
@@ -62,7 +62,7 @@ const NvTimetest = class {
|
|
|
62
62
|
/****************************************************************************/
|
|
63
63
|
//#region RENDER
|
|
64
64
|
render() {
|
|
65
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: '33ed55531736ead1e5cc19f6c2f1289a692f77d9' }, h("label", { key: 'f644f6dbd881d24f2ef0bc2aab7ce2ff69ad0837' }, "Start:", h("input", { key: '55d142d1ff69f6ebb0f7bed442a9f5b11f923b52', type: "time", step: "1", value: this.value?.start ?? '', onInput: this.handleStartChange })), h("label", { key: '25abb5ef4a9a400a103f525538d2e57198c59d55' }, "End:", h("input", { key: '76fddac178659ac044d18023764f4d650134b69d', type: "time", step: "1", value: this.value?.end ?? '', onInput: this.handleEndChange })), h("slot", { key: '21a93e0448417f2178e05c5f59b5d8f91df1c669' })));
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
NvTimetest.style = nvTimetestCss();
|
|
@@ -61,8 +61,8 @@ const NvToggle = class {
|
|
|
61
61
|
/****************************************************************************/
|
|
62
62
|
//#region RENDER
|
|
63
63
|
render() {
|
|
64
|
-
return (h(Host, { key: '
|
|
65
|
-
this.el.querySelector('[slot="description"]')) && (h("div", { key: '
|
|
64
|
+
return (h(Host, { key: '88599bb11dc4506a3e2416d78eeb672116cee759', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, h("div", { key: '07815a153cea26141cfc998c8337bc0933a82f29', class: "input-container" }, h("input", { key: '3329cbdeb237fb5eb26b590365ac75417d14b4af', type: "checkbox", id: this.inputId, name: this.name, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly })), h("div", { key: 'a88596dae72ba49bd6bfa1cd7c8b8a127edf550f', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'a9b5d6caec359f7b42a40fd8f8ca9133a5b9e425', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h("slot", { key: '5b823d72a6e114e695384b67597768398c50a86d', name: "label" }, this.label))), (this.description ||
|
|
65
|
+
this.el.querySelector('[slot="description"]')) && (h("div", { key: '13c23e6d70be4a2e6654a95d402b985d7b44116d', class: "description" }, h("slot", { key: '5a281af80d115ca0e8df5ffc01366fc113f33dc0', name: "description" }, this.description))))));
|
|
66
66
|
}
|
|
67
67
|
static get formAssociated() { return true; }
|
|
68
68
|
get el() { return getElement(this); }
|
|
@@ -52,7 +52,7 @@ const NvTogglebutton = class {
|
|
|
52
52
|
/****************************************************************************/
|
|
53
53
|
//#region RENDER
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: 'a8bc68a6b0d42e47d7875b40f355cf477f1106b2', role: "button", tabindex: "0", "aria-pressed": String(this.active), onClick: this.handleClick }, h("slot", { key: '164faf0b2258f93055e53201e69a7d893dd239c2' })));
|
|
56
56
|
}
|
|
57
57
|
get el() { return getElement(this); }
|
|
58
58
|
};
|
|
@@ -151,7 +151,7 @@ const NvTogglebuttongroup = class {
|
|
|
151
151
|
/****************************************************************************/
|
|
152
152
|
//#region RENDER
|
|
153
153
|
render() {
|
|
154
|
-
return (h(Host, { key: '
|
|
154
|
+
return (h(Host, { key: 'fb35370c2726543b4bd4198d7aa877b37231ee2f' }, h("slot", { key: 'ec1b09473ea963aea37139b96b298c90aa9443ee' })));
|
|
155
155
|
}
|
|
156
156
|
get el() { return getElement(this); }
|
|
157
157
|
static get watchers() { return {
|
|
@@ -47,7 +47,7 @@ const NvTooltip = class {
|
|
|
47
47
|
/****************************************************************************/
|
|
48
48
|
//#region RENDER
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: '8e1e44685881292043f98a33a5840131df0741e0' }, h("nv-popover", { key: 'f372df83fe03c6a6ca73c8ab739e8a808e4d3cba', ref: el => (this.popoverElement = el), triggerMode: "hover", hasArrow: true, placement: this.placement, strategy: this.strategy, groupName: 'tooltip', enterDelay: this.enterDelay, onOpenChanged: e => this.openChanged.emit(e.detail) }, h("p", { key: '7aecd95a851eb34fef77895b64fecd17696ab024', slot: "content" }, this.message), h("slot", { key: '1e3118779da63542fa09460d4ee075f0df6b57b3', name: "content" })), h("slot", { key: '21ed6408e0126c0fb33e7abed7aa023885f02998', ref: el => (this.defaultSlot = el) })));
|
|
51
51
|
}
|
|
52
52
|
get el() { return getElement(this); }
|
|
53
53
|
};
|
package/dist/native/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as ButtonEmphasis,B as ButtonSize,b as ButtonType,C as CUSTOM_DAY_NAMES,j as CUSTOM_MONTH_NAMES,D as DeprecatedSemanticColors,F as FeedbackColors,G as GlobalFilterPosition,I as IconButtonShape,f as LabelPlacement,L as LoaderColors,c as NotificationEmphasis,N as NotificationPosition,S as SemanticSizes,i as SortingPossibility,d as StatusIndicatorEmphasis,g as TextInputAutocomplete,h as TimeType,T as ToggleButtonEmphasis,e as ToggleButtonSize,W as WEEK_ABBREVIATIONS}from"./p-gOKBmbgZ.js";export{e as eventUtils}from"./p-B6GgGra-.js";export{u as uriUtils}from"./p-CnI0auJM.js";export{n as dateTimeUtils}from"./p-CyL2J6O4.js";import{u as r}from"./p-sqVK8yoD.js";import{u as o}from"./p-13YSIyGW.js";import{u as t}from"./p-Blc6XEY7.js";import{u as s}from"./p-DmUOtOcY.js";import{p as l,t as p}from"./p-CgHCo_Ho.js";import{D as m,a as k,b as y,c as w,F as v,H as x,M as _,d as E,e as z,S as O,f as U,g as A,h as R,i as M,j as H,k as q,l as Y,n as K,r as P,s as X,m as Z,o as J,p as V,q as Q,t as $}from"./p-BaF3Tuua.js";import"./p-xlgmw4x8.js";var ee=Object.freeze({__proto__:null,nameof:function(e){return e(new Proxy({},{get:(e,r)=>r}))}}),re=Object.freeze({__proto__:null,startsWithIgnoreCase:function(e,r){return!(!e||!r)&&e.toLowerCase().startsWith(r.toLowerCase())}}),ae=Object.freeze({__proto__:null,parallel:l,timeline:p,useCollapse:r,useFade:o,useGrow:t,useSlide:s}),oe=Object.freeze({__proto__:null,DEFAULT_DEBOUNCE_DELAY:m,DEFAULT_FUZZY_THRESHOLD:k,DEFAULT_MAX_RESULTS:y,DEFAULT_WORKER_THRESHOLD:w,FUZZY_DEBOUNCE_DELAY:v,HARD_CAP_MAX_RESULTS:x,MAX_WORKER_THRESHOLD:_,MIN_MAX_RESULTS:E,MIN_WORKER_THRESHOLD:z,SearchWorkerClient:O,buildIndex:U,clampFuzzyThreshold:A,clampMaxResults:R,clampWorkerThreshold:M,clearFuzzyCache:H,getEffectiveFilterMode:q,isWorkerSupported:Y,normalize:K,rebuildIndex:P,search:X,searchFuzzy:Z,searchSmart:J,searchStrict:V,shouldUseWorker:Q,tokenize:$});const te=["access-point-off","access-point","accessible","activity","address-book","adjustments-horizontal","adjustments-up","adjustments","affiliate","air-conditioning","alert-circle","alert-square-rounded","alert-triangle","align-center","align-left","align-right","app-window","apps","archive","areas","arrow-back-up","arrow-back","arrow-down-left","arrow-down-right","arrow-down","arrow-forward-up","arrow-forward","arrow-left","arrow-right","arrow-up-left","arrow-up-right","arrow-up","arrows-diagonal","arrows-exchange","arrows-maximize","arrows-minimize","arrows-move","aspect-ratio","atom","ban","basket","battery-1","battery-2","battery-3","battery-4","battery-automotive","battery-charging","battery-eco","battery-off","battery","bell-bolt","bell-off","bell-ringing","bell","bike","bluetooth-connected","bluetooth-off","bluetooth","bolt-off","bolt","book","bookmark-off","bookmark","bookmarks","box-align-top","box-multiple","brand-facebook","brand-instagram","brand-linkedin","brand-x","brand-youtube","briefcase","brightness-down","brightness-up","browser-check","browser-plus","browser-x","browser","brush","building-bank","building-factory","building-lighthouse","building-store","building","bulb-off","bulb","cake","calendar-time","calendar-week","calendar","camera-off","camera","car-crane","car","caravan","cash-banknote","cash","cast","cell","charging-pile","chart-arcs","chart-area-line","chart-area","chart-arrows-vertical","chart-arrows","chart-bar","chart-bubble","chart-circles","chart-donut","chart-dots","chart-line","chart-pie","chart-radar","check","checkbox","checklist","checks","chevron-down","chevron-left","chevron-right","chevron-top","chevrons-left","chevrons-right","circle-caret-right","circle-check","circle-minus","circle-x","circuit-alternate","circuit-ground-digital","clipboard-check","clipboard-list","clipboard-plus","clipboard-text","clipboard-x","clipboard","clock-edit","clock","cloud-data-connection","cloud-download","cloud-rain","cloud-snow","cloud-upload","cloud","color-picker","color-swatch","columns-1","columns-2","columns-3","compass","contract","cookie","copy","cpu","crane","credit-card","crop","cross","crown","currency-bitcoin","currency-dollar","currency-ethereum","currency-euro","cut","dashboard","database","device-desktop","device-floppy","device-gamepad","device-laptop","device-mobile-rotated","device-mobile","device-tablet","device-watch","devices","dialpad","direction-horizontal","direction-sign","direction","discount","door-enter","door-exit","door-off","dots-vertical","dots","download","drone","droplet-filled","droplet-half","droplet","droplets","edit","empty","engine","equal-not","eraser-off","eraser","external-link","eye-check","eye-off","eye","eyeglass2","face-id","feather","file-alert","file-analytics","file-check","file-code","file-download","file-export","file-horizontal","file-import","file-plus","file-search","file-text-bookmark","file-text","file-type-bmp","file-type-css","file-type-csv","file-type-doc","file-type-html","file-type-jpg","file-type-js","file-type-pdf","file-type-png","file-type-ppt","file-type-xls","file-type-xml","file-type-zip","file-upload","file-x","file-zip","file","files-off","files","filter-off","filter-sort","filter","fingerprint","fire-extinguisher","flag","flame","flip-horizontal","flip-vertical","folder-minus","folder-off","folder-plus","folder-x","folder","folders","frame","gas-station","gauge-off","gauge","gift","git-branch-delete","git-branch","git-cherry-pick","git-commit","git-compare","git-fork","git-merge","git-pull-request-closed","git-pull-request-draft","git-pull-request","gps","grid-dots","grip-horizontal","grip-vertical","hand-stop","hand-waving","hash","haze","headphones-off","headphones","headset","heart-off","heart","heartbeat","helicopter","helmet-swopp","helmet","help","history","home","hourglass-empty","hourglass-high","hourglass-low","hourglass-off","hourglass","inbox","info-circle","keyboard-hide","keyboard-show","keyboard","layers-intersect","layers-off","layout-board-split","layout-dashboard","layout-grid","layout-sidebar-left-collapse","layout-sidebar-left-expand","layout-sidebar-right-collapse","layout-sidebar-right-expand","layout","leaf","lifebuoy","link","list-search","list","loader","location","lock-off","lock-open","lock","login","logout","mail-forward","mail-opened","mail","map-pin-2","map-pin-off","map-pin","map","master-data","menu","message-dots","message-off","message","messages","microphone-off","microphone","minus","mist","moon","motorbike","mouse","movie","network","news","note","notebook","notes","offshore-station","package","palette","paperclip","pencil","phone-call","phone-calling","phone-check","phone-incoming","phone-off","phone-outgoing","phone","photo-off","photo","pig","pin","pinned-off","pinned","plane-off","plane","plant","player-pause","player-play","player-skip-back","player-skip-forward","player-stop","player-track-next","player-track-prev","plug-connected","plug","plus","power-ac","power-dc","power","presentation-analytics","presentation","printer","propeller","published","puzzle-2","puzzle","pylon","qrcode","quotes-open","quotes","radar","radio","radioactive","receipt-dollar","receipt-euro","receipt","recharging","recycle","refresh-alert","refresh-off","refresh","repeat-once","repeat","replace","report-analytics","report-medical","report-search","report","ripple-off","ripple","rocket","rotate-2","rotate-clockwise-2","rotate-clockwise","rotate-dot","rotate","router","ruler-measure","sailboat","satellite","scale","school","scissors","scooter-electric","screenshot","search","seeding","select","selector","send","server","settings","shape","share-2","share","shield-check","shield-lock","shield-off","shield-x","shield","ship-off","ship","shopping-cart","sitemap","slash","smart-home","snowflake","solar-panel","sort-ascending-letters","sort-ascending-numbers","sort-descending-letters","sort-descending-numbers","spacing-horizontal","spacing-vertical","sparkles","speakerphone","stack","stairs","star","sun","sunrise","sunset","switch-horizontal","switch-vertical","table","tag","tank-empty-fill","tank-full-fill","tank-medium-fill","temperature-off","temperature","template","terminal","text-size","text","thumb-down","thumb-up","ticket","timeline","tir","tool","tools","train","trash-off","trash","tree","trees","truck-delivery","truck","umbrella","unlink","upload","user-circle","user-exclamation","user-minus","user-off","user-plus","user-worker","user","users","versions","video-minus","video-off","video-plus","video","volume-2","volume-3","volume","wallet","wand","wave","waves","wifi-off","wifi","wind-direction","wind","windmill","wood","world-code","world","writing","x","zoom-reset"];export{ae as animations,ee as classUtils,te as iconNames,oe as searchEngine,re as stringUtils}
|
|
1
|
+
export{a as ButtonEmphasis,B as ButtonSize,b as ButtonType,C as CUSTOM_DAY_NAMES,j as CUSTOM_MONTH_NAMES,D as DeprecatedSemanticColors,F as FeedbackColors,G as GlobalFilterPosition,I as IconButtonShape,f as LabelPlacement,L as LoaderColors,c as NotificationEmphasis,N as NotificationPosition,S as SemanticSizes,i as SortingPossibility,d as StatusIndicatorEmphasis,g as TextInputAutocomplete,h as TimeType,T as ToggleButtonEmphasis,e as ToggleButtonSize,W as WEEK_ABBREVIATIONS}from"./p-gOKBmbgZ.js";export{e as eventUtils}from"./p-B6GgGra-.js";export{u as uriUtils}from"./p-CnI0auJM.js";export{n as dateTimeUtils}from"./p-CyL2J6O4.js";import{u as r}from"./p-sqVK8yoD.js";import{u as o}from"./p-13YSIyGW.js";import{u as t}from"./p-Blc6XEY7.js";import{u as s}from"./p-DmUOtOcY.js";import{p as l,t as p}from"./p-CgHCo_Ho.js";import{D as m,a as k,b as y,c as w,F as v,H as x,M as _,d as E,e as z,S as O,f as U,g as A,h as R,i as M,j as H,k as q,l as Y,n as K,r as P,s as X,m as Z,o as J,p as V,q as Q,t as $}from"./p-BaF3Tuua.js";import"./p-xlgmw4x8.js";var ee=Object.freeze({__proto__:null,nameof:function(e){return e(new Proxy({},{get:(e,r)=>r}))}}),re=Object.freeze({__proto__:null,startsWithIgnoreCase:function(e,r){return!(!e||!r)&&e.toLowerCase().startsWith(r.toLowerCase())}}),ae=Object.freeze({__proto__:null,parallel:l,timeline:p,useCollapse:r,useFade:o,useGrow:t,useSlide:s}),oe=Object.freeze({__proto__:null,DEFAULT_DEBOUNCE_DELAY:m,DEFAULT_FUZZY_THRESHOLD:k,DEFAULT_MAX_RESULTS:y,DEFAULT_WORKER_THRESHOLD:w,FUZZY_DEBOUNCE_DELAY:v,HARD_CAP_MAX_RESULTS:x,MAX_WORKER_THRESHOLD:_,MIN_MAX_RESULTS:E,MIN_WORKER_THRESHOLD:z,SearchWorkerClient:O,buildIndex:U,clampFuzzyThreshold:A,clampMaxResults:R,clampWorkerThreshold:M,clearFuzzyCache:H,getEffectiveFilterMode:q,isWorkerSupported:Y,normalize:K,rebuildIndex:P,search:X,searchFuzzy:Z,searchSmart:J,searchStrict:V,shouldUseWorker:Q,tokenize:$});const te=["access-point-off","access-point","accessible","activity","address-book","adjustments-horizontal","adjustments-up","adjustments","affiliate","air-conditioning","alert-circle","alert-square-rounded","alert-triangle","align-center","align-left","align-right","app-window","apps","archive","areas","arrow-back-up","arrow-back","arrow-down-left","arrow-down-right","arrow-down","arrow-forward-up","arrow-forward","arrow-left","arrow-right","arrow-up-left","arrow-up-right","arrow-up","arrows-diagonal","arrows-exchange","arrows-maximize","arrows-minimize","arrows-move","aspect-ratio","atom","ban","basket","battery-1","battery-2","battery-3","battery-4","battery-automotive","battery-charging","battery-eco","battery-off","battery","bell-bolt","bell-off","bell-ringing","bell","bike","bluetooth-connected","bluetooth-off","bluetooth","bolt-off","bolt","book","bookmark-off","bookmark","bookmarks","box-align-top","box-multiple","brand-facebook","brand-instagram","brand-linkedin","brand-x","brand-youtube","briefcase","brightness-down","brightness-up","browser-check","browser-plus","browser-x","browser","brush","building-bank","building-factory","building-lighthouse","building-store","building","bulb-off","bulb","cake","calendar-time","calendar-week","calendar","camera-off","camera","car-crane","car","caravan","cash-banknote","cash","cast","cell","charging-pile","chart-arcs","chart-area-line","chart-area","chart-arrows-vertical","chart-arrows","chart-bar","chart-bubble","chart-circles","chart-donut","chart-dots","chart-line","chart-pie","chart-radar","check","checkbox","checklist","checks","chevron-down","chevron-left","chevron-right","chevron-top","chevrons-left","chevrons-right","circle-caret-right","circle-check","circle-minus","circle-x","circuit-alternate","circuit-ground-digital","clipboard-check","clipboard-list","clipboard-plus","clipboard-text","clipboard-x","clipboard","clock-edit","clock","cloud-data-connection","cloud-download","cloud-rain","cloud-snow","cloud-upload","cloud","color-picker","color-swatch","columns-1","columns-2","columns-3","compass","contract","cookie","copy","cpu","crane","credit-card","crop","cross","crown","currency-bitcoin","currency-dollar","currency-ethereum","currency-euro","cut","dashboard","database","device-desktop","device-floppy","device-gamepad","device-laptop","device-mobile-rotated","device-mobile","device-tablet","device-watch","devices","dialpad","direction-horizontal","direction-sign","direction","discount","door-enter","door-exit","door-off","dots-vertical","dots","download","drone","droplet-filled","droplet-half","droplet","droplets","edit","empty","engine","equal-not","eraser-off","eraser","exclamation-mark","external-link","eye-check","eye-off","eye","eyeglass2","face-id","feather","file-alert","file-analytics","file-check","file-code","file-download","file-export","file-horizontal","file-import","file-plus","file-search","file-text-bookmark","file-text","file-type-bmp","file-type-css","file-type-csv","file-type-doc","file-type-html","file-type-jpg","file-type-js","file-type-pdf","file-type-png","file-type-ppt","file-type-xls","file-type-xml","file-type-zip","file-upload","file-x","file-zip","file","files-off","files","filter-off","filter-sort","filter","fingerprint","fire-extinguisher","flag","flame","flip-horizontal","flip-vertical","folder-minus","folder-off","folder-plus","folder-x","folder","folders","frame","gas-station","gauge-off","gauge","gift","git-branch-delete","git-branch","git-cherry-pick","git-commit","git-compare","git-fork","git-merge","git-pull-request-closed","git-pull-request-draft","git-pull-request","gps","grid-dots","grip-horizontal","grip-vertical","hand-stop","hand-waving","hash","haze","headphones-off","headphones","headset","heart-off","heart","heartbeat","helicopter","helmet-swopp","helmet","help","history","home","hourglass-empty","hourglass-high","hourglass-low","hourglass-off","hourglass","inbox","info-circle","info-small","keyboard-hide","keyboard-show","keyboard","layers-intersect","layers-off","layout-board-split","layout-dashboard","layout-grid","layout-sidebar-left-collapse","layout-sidebar-left-expand","layout-sidebar-right-collapse","layout-sidebar-right-expand","layout","leaf","lifebuoy","link","list-search","list","loader","location","lock-off","lock-open","lock","login","logout","mail-forward","mail-opened","mail","map-pin-2","map-pin-off","map-pin","map","master-data","menu","message-dots","message-off","message","messages","microphone-off","microphone","minus","mist","moon","motorbike","mouse","movie","network","news","note","notebook","notes","offshore-station","package","palette","paperclip","pencil","phone-call","phone-calling","phone-check","phone-incoming","phone-off","phone-outgoing","phone","photo-off","photo","pig","pin","pinned-off","pinned","plane-off","plane","plant","player-pause","player-play","player-skip-back","player-skip-forward","player-stop","player-track-next","player-track-prev","plug-connected","plug","plus","power-ac","power-dc","power","presentation-analytics","presentation","printer","propeller","published","puzzle-2","puzzle","pylon","qrcode","question-mark","quotes-open","quotes","radar","radio","radioactive","receipt-dollar","receipt-euro","receipt","recharging","recycle","refresh-alert","refresh-off","refresh","repeat-once","repeat","replace","report-analytics","report-medical","report-search","report","ripple-off","ripple","rocket","rotate-2","rotate-clockwise-2","rotate-clockwise","rotate-dot","rotate","router","ruler-measure","sailboat","satellite","scale","school","scissors","scooter-electric","screenshot","search","seeding","select","selector","send","server","settings","shape","share-2","share","shield-check","shield-lock","shield-off","shield-x","shield","ship-off","ship","shopping-cart","sitemap","slash","smart-home","snowflake","solar-panel","sort-ascending-letters","sort-ascending-numbers","sort-descending-letters","sort-descending-numbers","spacing-horizontal","spacing-vertical","sparkles","speakerphone","stack","stairs","star","sun","sunrise","sunset","switch-horizontal","switch-vertical","table","tag","tank-empty-fill","tank-full-fill","tank-medium-fill","temperature-off","temperature","template","terminal","text-size","text","thumb-down","thumb-up","ticket","timeline","tir","tool","tools","train","trash-off","trash","tree","trees","trending-down-2","trending-down-3","trending-down","trending-up-2","trending-up-3","trending-up","truck-delivery","truck","umbrella","unlink","upload","user-circle","user-exclamation","user-minus","user-off","user-plus","user-worker","user","users","versions","video-minus","video-off","video-plus","video","volume-2","volume-3","volume","wallet","wand","wave","waves","wifi-off","wifi","wind-direction","wind","windmill","wood","world-code","world","writing","x","zoom-reset"];export{ae as animations,ee as classUtils,te as iconNames,oe as searchEngine,re as stringUtils}
|