@nova-design-system/nova-react 3.31.1 → 3.31.2-beta.3
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/THIRD_PARTY_NOTICES.txt +117535 -0
- package/dist/cjs/accessibility.utils-C4Cy9iy8-CeSsswXF.js +78 -0
- package/dist/cjs/generated/components.server.js +15 -0
- package/dist/cjs/{index-CIduEXxx.js → index-DN55EpKb.js} +304 -287
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/{nv-accordion-item.entry-BvsiHrIZ.js → nv-accordion-item.entry-DTMF2QA4.js} +9 -8
- package/dist/cjs/{nv-accordion.entry-Dag3RvG5.js → nv-accordion.entry-LhpIZNos.js} +1 -1
- package/dist/cjs/{nv-alert.entry-hXyvyQaa.js → nv-alert.entry-CLzSK5qn.js} +1 -1
- package/dist/cjs/{nv-avatar.entry-Cv8nRzHk.js → nv-avatar.entry-BLdl6iCG.js} +1 -1
- package/dist/cjs/{nv-badge_2.entry-s7grrG3t.js → nv-badge_2.entry-D9dDFfNt.js} +1 -1
- package/dist/cjs/{nv-breadcrumb.entry-DsuW8DRC.js → nv-breadcrumb.entry-zM46pNeP.js} +1 -1
- package/dist/cjs/{nv-breadcrumbs.entry-DC5qza5N.js → nv-breadcrumbs.entry-C15cO6Oe.js} +1 -1
- package/dist/cjs/{nv-button.entry-DJ9ySYDC.js → nv-button.entry-DI4P9AiP.js} +4 -3
- package/dist/cjs/{nv-buttongroup.entry-V7EHizoj.js → nv-buttongroup.entry-D7yCaYjm.js} +1 -1
- package/dist/cjs/{nv-calendar.entry-DsqYoQrJ.js → nv-calendar.entry-zseSe52a.js} +1 -1
- package/dist/cjs/{nv-col.entry-CuLpzq87.js → nv-col.entry-nEoJ7359.js} +1 -1
- package/dist/cjs/{nv-datagrid.entry-3jL3JYdd.js → nv-datagrid.entry-CFwixyUO.js} +1 -1
- package/dist/cjs/{nv-datagridcolumn.entry-ChGqc2aO.js → nv-datagridcolumn.entry-B_olySPa.js} +1 -1
- package/dist/cjs/{nv-datetest.entry-CjpFR6RB.js → nv-datetest.entry-Dwr0C5xt.js} +1 -1
- package/dist/cjs/{nv-datetimetest.entry-LpXUxQvy.js → nv-datetimetest.entry-hziXdUJX.js} +1 -1
- package/dist/cjs/{nv-dialog.entry-D4ZJMTIA.js → nv-dialog.entry-B9qKSweg.js} +4 -3
- package/dist/cjs/{nv-dialogfooter_2.entry-F5GZZHzN.js → nv-dialogfooter_2.entry-CBTqmO9s.js} +1 -1
- package/dist/cjs/{nv-drawer.entry-B0ngySoz.js → nv-drawer.entry-DD-VjFP9.js} +4 -3
- package/dist/cjs/{nv-drawerfooter_2.entry-BRckyNO2.js → nv-drawerfooter_2.entry-CkODBIr6.js} +1 -1
- package/dist/cjs/{nv-fieldcheckbox.entry-BfCMk8wm.js → nv-fieldcheckbox.entry-DWAA4UE3.js} +1 -1
- package/dist/cjs/{nv-fielddate.entry-DqfvxdGx.js → nv-fielddate.entry-BVZhCq5F.js} +1 -1
- package/dist/cjs/{nv-fielddaterange.entry-BoJ75PRm.js → nv-fielddaterange.entry-CWAnYRgI.js} +1 -1
- package/dist/cjs/{nv-fielddropdown.entry-CWIrMlbX.js → nv-fielddropdown.entry-CLauf21x.js} +1 -1
- package/dist/cjs/{nv-fielddropdownitem.entry-CHKTpHUS.js → nv-fielddropdownitem.entry-DCTeh9KO.js} +4 -3
- package/dist/cjs/{nv-fieldmultiselect.entry-C_B7c4ph.js → nv-fieldmultiselect.entry-BNwKkdeR.js} +3 -3
- package/dist/cjs/{nv-fieldnumber.entry-B_pliQpQ.js → nv-fieldnumber.entry-D86SjYXx.js} +1 -1
- package/dist/cjs/{nv-fieldpassword.entry-DTC13ASY.js → nv-fieldpassword.entry-Dt0lUkJt.js} +1 -1
- package/dist/cjs/{nv-fieldradio.entry-C0VTzPxr.js → nv-fieldradio.entry-DNvjs4oH.js} +1 -1
- package/dist/cjs/{nv-fieldselect.entry-BWj2M0pb.js → nv-fieldselect.entry-OZEU8DSk.js} +1 -1
- package/dist/cjs/{nv-fieldslider.entry-C0IoIOYv.js → nv-fieldslider.entry-1IiUmkIh.js} +1 -1
- package/dist/cjs/{nv-fieldtext.entry-BKdmagew.js → nv-fieldtext.entry-AuynZcaD.js} +1 -1
- package/dist/cjs/{nv-fieldtextarea.entry-jV238RrX.js → nv-fieldtextarea.entry-CgJKQdfG.js} +1 -1
- package/dist/cjs/{nv-fieldtime.entry-CGli1kNM.js → nv-fieldtime.entry-uB03riIZ.js} +1 -1
- package/dist/cjs/nv-icon.entry-DsZUamyE.js +80 -0
- package/dist/cjs/{nv-iconbutton_2.entry-KrPZeqSB.js → nv-iconbutton_2.entry-DWKZigsd.js} +4 -3
- package/dist/cjs/{nv-menu.entry-BQ4Va1Zd.js → nv-menu.entry-DDFZOYwe.js} +1 -1
- package/dist/cjs/{nv-menuitem.entry-Dp71XXc9.js → nv-menuitem.entry-Btgdr6Od.js} +4 -3
- package/dist/cjs/{nv-notification-bullet.entry-BXucWCVB.js → nv-notification-bullet.entry-Dqa7L5lv.js} +1 -1
- package/dist/cjs/{nv-notification.entry-DyGNReGR.js → nv-notification.entry-C_AyXrky.js} +1 -1
- package/dist/cjs/{nv-notificationcontainer.entry-C9kLTHtS.js → nv-notificationcontainer.entry-DCvtamdA.js} +1 -1
- package/dist/cjs/{nv-pagination-nav.entry-C24w5RZ-.js → nv-pagination-nav.entry-BEKSbRT5.js} +1 -1
- package/dist/cjs/{nv-paginationtable.entry-C3RHvchP.js → nv-paginationtable.entry-XD08dNh6.js} +1 -1
- package/dist/cjs/nv-pill.entry-DXy2Ez6j.js +288 -0
- package/dist/cjs/{nv-popover.entry-BlpxQ9j0.js → nv-popover.entry-Dkn58xz1.js} +2 -2
- package/dist/cjs/{nv-row.entry-CDE3oX8X.js → nv-row.entry-C-Pu-4d5.js} +2 -2
- package/dist/cjs/{nv-sidebar.entry-CvQNzq1H.js → nv-sidebar.entry-BCPSmV8X.js} +3 -3
- package/dist/cjs/{nv-sidebarcontent.entry-DIIupG0e.js → nv-sidebarcontent.entry-Dbk9Jp-R.js} +2 -2
- package/dist/cjs/{nv-sidebardivider.entry-CqdP5bFW.js → nv-sidebardivider.entry-BSbCqQ-I.js} +2 -2
- package/dist/cjs/{nv-sidebarfooter.entry-DmFTTam-.js → nv-sidebarfooter.entry-DrYkZsT7.js} +2 -2
- package/dist/cjs/{nv-sidebargroup.entry-BXhwQ7Gw.js → nv-sidebargroup.entry-XUiruLr8.js} +2 -2
- package/dist/cjs/{nv-sidebarheader.entry-BeofV5mi.js → nv-sidebarheader.entry-LY9keSTe.js} +2 -2
- package/dist/cjs/{nv-sidebarlogo.entry-DbKRctk4.js → nv-sidebarlogo.entry-CXTBFLAn.js} +2 -2
- package/dist/cjs/{nv-sidebarnavitem.entry-DW0S4_CH.js → nv-sidebarnavitem.entry-D322CneD.js} +3 -3
- package/dist/cjs/{nv-sidebarnavsubitem.entry-CfJXOLFL.js → nv-sidebarnavsubitem.entry-CUTyEkyb.js} +2 -2
- package/dist/cjs/{nv-split.entry-C6dPx365.js → nv-split.entry-TFxGWUX9.js} +2 -2
- package/dist/cjs/{nv-stack.entry-BfpeMdKQ.js → nv-stack.entry-Bh7oNRvH.js} +2 -2
- package/dist/cjs/{nv-statusindicator.entry-g6l8mLE4.js → nv-statusindicator.entry-DZQ5jU9e.js} +2 -2
- package/dist/cjs/{nv-table.entry-COq1iQnL.js → nv-table.entry-zgAnu_aK.js} +2 -2
- package/dist/cjs/{nv-tableheader.entry-H0_nYDYI.js → nv-tableheader.entry-DA639Bgy.js} +4 -3
- package/dist/cjs/{nv-tag.entry-Cd1HnUDM.js → nv-tag.entry-C2aYljq1.js} +1 -1
- package/dist/cjs/{nv-timetest.entry-mhbU0vGi.js → nv-timetest.entry-DgyhZ_ec.js} +2 -2
- package/dist/cjs/{nv-toggle.entry-DR_EHjwR.js → nv-toggle.entry-HnXIWK6v.js} +3 -3
- package/dist/cjs/{nv-togglebutton.entry-Dq_8pE_Q.js → nv-togglebutton.entry-DLgQwvYS.js} +4 -3
- package/dist/cjs/{nv-togglebuttongroup.entry-BvSlDwHV.js → nv-togglebuttongroup.entry-JtEebncS.js} +2 -2
- package/dist/cjs/{nv-tooltip.entry-DTE4NTCI.js → nv-tooltip.entry-CieHlmqB.js} +2 -2
- package/dist/generated/components.js +8 -0
- package/dist/generated/components.server.js +14 -0
- package/dist/types/generated/components.d.ts +10 -1
- package/dist/types/generated/components.server.d.ts +10 -1
- package/package.json +3 -2
- package/dist/cjs/nv-icon.entry-DcCzotQG.js +0 -80
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DN55EpKb.js');
|
|
4
4
|
require('@stencil/react-output-target/runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('react-dom');
|
|
@@ -326,7 +326,7 @@ const NvSplit = class {
|
|
|
326
326
|
/****************************************************************************/
|
|
327
327
|
//#region RENDER
|
|
328
328
|
render() {
|
|
329
|
-
return (index.h(index.Host, { key: '
|
|
329
|
+
return (index.h(index.Host, { key: '28c22828546ee5e31d7d07adb375d1e17780900a', "data-dragging": this.isDragging.toString() }, index.h("slot", { key: '47929d6f76777619c3856f5e14eafc82e3ed52d2', name: "pane" }), index.h("slot", { key: 'fa6f2edfc712cddc683f9099e8bcebf80d7b751a', name: "gutter" }), index.h("slot", { key: '30c0eeca863ddf3749f579498d5498c0a7d9a711' })));
|
|
330
330
|
}
|
|
331
331
|
get el() { return index.getElement(this); }
|
|
332
332
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DN55EpKb.js');
|
|
4
4
|
var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
|
|
5
5
|
require('@stencil/react-output-target/runtime');
|
|
6
6
|
require('react');
|
|
@@ -23,7 +23,7 @@ const NvStack = class {
|
|
|
23
23
|
/****************************************************************************/
|
|
24
24
|
//#region RENDER
|
|
25
25
|
render() {
|
|
26
|
-
return (index.h(index.Host, { key: '
|
|
26
|
+
return (index.h(index.Host, { key: 'a1ef1909df99c36b818bc66579a5ca6d9624e58a', class: clsxChV9xqsO.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') }, index.h("slot", { key: 'eee424b5481e90b80801fc86af83ae51e7749d6d' })));
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
NvStack.style = nvStackCss();
|
package/dist/cjs/{nv-statusindicator.entry-g6l8mLE4.js → nv-statusindicator.entry-DZQ5jU9e.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DN55EpKb.js');
|
|
4
4
|
var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
|
|
5
5
|
require('@stencil/react-output-target/runtime');
|
|
6
6
|
require('react');
|
|
@@ -34,7 +34,7 @@ const NvStatusindicator = class {
|
|
|
34
34
|
//#region RENDER
|
|
35
35
|
render() {
|
|
36
36
|
const hasLabel = Boolean(this.label);
|
|
37
|
-
return (index.h(index.Host, { key: '
|
|
37
|
+
return (index.h(index.Host, { key: 'd8cf80aa90c5dbedf5cddebd775d375f0bf6ef6f', class: clsxChV9xqsO.clsx(`status-${this.status}`, `emphasis-${this.emphasis}`), ...(!hasLabel ? { 'aria-label': this.status } : {}) }, index.h("nv-icon", { key: 'ecaed029da1ef6af10ad50ab0ddd3fec0a5c3d31', name: STATUS_ICONS[this.status], size: "xs", "aria-hidden": "true" }), hasLabel && index.h("span", { key: 'a094dc720a8bdc5efcac8c9c1111374fc87816ea', class: "nv-statusindicator-label" }, this.label)));
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
NvStatusindicator.style = nvStatusindicatorCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DN55EpKb.js');
|
|
4
4
|
require('@stencil/react-output-target/runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('react-dom');
|
|
@@ -236,7 +236,7 @@ const NvTable = class {
|
|
|
236
236
|
/****************************************************************************/
|
|
237
237
|
//#region RENDER
|
|
238
238
|
render() {
|
|
239
|
-
return (index.h(index.Host, { key: '
|
|
239
|
+
return (index.h(index.Host, { key: '3df49803ba847db54f5d485b1bcd939b8a19aeb8' }, index.h("slot", { key: '43ded7aea3327caaced0acd07966b0ca32784440' })));
|
|
240
240
|
}
|
|
241
241
|
get host() { return index.getElement(this); }
|
|
242
242
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DN55EpKb.js');
|
|
4
|
+
var accessibility_utilsC4Cy9iy8 = require('./accessibility.utils-C4Cy9iy8-CeSsswXF.js');
|
|
4
5
|
require('@stencil/react-output-target/runtime');
|
|
5
6
|
require('react');
|
|
6
7
|
require('react-dom');
|
|
@@ -43,7 +44,7 @@ const NvTableheader = class {
|
|
|
43
44
|
handleKeyDown(event) {
|
|
44
45
|
if (!this.sortable)
|
|
45
46
|
return;
|
|
46
|
-
if (
|
|
47
|
+
if (accessibility_utilsC4Cy9iy8.isToggleKey(event.key)) {
|
|
47
48
|
event.preventDefault();
|
|
48
49
|
this.cycleSortDirection();
|
|
49
50
|
}
|
|
@@ -62,7 +63,7 @@ const NvTableheader = class {
|
|
|
62
63
|
/****************************************************************************/
|
|
63
64
|
//#region RENDER
|
|
64
65
|
render() {
|
|
65
|
-
return (index.h(index.Host, { key: '
|
|
66
|
+
return (index.h(index.Host, { key: '51664d6db370f7bb22a031aa8a9edbc29bd653b5', role: "columnheader", "aria-sort": this.ariaSort, tabindex: this.sortable ? 0 : undefined, onKeyDown: this.handleKeyDown.bind(this), onClick: this.cycleSortDirection.bind(this) }, index.h("slot", { key: '196ddb958ea6b0e4d27268d9a32ea241b3e26539' }), this.sortable && (index.h("span", { key: '279282cba3643ef51a41d0ea34f315db4fd9be38', class: "sort-icon-wrap", "aria-hidden": "true" }, index.h("nv-iconbutton", { key: '69f4fda379fdbece57025bb6e1d206b88a255ad8', disableTabindex: true, name: "arrow-up", size: "xs", emphasis: this.sortDirection === 'none' ? 'lower' : 'low',
|
|
66
67
|
// prevent mousedown from selecting text
|
|
67
68
|
onMouseDown: (e) => e.preventDefault(), class: {
|
|
68
69
|
'is-none': this.sortDirection === 'none',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DN55EpKb.js');
|
|
4
4
|
var novaDatetimeCyL2J6O4 = require('./nova-datetime-CyL2J6O4-0Y9g3rfI.js');
|
|
5
5
|
require('@stencil/react-output-target/runtime');
|
|
6
6
|
require('react');
|
|
@@ -67,7 +67,7 @@ const NvTimetest = class {
|
|
|
67
67
|
/****************************************************************************/
|
|
68
68
|
//#region RENDER
|
|
69
69
|
render() {
|
|
70
|
-
return (index.h(index.Host, { key: '
|
|
70
|
+
return (index.h(index.Host, { key: 'fca1d9cc2dbb4709cd7621381dd6847d9eea8227' }, index.h("label", { key: 'dddf78b4c3f50b645c91cdf1d57fd78c07d0e23f' }, "Start:", index.h("input", { key: '40246bb99d14a1f852d67ebdffce36448d9c2edb', type: "time", step: "1", value: this.value?.start ?? '', onInput: this.handleStartChange })), index.h("label", { key: '86022907d2e31d56427fac0ebef19e561ffb5f5d' }, "End:", index.h("input", { key: 'c19a51da31a352a71a08811caccd4d0a7c8fb849', type: "time", step: "1", value: this.value?.end ?? '', onInput: this.handleEndChange })), index.h("slot", { key: 'c50aba949ff2a48fcee1249c6da496d232fb1ee7' })));
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
NvTimetest.style = nvTimetestCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DN55EpKb.js');
|
|
4
4
|
var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
|
|
5
5
|
var v4BdYh22OP = require('./v4-BdYh22OP-C1vaJ4yP.js');
|
|
6
6
|
require('@stencil/react-output-target/runtime');
|
|
@@ -66,8 +66,8 @@ const NvToggle = class {
|
|
|
66
66
|
/****************************************************************************/
|
|
67
67
|
//#region RENDER
|
|
68
68
|
render() {
|
|
69
|
-
return (index.h(index.Host, { key: '
|
|
70
|
-
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '
|
|
69
|
+
return (index.h(index.Host, { key: 'd6e831dca92210237a3030cf04975f31e2e2c0dd', class: clsxChV9xqsO.clsx(this.labelPlacement === 'before' && 'label-placement-before') }, index.h("div", { key: 'eb6abba696627da46e3229005a425196e5468ce7', class: "input-container" }, index.h("input", { key: 'b7c2dc3acd899fb85ab4f6af70469d7370d90f74', 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 })), index.h("div", { key: 'eca25273a47ce736ccad50cca2d268f2ce244f05', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { key: 'c602458370913dadd198c7b05c24927cd067a24f', htmlFor: this.inputId, class: clsxChV9xqsO.clsx(this.hideLabel && 'visually-hidden') }, index.h("slot", { key: '30a04d9d3642b81f3612dd187a70fbb666c721d0', name: "label" }, this.label))), (this.description ||
|
|
70
|
+
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '3d1c84edf97b0055c316c71ffe084dda85973436', class: "description" }, index.h("slot", { key: 'a14162023e1f6faeb3c713ff01eae212aa015ff9', name: "description" }, this.description))))));
|
|
71
71
|
}
|
|
72
72
|
static get formAssociated() { return true; }
|
|
73
73
|
get el() { return index.getElement(this); }
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DN55EpKb.js');
|
|
4
|
+
var accessibility_utilsC4Cy9iy8 = require('./accessibility.utils-C4Cy9iy8-CeSsswXF.js');
|
|
4
5
|
require('@stencil/react-output-target/runtime');
|
|
5
6
|
require('react');
|
|
6
7
|
require('react-dom');
|
|
@@ -48,7 +49,7 @@ const NvTogglebutton = class {
|
|
|
48
49
|
/****************************************************************************/
|
|
49
50
|
//#region LISTENERS
|
|
50
51
|
handleKeyDown(event) {
|
|
51
|
-
if (
|
|
52
|
+
if (accessibility_utilsC4Cy9iy8.isToggleKey(event.key)) {
|
|
52
53
|
event.preventDefault();
|
|
53
54
|
this.el.click();
|
|
54
55
|
}
|
|
@@ -57,7 +58,7 @@ const NvTogglebutton = class {
|
|
|
57
58
|
/****************************************************************************/
|
|
58
59
|
//#region RENDER
|
|
59
60
|
render() {
|
|
60
|
-
return (index.h(index.Host, { key: '
|
|
61
|
+
return (index.h(index.Host, { key: 'a56ab971d7bc599df65879f79247046b0369e3cd', role: "button", tabindex: "0", "aria-pressed": String(this.active), onClick: this.handleClick }, index.h("slot", { key: '21e528d9090d9d2015fbbd3e1d6631686e926507' })));
|
|
61
62
|
}
|
|
62
63
|
get el() { return index.getElement(this); }
|
|
63
64
|
};
|
package/dist/cjs/{nv-togglebuttongroup.entry-BvSlDwHV.js → nv-togglebuttongroup.entry-JtEebncS.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DN55EpKb.js');
|
|
4
4
|
require('@stencil/react-output-target/runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('react-dom');
|
|
@@ -156,7 +156,7 @@ const NvTogglebuttongroup = class {
|
|
|
156
156
|
/****************************************************************************/
|
|
157
157
|
//#region RENDER
|
|
158
158
|
render() {
|
|
159
|
-
return (index.h(index.Host, { key: '
|
|
159
|
+
return (index.h(index.Host, { key: '14797a5ced5fb74254dcf05ae8e1673ada95fb10' }, index.h("slot", { key: '77a7dc8252103bf259c979b2a41fb3727503b7dd' })));
|
|
160
160
|
}
|
|
161
161
|
get el() { return index.getElement(this); }
|
|
162
162
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DN55EpKb.js');
|
|
4
4
|
require('@stencil/react-output-target/runtime');
|
|
5
5
|
require('react');
|
|
6
6
|
require('react-dom');
|
|
@@ -52,7 +52,7 @@ const NvTooltip = class {
|
|
|
52
52
|
/****************************************************************************/
|
|
53
53
|
//#region RENDER
|
|
54
54
|
render() {
|
|
55
|
-
return (index.h(index.Host, { key: '
|
|
55
|
+
return (index.h(index.Host, { key: '620c5961fe95f7623a65ceed07a7fb42306189ae' }, index.h("nv-popover", { key: 'a40db9e814ab527f57e625bf5c83c81fba9efe5e', 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) }, index.h("p", { key: '8baf04ff0d82f385e9366e228a942062fca39e45', slot: "content" }, this.message), index.h("slot", { key: '7534cdbf49b6e9eb92156bc9b8bffb447172a273', name: "content" })), index.h("slot", { key: '6a8d93fda3f5e9b2b83c2e7a43356de8d4d5680e', ref: el => (this.defaultSlot = el) })));
|
|
56
56
|
}
|
|
57
57
|
get el() { return index.getElement(this); }
|
|
58
58
|
};
|
|
@@ -45,6 +45,7 @@ import { NvNotification as NvNotificationElement, defineCustomElement as defineN
|
|
|
45
45
|
import { NvNotificationcontainer as NvNotificationcontainerElement, defineCustomElement as defineNvNotificationcontainer } from "@nova-design-system/nova-webcomponents/dist/components/nv-notificationcontainer.js";
|
|
46
46
|
import { NvPaginationNav as NvPaginationNavElement, defineCustomElement as defineNvPaginationNav } from "@nova-design-system/nova-webcomponents/dist/components/nv-pagination-nav.js";
|
|
47
47
|
import { NvPaginationtable as NvPaginationtableElement, defineCustomElement as defineNvPaginationtable } from "@nova-design-system/nova-webcomponents/dist/components/nv-paginationtable.js";
|
|
48
|
+
import { NvPill as NvPillElement, defineCustomElement as defineNvPill } from "@nova-design-system/nova-webcomponents/dist/components/nv-pill.js";
|
|
48
49
|
import { NvPopover as NvPopoverElement, defineCustomElement as defineNvPopover } from "@nova-design-system/nova-webcomponents/dist/components/nv-popover.js";
|
|
49
50
|
import { NvRow as NvRowElement, defineCustomElement as defineNvRow } from "@nova-design-system/nova-webcomponents/dist/components/nv-row.js";
|
|
50
51
|
import { NvSidebar as NvSidebarElement, defineCustomElement as defineNvSidebar } from "@nova-design-system/nova-webcomponents/dist/components/nv-sidebar.js";
|
|
@@ -440,6 +441,13 @@ export const NvPaginationtable = createComponent({
|
|
|
440
441
|
},
|
|
441
442
|
defineCustomElement: defineNvPaginationtable
|
|
442
443
|
});
|
|
444
|
+
export const NvPill = createComponent({
|
|
445
|
+
tagName: 'nv-pill',
|
|
446
|
+
elementClass: NvPillElement,
|
|
447
|
+
react: React,
|
|
448
|
+
events: { onToggled: 'toggled' },
|
|
449
|
+
defineCustomElement: defineNvPill
|
|
450
|
+
});
|
|
443
451
|
export const NvPopover = createComponent({
|
|
444
452
|
tagName: 'nv-popover',
|
|
445
453
|
elementClass: NvPopoverElement,
|
|
@@ -848,6 +848,20 @@ export const NvPaginationtable = createComponent({
|
|
|
848
848
|
clientModule: clientComponents.NvPaginationtable,
|
|
849
849
|
serializeShadowRoot
|
|
850
850
|
});
|
|
851
|
+
export const NvPill = createComponent({
|
|
852
|
+
tagName: 'nv-pill',
|
|
853
|
+
properties: {
|
|
854
|
+
label: 'label',
|
|
855
|
+
selected: 'selected',
|
|
856
|
+
disabled: 'disabled',
|
|
857
|
+
value: 'value',
|
|
858
|
+
leadingIcon: 'leading-icon',
|
|
859
|
+
pillAriaRole: 'pill-aria-role'
|
|
860
|
+
},
|
|
861
|
+
hydrateModule: import('@nova-design-system/nova-webcomponents/hydrate'),
|
|
862
|
+
clientModule: clientComponents.NvPill,
|
|
863
|
+
serializeShadowRoot
|
|
864
|
+
});
|
|
851
865
|
export const NvPopover = createComponent({
|
|
852
866
|
tagName: 'nv-popover',
|
|
853
867
|
properties: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type DateOnly, type NvAccordionCustomEvent, type NvAccordionItemCustomEvent, type NvAlertCustomEvent, type NvBadgeCustomEvent, type NvCalendarCustomEvent, type NvDatagridCustomEvent, type NvDatetestCustomEvent, type NvDatetimetestCustomEvent, type NvDialogCustomEvent, type NvDialogfooterCustomEvent, type NvDrawerCustomEvent, type NvDrawerfooterCustomEvent, type NvFieldcheckboxCustomEvent, type NvFielddateCustomEvent, type NvFielddaterangeCustomEvent, type NvFielddropdownCustomEvent, type NvFielddropdownitemCustomEvent, type NvFielddropdownitemcheckCustomEvent, type NvFieldmultiselectCustomEvent, type NvFieldnumberCustomEvent, type NvFieldpasswordCustomEvent, type NvFieldradioCustomEvent, type NvFieldselectCustomEvent, type NvFieldsliderCustomEvent, type NvFieldtextCustomEvent, type NvFieldtextareaCustomEvent, type NvFieldtimeCustomEvent, type NvMenuCustomEvent, type NvMenuitemCustomEvent, type NvNotificationCustomEvent, type NvPaginationNavCustomEvent, type NvPaginationtableCustomEvent, type NvPopoverCustomEvent, type NvSidebarCustomEvent, type NvSplitCustomEvent, type NvTableheaderCustomEvent, type NvTagCustomEvent, type NvTimetestCustomEvent, type NvToggleCustomEvent, type NvTogglebuttonCustomEvent, type NvTogglebuttongroupCustomEvent, type NvTooltipCustomEvent, type TimeOnly } from "@nova-design-system/nova-webcomponents";
|
|
1
|
+
import { type DateOnly, type NvAccordionCustomEvent, type NvAccordionItemCustomEvent, type NvAlertCustomEvent, type NvBadgeCustomEvent, type NvCalendarCustomEvent, type NvDatagridCustomEvent, type NvDatetestCustomEvent, type NvDatetimetestCustomEvent, type NvDialogCustomEvent, type NvDialogfooterCustomEvent, type NvDrawerCustomEvent, type NvDrawerfooterCustomEvent, type NvFieldcheckboxCustomEvent, type NvFielddateCustomEvent, type NvFielddaterangeCustomEvent, type NvFielddropdownCustomEvent, type NvFielddropdownitemCustomEvent, type NvFielddropdownitemcheckCustomEvent, type NvFieldmultiselectCustomEvent, type NvFieldnumberCustomEvent, type NvFieldpasswordCustomEvent, type NvFieldradioCustomEvent, type NvFieldselectCustomEvent, type NvFieldsliderCustomEvent, type NvFieldtextCustomEvent, type NvFieldtextareaCustomEvent, type NvFieldtimeCustomEvent, type NvMenuCustomEvent, type NvMenuitemCustomEvent, type NvNotificationCustomEvent, type NvPaginationNavCustomEvent, type NvPaginationtableCustomEvent, type NvPillCustomEvent, type NvPopoverCustomEvent, type NvSidebarCustomEvent, type NvSplitCustomEvent, type NvTableheaderCustomEvent, type NvTagCustomEvent, type NvTimetestCustomEvent, type NvToggleCustomEvent, type NvTogglebuttonCustomEvent, type NvTogglebuttongroupCustomEvent, type NvTooltipCustomEvent, type TimeOnly } from "@nova-design-system/nova-webcomponents";
|
|
2
2
|
import { NvAccordionItem as NvAccordionItemElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-accordion-item.js";
|
|
3
3
|
import { NvAccordion as NvAccordionElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-accordion.js";
|
|
4
4
|
import { NvAlert as NvAlertElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-alert.js";
|
|
@@ -45,6 +45,7 @@ import { NvNotification as NvNotificationElement } from "@nova-design-system/nov
|
|
|
45
45
|
import { NvNotificationcontainer as NvNotificationcontainerElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-notificationcontainer.js";
|
|
46
46
|
import { NvPaginationNav as NvPaginationNavElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-pagination-nav.js";
|
|
47
47
|
import { NvPaginationtable as NvPaginationtableElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-paginationtable.js";
|
|
48
|
+
import { NvPill as NvPillElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-pill.js";
|
|
48
49
|
import { NvPopover as NvPopoverElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-popover.js";
|
|
49
50
|
import { NvRow as NvRowElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-row.js";
|
|
50
51
|
import { NvSidebar as NvSidebarElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-sidebar.js";
|
|
@@ -289,6 +290,14 @@ export type NvPaginationtableEvents = {
|
|
|
289
290
|
onPageSizeChanged: EventName<NvPaginationtableCustomEvent<number>>;
|
|
290
291
|
};
|
|
291
292
|
export declare const NvPaginationtable: StencilReactComponent<NvPaginationtableElement, NvPaginationtableEvents>;
|
|
293
|
+
export type NvPillEvents = {
|
|
294
|
+
onToggled: EventName<NvPillCustomEvent<{
|
|
295
|
+
selected: boolean;
|
|
296
|
+
active: boolean;
|
|
297
|
+
value?: string;
|
|
298
|
+
}>>;
|
|
299
|
+
};
|
|
300
|
+
export declare const NvPill: StencilReactComponent<NvPillElement, NvPillEvents>;
|
|
292
301
|
export type NvPopoverEvents = {
|
|
293
302
|
onOpenChanged: EventName<NvPopoverCustomEvent<boolean>>;
|
|
294
303
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type DateOnly, type NvAccordionCustomEvent, type NvAccordionItemCustomEvent, type NvAlertCustomEvent, type NvBadgeCustomEvent, type NvCalendarCustomEvent, type NvDatagridCustomEvent, type NvDatetestCustomEvent, type NvDatetimetestCustomEvent, type NvDialogCustomEvent, type NvDialogfooterCustomEvent, type NvDrawerCustomEvent, type NvDrawerfooterCustomEvent, type NvFieldcheckboxCustomEvent, type NvFielddateCustomEvent, type NvFielddaterangeCustomEvent, type NvFielddropdownCustomEvent, type NvFielddropdownitemCustomEvent, type NvFielddropdownitemcheckCustomEvent, type NvFieldmultiselectCustomEvent, type NvFieldnumberCustomEvent, type NvFieldpasswordCustomEvent, type NvFieldradioCustomEvent, type NvFieldselectCustomEvent, type NvFieldsliderCustomEvent, type NvFieldtextCustomEvent, type NvFieldtextareaCustomEvent, type NvFieldtimeCustomEvent, type NvMenuCustomEvent, type NvMenuitemCustomEvent, type NvNotificationCustomEvent, type NvPaginationNavCustomEvent, type NvPaginationtableCustomEvent, type NvPopoverCustomEvent, type NvSidebarCustomEvent, type NvSplitCustomEvent, type NvTableheaderCustomEvent, type NvTagCustomEvent, type NvTimetestCustomEvent, type NvToggleCustomEvent, type NvTogglebuttonCustomEvent, type NvTogglebuttongroupCustomEvent, type NvTooltipCustomEvent, type TimeOnly } from "@nova-design-system/nova-webcomponents";
|
|
1
|
+
import { type DateOnly, type NvAccordionCustomEvent, type NvAccordionItemCustomEvent, type NvAlertCustomEvent, type NvBadgeCustomEvent, type NvCalendarCustomEvent, type NvDatagridCustomEvent, type NvDatetestCustomEvent, type NvDatetimetestCustomEvent, type NvDialogCustomEvent, type NvDialogfooterCustomEvent, type NvDrawerCustomEvent, type NvDrawerfooterCustomEvent, type NvFieldcheckboxCustomEvent, type NvFielddateCustomEvent, type NvFielddaterangeCustomEvent, type NvFielddropdownCustomEvent, type NvFielddropdownitemCustomEvent, type NvFielddropdownitemcheckCustomEvent, type NvFieldmultiselectCustomEvent, type NvFieldnumberCustomEvent, type NvFieldpasswordCustomEvent, type NvFieldradioCustomEvent, type NvFieldselectCustomEvent, type NvFieldsliderCustomEvent, type NvFieldtextCustomEvent, type NvFieldtextareaCustomEvent, type NvFieldtimeCustomEvent, type NvMenuCustomEvent, type NvMenuitemCustomEvent, type NvNotificationCustomEvent, type NvPaginationNavCustomEvent, type NvPaginationtableCustomEvent, type NvPillCustomEvent, type NvPopoverCustomEvent, type NvSidebarCustomEvent, type NvSplitCustomEvent, type NvTableheaderCustomEvent, type NvTagCustomEvent, type NvTimetestCustomEvent, type NvToggleCustomEvent, type NvTogglebuttonCustomEvent, type NvTogglebuttongroupCustomEvent, type NvTooltipCustomEvent, type TimeOnly } from "@nova-design-system/nova-webcomponents";
|
|
2
2
|
import { NvAccordionItem as NvAccordionItemElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-accordion-item.js";
|
|
3
3
|
import { NvAccordion as NvAccordionElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-accordion.js";
|
|
4
4
|
import { NvAlert as NvAlertElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-alert.js";
|
|
@@ -45,6 +45,7 @@ import { NvNotification as NvNotificationElement } from "@nova-design-system/nov
|
|
|
45
45
|
import { NvNotificationcontainer as NvNotificationcontainerElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-notificationcontainer.js";
|
|
46
46
|
import { NvPaginationNav as NvPaginationNavElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-pagination-nav.js";
|
|
47
47
|
import { NvPaginationtable as NvPaginationtableElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-paginationtable.js";
|
|
48
|
+
import { NvPill as NvPillElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-pill.js";
|
|
48
49
|
import { NvPopover as NvPopoverElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-popover.js";
|
|
49
50
|
import { NvRow as NvRowElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-row.js";
|
|
50
51
|
import { NvSidebar as NvSidebarElement } from "@nova-design-system/nova-webcomponents/dist/components/nv-sidebar.js";
|
|
@@ -291,6 +292,14 @@ export type NvPaginationtableEvents = {
|
|
|
291
292
|
onPageSizeChanged: EventName<NvPaginationtableCustomEvent<number>>;
|
|
292
293
|
};
|
|
293
294
|
export declare const NvPaginationtable: StencilReactComponent<NvPaginationtableElement, NvPaginationtableEvents>;
|
|
295
|
+
export type NvPillEvents = {
|
|
296
|
+
onToggled: EventName<NvPillCustomEvent<{
|
|
297
|
+
selected: boolean;
|
|
298
|
+
active: boolean;
|
|
299
|
+
value?: string;
|
|
300
|
+
}>>;
|
|
301
|
+
};
|
|
302
|
+
export declare const NvPill: StencilReactComponent<NvPillElement, NvPillEvents>;
|
|
294
303
|
export type NvPopoverEvents = {
|
|
295
304
|
onOpenChanged: EventName<NvPopoverCustomEvent<boolean>>;
|
|
296
305
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nova-design-system/nova-react",
|
|
3
|
-
"version": "3.31.
|
|
3
|
+
"version": "3.31.2-beta.3",
|
|
4
4
|
"description": "Nova is a design system created by Elia Group to empower creators to efficiently build solutions that people love to use.",
|
|
5
5
|
"author": "Elia Group",
|
|
6
6
|
"homepage": "https://nova.eliagroup.io",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"stories": "stories"
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
|
-
"dist"
|
|
16
|
+
"dist",
|
|
17
|
+
"THIRD_PARTY_NOTICES.txt"
|
|
17
18
|
],
|
|
18
19
|
"exports": {
|
|
19
20
|
".": {
|