@nova-design-system/nova-react 3.31.2-beta.4 → 3.33.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/THIRD_PARTY_NOTICES.txt +89925 -90780
- package/dist/cjs/events.utils-BysSxG1C-CckC1aXX.js +40 -0
- package/dist/cjs/{index-DN55EpKb.js → index-BNK3HFv_.js} +263 -267
- package/dist/cjs/{index.esm-D3eWMME9-CG1TVKfu.js → index.esm-DBTxpXCn-D5HbQDBa.js} +48 -30
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/{nv-accordion-item.entry-DTMF2QA4.js → nv-accordion-item.entry-DJjtHWto.js} +1 -1
- package/dist/cjs/{nv-accordion.entry-LhpIZNos.js → nv-accordion.entry-DIpRQ1yZ.js} +1 -1
- package/dist/cjs/{nv-alert.entry-CLzSK5qn.js → nv-alert.entry-s8ltmaSW.js} +1 -1
- package/dist/cjs/{nv-avatar.entry-BLdl6iCG.js → nv-avatar.entry-Uoj3PxPB.js} +1 -1
- package/dist/cjs/{nv-badge_2.entry-D9dDFfNt.js → nv-badge_2.entry-XvGfkslD.js} +1 -1
- package/dist/cjs/{nv-breadcrumb.entry-zM46pNeP.js → nv-breadcrumb.entry-xrbBbTWB.js} +1 -1
- package/dist/cjs/{nv-breadcrumbs.entry-C15cO6Oe.js → nv-breadcrumbs.entry-BlymeOTX.js} +1 -1
- package/dist/cjs/{nv-button.entry-DI4P9AiP.js → nv-button.entry-hufry_es.js} +1 -1
- package/dist/cjs/{nv-buttongroup.entry-D7yCaYjm.js → nv-buttongroup.entry-BCN3BnAR.js} +1 -1
- package/dist/cjs/{nv-calendar.entry-zseSe52a.js → nv-calendar.entry-D9AyUjb8.js} +3 -3
- package/dist/cjs/{nv-col.entry-nEoJ7359.js → nv-col.entry-BshQRf6v.js} +1 -1
- package/dist/cjs/{nv-datagrid.entry-CFwixyUO.js → nv-datagrid.entry-a3NBcRtd.js} +1 -1
- package/dist/cjs/{nv-datagridcolumn.entry-B_olySPa.js → nv-datagridcolumn.entry-DFgcPx8Y.js} +1 -1
- package/dist/cjs/{nv-datetest.entry-Dwr0C5xt.js → nv-datetest.entry-tyVjTBBR.js} +1 -1
- package/dist/cjs/{nv-datetimetest.entry-hziXdUJX.js → nv-datetimetest.entry-CNZNSBlt.js} +1 -1
- package/dist/cjs/{nv-dialog.entry-B9qKSweg.js → nv-dialog.entry-Bo0_iopY.js} +39 -18
- package/dist/cjs/{nv-dialogfooter_2.entry-CBTqmO9s.js → nv-dialogfooter_2.entry-DGI1rhxT.js} +1 -1
- package/dist/cjs/{nv-drawer.entry-DD-VjFP9.js → nv-drawer.entry-BY8NzVhz.js} +10 -10
- package/dist/cjs/{nv-drawerfooter_2.entry-CkODBIr6.js → nv-drawerfooter_2.entry-Dybwzc8O.js} +1 -1
- package/dist/cjs/{nv-fieldcheckbox.entry-DWAA4UE3.js → nv-fieldcheckbox.entry-6mBP4IIQ.js} +3 -3
- package/dist/cjs/{nv-fielddate.entry-BVZhCq5F.js → nv-fielddate.entry-DYM-t6pu.js} +4 -4
- package/dist/cjs/{nv-fielddaterange.entry-CWAnYRgI.js → nv-fielddaterange.entry-DPtDC_VM.js} +5 -5
- package/dist/cjs/{nv-fielddropdown.entry-CLauf21x.js → nv-fielddropdown.entry-XSAGwuQN.js} +3 -3
- package/dist/cjs/{nv-fielddropdownitem.entry-DCTeh9KO.js → nv-fielddropdownitem.entry-BVD2bujB.js} +1 -1
- package/dist/cjs/{nv-fieldmultiselect.entry-BNwKkdeR.js → nv-fieldmultiselect.entry-Dp1Rpptg.js} +3 -3
- package/dist/cjs/{nv-fieldnumber.entry-D86SjYXx.js → nv-fieldnumber.entry-4viVcJgw.js} +3 -3
- package/dist/cjs/{nv-fieldpassword.entry-Dt0lUkJt.js → nv-fieldpassword.entry-C4RiF7P0.js} +3 -3
- package/dist/cjs/{nv-fieldradio.entry-DNvjs4oH.js → nv-fieldradio.entry-DkLds_A_.js} +23 -8
- package/dist/cjs/{nv-fieldselect.entry-OZEU8DSk.js → nv-fieldselect.entry-DdlYU0vr.js} +3 -3
- package/dist/cjs/{nv-fieldslider.entry-1IiUmkIh.js → nv-fieldslider.entry-BAdGT9Ow.js} +4 -4
- package/dist/cjs/{nv-fieldtext.entry-AuynZcaD.js → nv-fieldtext.entry-CbCqsR3r.js} +3 -3
- package/dist/cjs/{nv-fieldtextarea.entry-CgJKQdfG.js → nv-fieldtextarea.entry-D4oXfYGF.js} +3 -3
- package/dist/cjs/{nv-fieldtime.entry-uB03riIZ.js → nv-fieldtime.entry-YxN-tPoZ.js} +3 -3
- package/dist/cjs/nv-icon.entry-6wvhISa2.js +80 -0
- package/dist/cjs/{nv-iconbutton_2.entry-DWKZigsd.js → nv-iconbutton_2.entry-nVyjIkl7.js} +1 -1
- package/dist/cjs/{nv-menu.entry-DDFZOYwe.js → nv-menu.entry-69KujGjb.js} +1 -1
- package/dist/cjs/{nv-menuitem.entry-Btgdr6Od.js → nv-menuitem.entry-CZKPJD2H.js} +1 -1
- package/dist/cjs/{nv-notification-bullet.entry-Dqa7L5lv.js → nv-notification-bullet.entry-B3adkLIp.js} +1 -1
- package/dist/cjs/{nv-notification.entry-C_AyXrky.js → nv-notification.entry-BCRwZd31.js} +3 -3
- package/dist/cjs/{nv-notificationcontainer.entry-DCvtamdA.js → nv-notificationcontainer.entry-4OMQu6mD.js} +1 -1
- package/dist/cjs/{nv-pagination-nav.entry-BEKSbRT5.js → nv-pagination-nav.entry-SXNk9whA.js} +1 -1
- package/dist/cjs/{nv-paginationtable.entry-XD08dNh6.js → nv-paginationtable.entry-CTvn3nvZ.js} +1 -1
- package/dist/cjs/{nv-pill.entry-DXy2Ez6j.js → nv-pill.entry-DnHcaB3o.js} +1 -1
- package/dist/cjs/{nv-popover.entry-Dkn58xz1.js → nv-popover.entry-IQ2NS-H3.js} +187 -141
- package/dist/cjs/{nv-row.entry-C-Pu-4d5.js → nv-row.entry-BDmgS2u1.js} +1 -1
- package/dist/cjs/{nv-sidebar.entry-BCPSmV8X.js → nv-sidebar.entry-BtbINl74.js} +1 -1
- package/dist/cjs/{nv-sidebarcontent.entry-Dbk9Jp-R.js → nv-sidebarcontent.entry-Cmn1Ag4E.js} +1 -1
- package/dist/cjs/{nv-sidebardivider.entry-BSbCqQ-I.js → nv-sidebardivider.entry-BGyBcRCm.js} +1 -1
- package/dist/cjs/{nv-sidebarfooter.entry-DrYkZsT7.js → nv-sidebarfooter.entry-FUjyZ_L0.js} +1 -1
- package/dist/cjs/{nv-sidebargroup.entry-XUiruLr8.js → nv-sidebargroup.entry-BLT-Z2cV.js} +1 -1
- package/dist/cjs/{nv-sidebarheader.entry-LY9keSTe.js → nv-sidebarheader.entry-BWts-jYM.js} +1 -1
- package/dist/cjs/{nv-sidebarlogo.entry-CXTBFLAn.js → nv-sidebarlogo.entry-CUddr-S1.js} +1 -1
- package/dist/cjs/{nv-sidebarnavitem.entry-D322CneD.js → nv-sidebarnavitem.entry-CD_1lOXa.js} +1 -1
- package/dist/cjs/{nv-sidebarnavsubitem.entry-CUTyEkyb.js → nv-sidebarnavsubitem.entry-ZySBNwG2.js} +1 -1
- package/dist/cjs/{nv-split.entry-TFxGWUX9.js → nv-split.entry-BGhae9a4.js} +1 -1
- package/dist/cjs/{nv-stack.entry-Bh7oNRvH.js → nv-stack.entry-c4sMwsu8.js} +1 -1
- package/dist/cjs/{nv-statusindicator.entry-DZQ5jU9e.js → nv-statusindicator.entry-CkuPYwtD.js} +1 -1
- package/dist/cjs/{nv-table.entry-zgAnu_aK.js → nv-table.entry-B5SEtIAo.js} +1 -1
- package/dist/cjs/{nv-tableheader.entry-DA639Bgy.js → nv-tableheader.entry-DdqsP8sP.js} +1 -1
- package/dist/cjs/{nv-tag.entry-C2aYljq1.js → nv-tag.entry-C455_9p7.js} +1 -1
- package/dist/cjs/{nv-timetest.entry-DgyhZ_ec.js → nv-timetest.entry-BNgk3NHV.js} +1 -1
- package/dist/cjs/{nv-toggle.entry-HnXIWK6v.js → nv-toggle.entry-B5VQXr6D.js} +3 -3
- package/dist/cjs/{nv-togglebutton.entry-DLgQwvYS.js → nv-togglebutton.entry-DYL0qJ69.js} +1 -1
- package/dist/cjs/{nv-togglebuttongroup.entry-JtEebncS.js → nv-togglebuttongroup.entry-B7H0NtpN.js} +1 -1
- package/dist/cjs/{nv-tooltip.entry-CieHlmqB.js → nv-tooltip.entry-CBk7P9RD.js} +1 -1
- package/dist/cjs/v4-CK3_k8jD-_2BfiRUa.js +52 -0
- package/package.json +3 -2
- package/dist/cjs/events.utils-B6GgGra--01N__3wY.js +0 -23
- package/dist/cjs/nv-icon.entry-DsZUamyE.js +0 -80
- package/dist/cjs/v4-BdYh22OP-C1vaJ4yP.js +0 -56
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BNK3HFv_.js');
|
|
4
4
|
var accessibility_utilsC4Cy9iy8 = require('./accessibility.utils-C4Cy9iy8-CeSsswXF.js');
|
|
5
5
|
require('@stencil/react-output-target/runtime');
|
|
6
6
|
require('react');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BNK3HFv_.js');
|
|
4
4
|
var clsxChV9xqsO = require('./clsx-ChV9xqsO-BtxeOLZW.js');
|
|
5
|
-
var
|
|
5
|
+
var v4CK3_k8jD = require('./v4-CK3_k8jD-_2BfiRUa.js');
|
|
6
6
|
require('@stencil/react-output-target/runtime');
|
|
7
7
|
require('react');
|
|
8
8
|
require('react-dom');
|
|
@@ -21,7 +21,7 @@ const NvToggle = class {
|
|
|
21
21
|
* automatically generated to ensure unique identification, facilitating
|
|
22
22
|
* proper label association and accessibility.
|
|
23
23
|
*/
|
|
24
|
-
this.inputId =
|
|
24
|
+
this.inputId = v4CK3_k8jD.v4();
|
|
25
25
|
/**
|
|
26
26
|
* Hides the label visually while still keeping it available for screen
|
|
27
27
|
* readers.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BNK3HFv_.js');
|
|
4
4
|
var accessibility_utilsC4Cy9iy8 = require('./accessibility.utils-C4Cy9iy8-CeSsswXF.js');
|
|
5
5
|
require('@stencil/react-output-target/runtime');
|
|
6
6
|
require('react');
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const byteToHex = [];
|
|
4
|
+
for (let i = 0; i < 256; ++i) {
|
|
5
|
+
byteToHex.push((i + 0x100).toString(16).slice(1));
|
|
6
|
+
}
|
|
7
|
+
function unsafeStringify(arr, offset = 0) {
|
|
8
|
+
return (byteToHex[arr[offset + 0]] +
|
|
9
|
+
byteToHex[arr[offset + 1]] +
|
|
10
|
+
byteToHex[arr[offset + 2]] +
|
|
11
|
+
byteToHex[arr[offset + 3]] +
|
|
12
|
+
'-' +
|
|
13
|
+
byteToHex[arr[offset + 4]] +
|
|
14
|
+
byteToHex[arr[offset + 5]] +
|
|
15
|
+
'-' +
|
|
16
|
+
byteToHex[arr[offset + 6]] +
|
|
17
|
+
byteToHex[arr[offset + 7]] +
|
|
18
|
+
'-' +
|
|
19
|
+
byteToHex[arr[offset + 8]] +
|
|
20
|
+
byteToHex[arr[offset + 9]] +
|
|
21
|
+
'-' +
|
|
22
|
+
byteToHex[arr[offset + 10]] +
|
|
23
|
+
byteToHex[arr[offset + 11]] +
|
|
24
|
+
byteToHex[arr[offset + 12]] +
|
|
25
|
+
byteToHex[arr[offset + 13]] +
|
|
26
|
+
byteToHex[arr[offset + 14]] +
|
|
27
|
+
byteToHex[arr[offset + 15]]).toLowerCase();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const rnds8 = new Uint8Array(16);
|
|
31
|
+
function rng() {
|
|
32
|
+
return crypto.getRandomValues(rnds8);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function v4(options, buf, offset) {
|
|
36
|
+
if (crypto.randomUUID) {
|
|
37
|
+
return crypto.randomUUID();
|
|
38
|
+
}
|
|
39
|
+
return _v4(options);
|
|
40
|
+
}
|
|
41
|
+
function _v4(options, buf, offset) {
|
|
42
|
+
options = options || {};
|
|
43
|
+
const rnds = options.random ?? options.rng?.() ?? rng();
|
|
44
|
+
if (rnds.length < 16) {
|
|
45
|
+
throw new Error('Random bytes length must be >= 16');
|
|
46
|
+
}
|
|
47
|
+
rnds[6] = (rnds[6] & 0x0f) | 0x40;
|
|
48
|
+
rnds[8] = (rnds[8] & 0x3f) | 0x80;
|
|
49
|
+
return unsafeStringify(rnds);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
exports.v4 = v4;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nova-design-system/nova-react",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.33.0",
|
|
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",
|
|
@@ -56,12 +56,13 @@
|
|
|
56
56
|
"react-dom": "18.3.1",
|
|
57
57
|
"nova-utils": "*",
|
|
58
58
|
"nova-storybook-utils": "*",
|
|
59
|
+
"rollup": "4.61.1",
|
|
59
60
|
"@rollup/plugin-commonjs": "28.0.2",
|
|
60
61
|
"@rollup/plugin-node-resolve": "16.0.0",
|
|
61
62
|
"@rollup/plugin-typescript": "12.1.2"
|
|
62
63
|
},
|
|
63
64
|
"peerDependencies": {
|
|
64
|
-
"@stencil/react-output-target": "1.2
|
|
65
|
+
"@stencil/react-output-target": "1.3.2",
|
|
65
66
|
"react": "^18 || ^19",
|
|
66
67
|
"react-dom": "^18 || ^19"
|
|
67
68
|
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Adds a set of event listeners to the given target.
|
|
5
|
-
* @param {EventsAndListeners} events - The events and listeners to add.
|
|
6
|
-
* @param {Element | Window | Document} target - The target element or window to add the event listeners to.
|
|
7
|
-
* @param {T} context - The class context to bind the event listeners to.
|
|
8
|
-
*/
|
|
9
|
-
function addEventListeners(events, target, context) {
|
|
10
|
-
events.forEach(([event, listener]) => target.addEventListener(event, listener.bind(context)));
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Removes a set of event listeners from the given target.
|
|
14
|
-
* @param {EventsAndListeners} events - The events and listeners to remove.
|
|
15
|
-
* @param {Element | Window | Document} target - The target element or window to remove the event listeners from.
|
|
16
|
-
* @param {T} context - The class context to bind the event listeners to.
|
|
17
|
-
*/
|
|
18
|
-
function removeEventListeners(events, target, context) {
|
|
19
|
-
events.forEach(([event, listener]) => target.removeEventListener(event, listener.bind(context)));
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
exports.addEventListeners = addEventListeners;
|
|
23
|
-
exports.removeEventListeners = removeEventListeners;
|