portal-design-system 0.0.911 → 0.0.913
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 +18 -0
- package/dist/Button.vue_vue_type_script_setup_true_lang-CpVvHLQi.js +130 -0
- package/dist/Button.vue_vue_type_script_setup_true_lang-DR3EbYfk.cjs +1 -0
- package/dist/DataGrid-CFoHugFj.cjs +1 -0
- package/dist/DataGrid-Qfk5j1uR.js +230 -0
- package/dist/datagrid.cjs +1 -0
- package/dist/datagrid.d.ts +126 -0
- package/dist/datagrid.js +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +361 -706
- package/package.json +6 -1
package/README.md
CHANGED
|
@@ -36,6 +36,24 @@ If you use the `DataGrid` component, you must also install DevExtreme and its Vu
|
|
|
36
36
|
npm install devextreme devextreme-vue devextreme-aspnet-data-nojquery
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
+
Then import it separately:
|
|
40
|
+
|
|
41
|
+
```vue
|
|
42
|
+
<script setup lang="ts">
|
|
43
|
+
import { DataGrid } from 'portal-design-system/datagrid'
|
|
44
|
+
import { Button } from 'portal-design-system'
|
|
45
|
+
</script>
|
|
46
|
+
|
|
47
|
+
<template>
|
|
48
|
+
<DataGrid
|
|
49
|
+
:data-source="yourData"
|
|
50
|
+
:columns="columns"
|
|
51
|
+
/>
|
|
52
|
+
</template>
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
**Note:** DataGrid is exported as a separate entry point to avoid bundling DevExtreme in projects that don't use it. This keeps the main library lightweight.
|
|
56
|
+
|
|
39
57
|
## Quick Start
|
|
40
58
|
|
|
41
59
|
1. Import the compiled CSS (one-time in your app entry, e.g. `main.ts`):
|