@nova-design-system/nova-react 3.18.0 → 3.20.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/README.md +3 -20
- package/dist/cjs/generated/components.server.js +4 -2
- package/dist/cjs/{index-_oq_uffl.js → index-BObVnP12.js} +373 -332
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/{nv-accordion-item.entry-DBO7ztqb.js → nv-accordion-item.entry-BBAGkmLI.js} +1 -1
- package/dist/cjs/{nv-accordion.entry-Ma9HqnfE.js → nv-accordion.entry-CvvtdLIz.js} +1 -1
- package/dist/cjs/{nv-alert.entry--bKp-lux.js → nv-alert.entry-w5XeFsrC.js} +1 -1
- package/dist/cjs/{nv-avatar.entry-DN_-lrBo.js → nv-avatar.entry-BxUZg-8h.js} +1 -1
- package/dist/cjs/{nv-badge_2.entry-Dl4iJgMU.js → nv-badge_2.entry-DdSIFlJf.js} +2 -2
- package/dist/cjs/{nv-breadcrumb.entry-BBvgQ-p_.js → nv-breadcrumb.entry-CmbqGw3C.js} +1 -1
- package/dist/cjs/{nv-breadcrumbs.entry-1SoAvjZG.js → nv-breadcrumbs.entry-DFHxtPKv.js} +1 -1
- package/dist/cjs/{nv-button.entry-B4k5GJIo.js → nv-button.entry-Dyks6_mF.js} +1 -1
- package/dist/cjs/{nv-buttongroup.entry-B5LQavYS.js → nv-buttongroup.entry-wn9zFd_M.js} +1 -1
- package/dist/cjs/{nv-calendar.entry-mOSPsfm-.js → nv-calendar.entry-Dldsa6dz.js} +1 -1
- package/dist/cjs/{nv-col.entry-Dzg7C_6U.js → nv-col.entry-DnG79KM1.js} +1 -1
- package/dist/cjs/{nv-datagrid.entry-CfZeMjYO.js → nv-datagrid.entry-C2ML-e47.js} +1 -1
- package/dist/cjs/{nv-datagridcolumn.entry-DEqq7_M9.js → nv-datagridcolumn.entry-DcMPUtQS.js} +1 -1
- package/dist/cjs/{nv-dialog.entry-DSX9jRuv.js → nv-dialog.entry-C0Vx7dQc.js} +1 -1
- package/dist/cjs/{nv-dialogfooter_2.entry-t9MuuUDn.js → nv-dialogfooter_2.entry-BGq8Jiib.js} +1 -1
- package/dist/cjs/{nv-fieldcheckbox.entry-KDMtAaLt.js → nv-fieldcheckbox.entry-CAPwYnSU.js} +1 -1
- package/dist/cjs/{nv-fielddate.entry-SjEKszkJ.js → nv-fielddate.entry-Byt5cmQi.js} +11 -7
- package/dist/cjs/{nv-fielddaterange.entry-B6pLWuF3.js → nv-fielddaterange.entry-CCFeFP2q.js} +12 -8
- package/dist/cjs/{nv-fielddropdown.entry-DIYVOvRw.js → nv-fielddropdown.entry-BFp_2vBC.js} +194 -210
- package/dist/cjs/{nv-fielddropdownitem.entry-CUMPmEzj.js → nv-fielddropdownitem.entry-D_4KdBY1.js} +8 -5
- package/dist/cjs/{nv-fieldmultiselect.entry-BFt11EM5.js → nv-fieldmultiselect.entry-BaUD7Dcr.js} +5 -1
- package/dist/cjs/{nv-fieldnumber.entry-V2AYjG7j.js → nv-fieldnumber.entry-DOmhBrDv.js} +25 -8
- package/dist/cjs/{nv-fieldpassword.entry-BoQAgzW2.js → nv-fieldpassword.entry-hogiPC5z.js} +4 -4
- package/dist/cjs/{nv-fieldradio.entry-CKDZ6g8q.js → nv-fieldradio.entry-CKbyWpIK.js} +4 -4
- package/dist/cjs/{nv-fieldselect.entry-Daa3JB5t.js → nv-fieldselect.entry-tpURNUEP.js} +6 -6
- package/dist/cjs/{nv-fieldslider.entry-BhT0C9hG.js → nv-fieldslider.entry-v0d92XEY.js} +7 -5
- package/dist/cjs/{nv-fieldtext.entry-a1x9CfYv.js → nv-fieldtext.entry-DNYrOAhj.js} +4 -4
- package/dist/cjs/{nv-fieldtextarea.entry-nn5SqAJD.js → nv-fieldtextarea.entry-cRsjPwwR.js} +4 -4
- package/dist/cjs/{nv-fieldtime.entry-DQb9u4eg.js → nv-fieldtime.entry-BpGBUfKr.js} +5 -4
- package/dist/cjs/nv-icon.entry-BfmyacWA.js +80 -0
- package/dist/cjs/{nv-iconbutton_2.entry-WTj2sSR7.js → nv-iconbutton_2.entry-DOv1RrkS.js} +3 -3
- package/dist/cjs/{nv-menu.entry-DnHSkRkc.js → nv-menu.entry-C2L8F-nG.js} +3 -3
- package/dist/cjs/{nv-menuitem.entry-BMThBD-z.js → nv-menuitem.entry-DuDZTlJ1.js} +2 -2
- package/dist/cjs/{nv-notification.entry-BgORwEc6.js → nv-notification.entry-DxAj-mc7.js} +2 -2
- package/dist/cjs/{nv-notificationcontainer.entry-C3D52xHp.js → nv-notificationcontainer.entry-CUnTicXF.js} +2 -2
- package/dist/cjs/{nv-popover.entry-Bc5Hs_ZA.js → nv-popover.entry-DVwa4DvW.js} +3 -3
- package/dist/cjs/{nv-row.entry-rTFsRQhn.js → nv-row.entry-iLk2UglX.js} +2 -2
- package/dist/cjs/{nv-split.entry-CEkdVB0d.js → nv-split.entry-BrMHK6TS.js} +2 -2
- package/dist/cjs/{nv-stack.entry-DFWmiZRf.js → nv-stack.entry-C8jLJ5Ki.js} +2 -2
- package/dist/cjs/{nv-table.entry-Drf8wXN5.js → nv-table.entry-D6o4g9Vo.js} +2 -2
- package/dist/cjs/{nv-toggle.entry-D3jHT0co.js → nv-toggle.entry-9iwmu7qi.js} +3 -3
- package/dist/cjs/{nv-togglebutton.entry-zN93TaA9.js → nv-togglebutton.entry-N7_CSvzS.js} +2 -2
- package/dist/cjs/{nv-togglebuttongroup.entry-D4dUkodA.js → nv-togglebuttongroup.entry-DWCytOhV.js} +2 -2
- package/dist/cjs/{nv-tooltip.entry-DqFRA9_B.js → nv-tooltip.entry-BMxnZVYA.js} +2 -2
- package/dist/components/NvDatatable.js +17 -2
- package/dist/generated/components.js +2 -0
- package/dist/generated/components.server.js +4 -2
- package/dist/types/components/NvDatatable.d.ts +26 -19
- package/dist/types/generated/components.d.ts +4 -1
- package/dist/types/generated/components.server.d.ts +4 -1
- package/package.json +1 -1
- package/dist/cjs/nv-icon.entry-17nX7627.js +0 -80
package/README.md
CHANGED
|
@@ -2,26 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
**Nova Components React** provides an easy way to use [Nova’s native Web Components](https://www.npmjs.com/package/@nova-design-system/nova-webcomponents) within your React applications.
|
|
4
4
|
|
|
5
|
-
- [Nova Components React](#nova-components-react)
|
|
6
|
-
- [Key Features](#key-features)
|
|
7
|
-
- [Installation](#installation)
|
|
8
|
-
- [Setting up Tailwind](#setting-up-tailwind)
|
|
9
|
-
- [About Tailwind and the Nova Plugin](#about-tailwind-and-the-nova-plugin)
|
|
10
|
-
- [1. Install Tailwind CSS and the Vite Plugin](#1-install-tailwind-css-and-the-vite-plugin)
|
|
11
|
-
- [2. Configure the Vite Plugin](#2-configure-the-vite-plugin)
|
|
12
|
-
- [3. Create `tailwind.config.ts`](#3-create-tailwindconfigts)
|
|
13
|
-
- [4. Configure Tailwind and Nova Plugin in `index.css`](#4-configure-tailwind-and-nova-plugin-in-indexcss)
|
|
14
|
-
- [5. Include the Nova Tokens (Spark or Ocean)](#5-include-the-nova-tokens-spark-or-ocean)
|
|
15
|
-
- [6. Use Nova Components with Tailwind Utilities](#6-use-nova-components-with-tailwind-utilities)
|
|
16
|
-
- [7. Setup the Nova Font](#7-setup-the-nova-font)
|
|
17
|
-
- [Creating Your Own Style Components with Tailwind](#creating-your-own-style-components-with-tailwind)
|
|
18
|
-
- [Nova Font Pro Integration](#nova-font-pro-integration)
|
|
19
|
-
- [Option 1: Import in Global CSS (Recommended)](#option-1-import-in-global-css-recommended)
|
|
20
|
-
- [Option 2: HTML Integration](#option-2-html-integration)
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
5
|
## Key Features
|
|
26
6
|
|
|
27
7
|
- **Lightweight Integration**: Leverage Nova Web Components with minimal configuration in React.
|
|
@@ -35,6 +15,9 @@
|
|
|
35
15
|
|
|
36
16
|
Install the necessary packages using the package manager of your choice:
|
|
37
17
|
|
|
18
|
+
> [!IMPORTANT]
|
|
19
|
+
> If you want to set it up in NextJS, please refer to the [NextJS Integration Guide](/docs/guides-next-js-integration--docs).
|
|
20
|
+
|
|
38
21
|
```bash
|
|
39
22
|
npm install @nova-design-system/nova-webcomponents @nova-design-system/nova-base @nova-design-system/nova-react
|
|
40
23
|
```
|
|
@@ -314,9 +314,10 @@ const NvFielddropdown = ssr.createComponent({
|
|
|
314
314
|
error: 'error',
|
|
315
315
|
errorDescription: 'error-description',
|
|
316
316
|
maxHeight: 'max-height',
|
|
317
|
-
open: 'open',
|
|
318
317
|
emptyResult: 'empty-result',
|
|
319
318
|
filterable: 'filterable',
|
|
319
|
+
openOnSelect: 'open-on-select',
|
|
320
|
+
controlledFilter: 'controlled-filter',
|
|
320
321
|
debounceDelay: 'debounce-delay',
|
|
321
322
|
autofocus: 'autofocus',
|
|
322
323
|
fluid: 'fluid'
|
|
@@ -330,7 +331,8 @@ const NvFielddropdownitem = ssr.createComponent({
|
|
|
330
331
|
disabled: 'disabled',
|
|
331
332
|
selected: 'selected',
|
|
332
333
|
value: 'value',
|
|
333
|
-
label: 'label'
|
|
334
|
+
label: 'label',
|
|
335
|
+
detached: 'detached'
|
|
334
336
|
},
|
|
335
337
|
hydrateModule: import('@nova-design-system/nova-webcomponents/hydrate'),
|
|
336
338
|
serializeShadowRoot
|