@dashadmin/dash-components 1.3.26 → 1.3.28
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 +35 -0
- package/package.json +16 -17
package/README.md
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# @dashadmin/dash-components
|
|
2
|
+
|
|
3
|
+
> Shared React component library for Dash UIs.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
Reusable presentational and interactive components used across Dash apps, including the drag-and-drop `SortableDataGrid` (powered by `@hello-pangea/dnd`), the notifications centre and the `useDraggable` hook.
|
|
8
|
+
|
|
9
|
+
## Key exports & features
|
|
10
|
+
|
|
11
|
+
- `SortableDataGrid` (drag-and-drop reordering via `@hello-pangea/dnd`)
|
|
12
|
+
- Notifications centre
|
|
13
|
+
- `useDraggable` hook and assorted shared widgets
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# From the public npm registry
|
|
19
|
+
npm install @dashadmin/dash-components
|
|
20
|
+
|
|
21
|
+
# Or the local Verdaccio registry (unscoped)
|
|
22
|
+
npm install dash-components --registry http://localhost:4873
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Internal Dash dependencies
|
|
26
|
+
|
|
27
|
+
`@dashadmin/dash-auto-admin`, `@dashadmin/dash-dialog`, `@dashadmin/dash-modal`, `@dashadmin/dash-utils`, `@dashadmin/dash-auth`, `@dashadmin/dash-admin-state`, `@dashadmin/dash-axios-hook`, `@dashadmin/dash-interfaces`, `@dashadmin/dash-styles`
|
|
28
|
+
|
|
29
|
+
## Development & publishing
|
|
30
|
+
|
|
31
|
+
This package is part of the **dash-frontend-core** monorepo. See [`DEVELOPMENT.md`](../../DEVELOPMENT.md) for the source-modification workflow, local Verdaccio publishing, npm publishing and version-bump policy.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
_Part of the [Dash Framework](https://www.npmjs.com/org/dashadmin) · `@dashadmin` scope._
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashadmin/dash-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.28",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -34,8 +34,17 @@
|
|
|
34
34
|
"@rollup/plugin-node-resolve": "latest",
|
|
35
35
|
"@rollup/plugin-replace": "latest",
|
|
36
36
|
"@rollup/plugin-typescript": "latest",
|
|
37
|
+
"@dashadmin/dash-auto-admin": "workspace:*",
|
|
38
|
+
"@dashadmin/dash-dialog": "workspace:*",
|
|
39
|
+
"@dashadmin/dash-modal": "workspace:*",
|
|
40
|
+
"@dashadmin/dash-utils": "workspace:*",
|
|
37
41
|
"numeral": "^2.0.6",
|
|
38
42
|
"react-number-format": "^5.4.4",
|
|
43
|
+
"@dashadmin/dash-auth": "workspace:*",
|
|
44
|
+
"@dashadmin/dash-admin-state": "workspace:*",
|
|
45
|
+
"@dashadmin/dash-axios-hook": "workspace:*",
|
|
46
|
+
"@dashadmin/dash-interfaces": "workspace:*",
|
|
47
|
+
"@dashadmin/dash-styles": "workspace:*",
|
|
39
48
|
"query-string": "latest",
|
|
40
49
|
"react-admin": "5.14.6",
|
|
41
50
|
"react-color": "^2.19.3",
|
|
@@ -51,16 +60,7 @@
|
|
|
51
60
|
"rollup-plugin-cleaner": "latest",
|
|
52
61
|
"rollup-plugin-dts": "latest",
|
|
53
62
|
"rollup-plugin-peer-deps-external": "latest",
|
|
54
|
-
"rollup-plugin-svg": "latest"
|
|
55
|
-
"@dashadmin/dash-auto-admin": "workspace:*",
|
|
56
|
-
"@dashadmin/dash-dialog": "workspace:*",
|
|
57
|
-
"@dashadmin/dash-modal": "workspace:*",
|
|
58
|
-
"@dashadmin/dash-utils": "workspace:*",
|
|
59
|
-
"@dashadmin/dash-auth": "workspace:*",
|
|
60
|
-
"@dashadmin/dash-admin-state": "workspace:*",
|
|
61
|
-
"@dashadmin/dash-axios-hook": "workspace:*",
|
|
62
|
-
"@dashadmin/dash-interfaces": "workspace:*",
|
|
63
|
-
"@dashadmin/dash-styles": "workspace:*"
|
|
63
|
+
"rollup-plugin-svg": "latest"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@babel/core": "latest",
|
|
@@ -73,6 +73,8 @@
|
|
|
73
73
|
"@types/react-dom": "latest",
|
|
74
74
|
"@zerollup/ts-transform-paths": "latest",
|
|
75
75
|
"babel-loader": "latest",
|
|
76
|
+
"@dashadmin/dash-eslint": "workspace:*",
|
|
77
|
+
"@dashadmin/dash-tsconfig": "workspace:*",
|
|
76
78
|
"eslint": "latest",
|
|
77
79
|
"eslint-config-airbnb": "latest",
|
|
78
80
|
"eslint-config-airbnb-typescript": "latest",
|
|
@@ -87,6 +89,7 @@
|
|
|
87
89
|
"eslint-plugin-react": "latest",
|
|
88
90
|
"eslint-plugin-react-hooks": "latest",
|
|
89
91
|
"eslint-plugin-storybook": "latest",
|
|
92
|
+
"@dashadmin/dash-prettier": "workspace:*",
|
|
90
93
|
"query-string": "latest",
|
|
91
94
|
"react-dom": "latest",
|
|
92
95
|
"rollup": "latest",
|
|
@@ -100,15 +103,11 @@
|
|
|
100
103
|
"rollup-plugin-typescript2": "latest",
|
|
101
104
|
"tsc": "latest",
|
|
102
105
|
"tsc-alias": "latest",
|
|
103
|
-
"typescript": "latest"
|
|
104
|
-
"@dashadmin/dash-eslint": "workspace:*",
|
|
105
|
-
"@dashadmin/dash-tsconfig": "workspace:*",
|
|
106
|
-
"@dashadmin/dash-prettier": "workspace:*"
|
|
106
|
+
"typescript": "latest"
|
|
107
107
|
},
|
|
108
108
|
"peerDependencies": {
|
|
109
109
|
"react": "latest",
|
|
110
|
-
"react-
|
|
111
|
-
"react-custom-scrollbars-2": "latest",
|
|
110
|
+
"react-custom-scrollbars-2": "^4.5.0",
|
|
112
111
|
"react-dom": "latest"
|
|
113
112
|
},
|
|
114
113
|
"eslintConfig": {
|