@nova-design-system/nova-vue 3.25.0 → 3.26.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.
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable jsdoc/require-jsdoc */
|
|
2
1
|
import { defineComponent, computed, h, ref, watch, watchEffect, onUnmounted, } from 'vue';
|
|
3
2
|
import { useVueTable, getCoreRowModel, getPaginationRowModel, getSortedRowModel, } from '@tanstack/vue-table';
|
|
4
3
|
import { NvTable, NvTableheader, NvPaginationtable, } from '../generated/components';
|
package/dist/plugin.js
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { defineCustomElements } from '@nova-design-system/nova-webcomponents/loader';
|
|
8
8
|
import { NvNotificationService, } from './providers/NotificationService';
|
|
9
|
+
import * as components from './generated/components';
|
|
9
10
|
/**
|
|
10
11
|
* This is the Vue plugin that is used to define the custom elements, event
|
|
11
12
|
* handlers, and includes the notification service.
|
|
@@ -14,6 +15,11 @@ export const NovaComponents = {
|
|
|
14
15
|
async install(app, options = {}) {
|
|
15
16
|
// Define custom elements with event handling
|
|
16
17
|
defineCustomElements();
|
|
18
|
+
// Register all Vue component wrappers globally so that
|
|
19
|
+
// props are passed as JS properties (not HTML attributes)
|
|
20
|
+
Object.entries(components).forEach(([name, component]) => {
|
|
21
|
+
app.component(name, component);
|
|
22
|
+
});
|
|
17
23
|
// Install notification service
|
|
18
24
|
NvNotificationService.install(app, options.notifications);
|
|
19
25
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nova-design-system/nova-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.26.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",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"tsc:watch": "tsc -p . --outDir ./dist --watch",
|
|
37
37
|
"storybook": "storybook dev -p 6008",
|
|
38
38
|
"storybook.build": "storybook build -o ../../storybook-static/vue",
|
|
39
|
-
"clean": "rimraf dist lib/generated lib/stories/generated lib/stories/components/*-migration.mdx lib/stories/components/*-guide.mdx",
|
|
39
|
+
"clean": "rimraf dist lib/generated lib/stories/generated && shx rm -rf lib/stories/components/*-migration.mdx lib/stories/components/*-guide.mdx",
|
|
40
40
|
"typecheck": "tsc --emitDeclarationOnly false --noEmit"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|