@object-ui/app-shell 3.3.2 → 4.0.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/CHANGELOG.md +32 -0
- package/dist/layout/AppHeader.js +20 -8
- package/dist/layout/UnifiedSidebar.js +4 -4
- package/dist/providers/MetadataProvider.js +42 -2
- package/dist/utils/getIcon.js +2 -37
- package/dist/views/CreateViewDialog.d.ts +44 -0
- package/dist/views/CreateViewDialog.js +140 -0
- package/dist/views/DashboardView.js +31 -9
- package/dist/views/ObjectView.js +408 -63
- package/dist/views/ViewConfigPanel.d.ts +7 -5
- package/dist/views/ViewConfigPanel.js +9 -6
- package/dist/views/index.d.ts +1 -0
- package/dist/views/index.js +1 -0
- package/package.json +28 -26
- package/src/styles.css +16 -0
package/dist/views/index.d.ts
CHANGED
|
@@ -8,4 +8,5 @@ export { ActionConfirmDialog } from './ActionConfirmDialog';
|
|
|
8
8
|
export { ActionParamDialog } from './ActionParamDialog';
|
|
9
9
|
export { MetadataToggle, MetadataPanel } from './MetadataInspector';
|
|
10
10
|
export { ViewConfigPanel } from './ViewConfigPanel';
|
|
11
|
+
export { CreateViewDialog } from './CreateViewDialog';
|
|
11
12
|
export { DesignDrawer } from './DesignDrawer';
|
package/dist/views/index.js
CHANGED
|
@@ -8,4 +8,5 @@ export { ActionConfirmDialog } from './ActionConfirmDialog';
|
|
|
8
8
|
export { ActionParamDialog } from './ActionParamDialog';
|
|
9
9
|
export { MetadataToggle, MetadataPanel } from './MetadataInspector';
|
|
10
10
|
export { ViewConfigPanel } from './ViewConfigPanel';
|
|
11
|
+
export { CreateViewDialog } from './CreateViewDialog';
|
|
11
12
|
export { DesignDrawer } from './DesignDrawer';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@object-ui/app-shell",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Minimal application shell for ObjectUI - framework-agnostic rendering engine",
|
|
@@ -21,39 +21,40 @@
|
|
|
21
21
|
"types": "./dist/index.d.ts",
|
|
22
22
|
"import": "./dist/index.js",
|
|
23
23
|
"default": "./dist/index.js"
|
|
24
|
-
}
|
|
24
|
+
},
|
|
25
|
+
"./styles.css": "./src/styles.css"
|
|
25
26
|
},
|
|
26
27
|
"dependencies": {
|
|
27
|
-
"lucide-react": "^
|
|
28
|
+
"lucide-react": "^1.14.0",
|
|
28
29
|
"sonner": "^2.0.7",
|
|
29
|
-
"@object-ui/auth": "3.
|
|
30
|
-
"@object-ui/collaboration": "3.
|
|
31
|
-
"@object-ui/components": "3.
|
|
32
|
-
"@object-ui/core": "3.
|
|
33
|
-
"@object-ui/data-objectstack": "3.
|
|
34
|
-
"@object-ui/fields": "3.
|
|
35
|
-
"@object-ui/i18n": "3.
|
|
36
|
-
"@object-ui/layout": "3.
|
|
37
|
-
"@object-ui/permissions": "3.
|
|
38
|
-
"@object-ui/react": "3.
|
|
39
|
-
"@object-ui/types": "3.
|
|
30
|
+
"@object-ui/auth": "3.4.0",
|
|
31
|
+
"@object-ui/collaboration": "3.4.0",
|
|
32
|
+
"@object-ui/components": "3.4.0",
|
|
33
|
+
"@object-ui/core": "3.4.0",
|
|
34
|
+
"@object-ui/data-objectstack": "3.4.0",
|
|
35
|
+
"@object-ui/fields": "3.4.0",
|
|
36
|
+
"@object-ui/i18n": "3.4.0",
|
|
37
|
+
"@object-ui/layout": "3.4.0",
|
|
38
|
+
"@object-ui/permissions": "3.4.0",
|
|
39
|
+
"@object-ui/react": "3.4.0",
|
|
40
|
+
"@object-ui/types": "3.4.0"
|
|
40
41
|
},
|
|
41
42
|
"peerDependencies": {
|
|
42
43
|
"react": "^18.0.0 || ^19.0.0",
|
|
43
44
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
44
45
|
"react-router-dom": "^6.0.0 || ^7.0.0",
|
|
45
|
-
"@object-ui/plugin-calendar": "3.
|
|
46
|
-
"@object-ui/plugin-charts": "3.
|
|
47
|
-
"@object-ui/plugin-chatbot": "3.
|
|
48
|
-
"@object-ui/plugin-dashboard": "3.
|
|
49
|
-
"@object-ui/plugin-designer": "3.
|
|
50
|
-
"@object-ui/plugin-detail": "3.
|
|
51
|
-
"@object-ui/plugin-form": "3.
|
|
52
|
-
"@object-ui/plugin-grid": "3.
|
|
53
|
-
"@object-ui/plugin-kanban": "3.
|
|
54
|
-
"@object-ui/plugin-list": "3.
|
|
55
|
-
"@object-ui/plugin-report": "3.
|
|
56
|
-
"@object-ui/plugin-view": "3.
|
|
46
|
+
"@object-ui/plugin-calendar": "3.4.0",
|
|
47
|
+
"@object-ui/plugin-charts": "3.4.0",
|
|
48
|
+
"@object-ui/plugin-chatbot": "3.4.0",
|
|
49
|
+
"@object-ui/plugin-dashboard": "3.4.0",
|
|
50
|
+
"@object-ui/plugin-designer": "3.4.0",
|
|
51
|
+
"@object-ui/plugin-detail": "3.4.0",
|
|
52
|
+
"@object-ui/plugin-form": "3.4.0",
|
|
53
|
+
"@object-ui/plugin-grid": "3.4.0",
|
|
54
|
+
"@object-ui/plugin-kanban": "3.4.0",
|
|
55
|
+
"@object-ui/plugin-list": "3.4.0",
|
|
56
|
+
"@object-ui/plugin-report": "3.4.0",
|
|
57
|
+
"@object-ui/plugin-view": "3.4.0"
|
|
57
58
|
},
|
|
58
59
|
"devDependencies": {
|
|
59
60
|
"@types/node": "^25.6.0",
|
|
@@ -84,6 +85,7 @@
|
|
|
84
85
|
},
|
|
85
86
|
"files": [
|
|
86
87
|
"dist",
|
|
88
|
+
"src/styles.css",
|
|
87
89
|
"README.md",
|
|
88
90
|
"CHANGELOG.md",
|
|
89
91
|
"LICENSE"
|
package/src/styles.css
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @object-ui/app-shell shared Tailwind v4 styles.
|
|
3
|
+
*
|
|
4
|
+
* Import once per consumer right after `@import 'tailwindcss';`:
|
|
5
|
+
*
|
|
6
|
+
* @import 'tailwindcss';
|
|
7
|
+
* @import '@object-ui/app-shell/styles.css';
|
|
8
|
+
*
|
|
9
|
+
* Centralizing here keeps every host app (console, runner, starter, custom
|
|
10
|
+
* shells) on the same theming/variant contract.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/* Bind Tailwind's `dark:` variant to the `.dark` class on <html> (or any
|
|
14
|
+
* ancestor) instead of the OS `prefers-color-scheme`. Required so the
|
|
15
|
+
* in-app theme toggle fully controls light/dark UI under Tailwind v4. */
|
|
16
|
+
@custom-variant dark (&:where(.dark, .dark *));
|