@dashadmin/dash-components 1.3.20 → 1.3.22

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.
Files changed (2) hide show
  1. package/package.json +29 -38
  2. package/src/index.tsx +0 -77
package/package.json CHANGED
@@ -1,18 +1,9 @@
1
1
  {
2
2
  "name": "@dashadmin/dash-components",
3
- "version": "1.3.20",
3
+ "version": "1.3.22",
4
4
  "private": false,
5
- "main": "src/index.tsx",
5
+ "main": "dist/index.js",
6
6
  "type": "module",
7
- "scripts": {
8
- "lint": "eslint --ext .ts,.tsx .",
9
- "format": "pnpm prettier --write . && pnpm format-check && pnpm lint",
10
- "lint:check": "pnpm prettier --check .",
11
- "lint:fix": "pnpm prettier --write .",
12
- "check-updates": "pnpm npm-check-updates",
13
- "updates-packages": "pnpm npm-check-updates -u",
14
- "build": "rm -rf dist && node ../dash-build/compile.mjs && vite build"
15
- },
16
7
  "browserslist": {
17
8
  "production": [
18
9
  ">0.2%",
@@ -35,17 +26,8 @@
35
26
  "@rollup/plugin-node-resolve": "latest",
36
27
  "@rollup/plugin-replace": "latest",
37
28
  "@rollup/plugin-typescript": "latest",
38
- "@dashadmin/dash-auto-admin": "workspace:*",
39
- "@dashadmin/dash-dialog": "workspace:*",
40
- "@dashadmin/dash-modal": "workspace:*",
41
- "@dashadmin/dash-utils": "workspace:*",
42
29
  "numeral": "^2.0.6",
43
30
  "react-number-format": "^5.4.4",
44
- "@dashadmin/dash-auth": "workspace:*",
45
- "@dashadmin/dash-admin-state": "workspace:*",
46
- "@dashadmin/dash-axios-hook": "workspace:*",
47
- "@dashadmin/dash-interfaces": "workspace:*",
48
- "@dashadmin/dash-styles": "workspace:*",
49
31
  "query-string": "latest",
50
32
  "react-admin": "5.14.7",
51
33
  "react-color": "^2.19.3",
@@ -61,7 +43,16 @@
61
43
  "rollup-plugin-cleaner": "latest",
62
44
  "rollup-plugin-dts": "latest",
63
45
  "rollup-plugin-peer-deps-external": "latest",
64
- "rollup-plugin-svg": "latest"
46
+ "rollup-plugin-svg": "latest",
47
+ "@dashadmin/dash-auto-admin": "1.3.22",
48
+ "@dashadmin/dash-dialog": "1.3.22",
49
+ "@dashadmin/dash-utils": "1.3.22",
50
+ "@dashadmin/dash-modal": "1.3.22",
51
+ "@dashadmin/dash-axios-hook": "1.3.22",
52
+ "@dashadmin/dash-styles": "1.3.22",
53
+ "@dashadmin/dash-admin-state": "1.3.22",
54
+ "@dashadmin/dash-auth": "1.3.22",
55
+ "@dashadmin/dash-interfaces": "1.3.22"
65
56
  },
66
57
  "devDependencies": {
67
58
  "@babel/core": "latest",
@@ -74,8 +65,6 @@
74
65
  "@types/react-dom": "latest",
75
66
  "@zerollup/ts-transform-paths": "latest",
76
67
  "babel-loader": "latest",
77
- "@dashadmin/dash-eslint": "workspace:*",
78
- "@dashadmin/dash-tsconfig": "workspace:*",
79
68
  "eslint": "latest",
80
69
  "eslint-config-airbnb": "latest",
81
70
  "eslint-config-airbnb-typescript": "latest",
@@ -90,7 +79,6 @@
90
79
  "eslint-plugin-react": "latest",
91
80
  "eslint-plugin-react-hooks": "latest",
92
81
  "eslint-plugin-storybook": "latest",
93
- "@dashadmin/dash-prettier": "workspace:*",
94
82
  "query-string": "latest",
95
83
  "react-dom": "latest",
96
84
  "rollup": "latest",
@@ -104,7 +92,10 @@
104
92
  "rollup-plugin-typescript2": "latest",
105
93
  "tsc-alias": "latest",
106
94
  "typescript": "latest",
107
- "vite": "^5.2.0"
95
+ "vite": "^5.2.0",
96
+ "@dashadmin/dash-eslint": "1.3.22",
97
+ "@dashadmin/dash-tsconfig": "1.3.22",
98
+ "@dashadmin/dash-prettier": "1.3.22"
108
99
  },
109
100
  "peerDependencies": {
110
101
  "react": "latest",
@@ -117,26 +108,26 @@
117
108
  },
118
109
  "publishConfig": {
119
110
  "name": "@dashadmin/dash-components",
120
- "access": "public",
121
- "main": "dist/index.js",
122
- "exports": {
123
- ".": {
124
- "import": "./dist/index.js"
125
- },
126
- "./src/*": {
127
- "import": "./dist/*.js"
128
- }
129
- }
111
+ "access": "public"
130
112
  },
131
113
  "files": [
132
114
  "dist"
133
115
  ],
134
116
  "exports": {
135
117
  ".": {
136
- "import": "./src/index.tsx"
118
+ "import": "./dist/index.js"
137
119
  },
138
120
  "./src/*": {
139
- "import": "./src/*"
121
+ "import": "./dist/*.js"
140
122
  }
123
+ },
124
+ "scripts": {
125
+ "lint": "eslint --ext .ts,.tsx .",
126
+ "format": "pnpm prettier --write . && pnpm format-check && pnpm lint",
127
+ "lint:check": "pnpm prettier --check .",
128
+ "lint:fix": "pnpm prettier --write .",
129
+ "check-updates": "pnpm npm-check-updates",
130
+ "updates-packages": "pnpm npm-check-updates -u",
131
+ "build": "rm -rf dist && node ../dash-build/compile.mjs && vite build"
141
132
  }
142
- }
133
+ }
package/src/index.tsx DELETED
@@ -1,77 +0,0 @@
1
- export { default as PackageRadioButtonGroup } from './components/custom/PackageRadioButtonGroup';
2
- export { default as PackageCopyMethod } from './components/custom/PackageCopyMethod';
3
- export { default as NotResults } from './components/theme/NotResults';
4
- export { default as NotFound } from './components/theme/NotFound';
5
- export { default as QuickSearch } from './components/dialog/QuickSearch';
6
-
7
- export { default as PaginationComponent } from './components/tables/PaginationComponent';
8
-
9
- export { default as AutocompleteCheckBoxArrayInput } from './components/AutoCompleteArrayInput/AutocompleteCheckBoxArrayInput';
10
- export { default as AutoCompleteCheckBoxInput } from './components/AutoCompleteArrayInput/AutoCompleteCheckBoxInput';
11
- export { default as AutocompleteCheckBoxArrayInputAutoSearch } from './components/AutoCompleteArrayInputAutoSearch/AutocompleteCheckBoxArrayInput';
12
- export { default as AutoCompleteCheckBoxInputAutoSearch } from './components/AutoCompleteArrayInputAutoSearch/AutoCompleteCheckBoxInput';
13
- // TODO: AutocompleteCheckBoxArrayAutoSearch.tsx.wip
14
- export { default as SortableDatagrid } from './components/SortableDataGrid/SortableDataGrid';
15
-
16
- export { default as SearchableSelectCheckboxes } from './components/SearchableSelects/SearchableSelectCheckboxes';
17
- export { default as SingleImageUploader } from './components/Upload/SingleImageUploader'
18
- export { default as ListActive } from './components/ListActive/ListActive';
19
-
20
- // Custom Components
21
-
22
- export { default as JsonColorSelector } from './components/JsonColorSelector/JsonColorSelector'
23
- export { default as JsonColorSelectorEnhanced } from './components/JsonColorSelector/JsonColorSelectorEnhanced'
24
- //export { default as useAsyncColorThief } from ''
25
- export { default as Json } from './components/Json/Json'
26
- export { default as JsonCssVarValues } from './components/JsonColorSelector/JsonCssVarValues'
27
- export { default as NotificationPreferences } from './components/NotificationPreferences/NotificationPreferences'
28
-
29
- // Audit Log Component
30
- export { AuditLog } from './components/AuditLog';
31
- export type { AuditLogProps, ActivityLogRecord } from './components/AuditLog';
32
-
33
- // Notifications Components
34
- export {
35
- NotificationsCenter,
36
- NotificationButton,
37
- NotificationsMenu,
38
- NotificationMenuItem,
39
- ToastNotificationsStack,
40
- DraggableNotificationDialog,
41
- useNotificationsCenter,
42
- formatTimeAgo,
43
- generateNotificationId,
44
- } from './components/notifications';
45
-
46
- export type {
47
- NotificationData,
48
- ToastNotification as NotificationToast,
49
- DialogNotification as NotificationDialog,
50
- NotificationsCenterConfig,
51
- NotificationsCenterLabels,
52
- NotificationsCenterIcons,
53
- NotificationButtonProps,
54
- NotificationsMenuProps,
55
- NotificationMenuItemProps,
56
- ToastNotificationsStackProps,
57
- DraggableNotificationDialogProps,
58
- NotificationsCenterProps,
59
- UseNotificationsCenterReturn,
60
- } from './components/notifications';
61
-
62
- // Hooks - Re-exported from dash-utils for backward compatibility
63
- // @deprecated Import directly from '@dashadmin/dash-utils' instead
64
- export { useDraggable } from './hooks/useDraggable';
65
- export type { DraggablePosition, UseDraggableOptions, UseDraggableReturn } from './hooks/useDraggable';
66
-
67
- export { useNotifications } from './hooks/useNotifications';
68
- export type {
69
- ProcessedNotification,
70
- ToastNotification,
71
- DialogNotification,
72
- UseNotificationsOptions,
73
- UseNotificationsReturn
74
- } from './hooks/useNotifications';
75
-
76
- export { useQuickSearch } from './hooks/useQuickSearch';
77
- export type { UseQuickSearchReturn } from './hooks/useQuickSearch';