@object-ui/app-shell 4.0.8 → 4.0.9
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 +29 -0
- package/dist/layout/PageHeader.js +1 -1
- package/dist/views/ObjectView.js +2 -2
- package/package.json +24 -24
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @object-ui/app-shell — Changelog
|
|
2
2
|
|
|
3
|
+
## 4.0.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 19c044f: i18n
|
|
8
|
+
- @object-ui/types@4.0.9
|
|
9
|
+
- @object-ui/core@4.0.9
|
|
10
|
+
- @object-ui/i18n@4.0.9
|
|
11
|
+
- @object-ui/react@4.0.9
|
|
12
|
+
- @object-ui/components@4.0.9
|
|
13
|
+
- @object-ui/fields@4.0.9
|
|
14
|
+
- @object-ui/layout@4.0.9
|
|
15
|
+
- @object-ui/data-objectstack@4.0.9
|
|
16
|
+
- @object-ui/auth@4.0.9
|
|
17
|
+
- @object-ui/permissions@4.0.9
|
|
18
|
+
- @object-ui/plugin-calendar@4.0.9
|
|
19
|
+
- @object-ui/plugin-charts@4.0.9
|
|
20
|
+
- @object-ui/plugin-chatbot@4.0.9
|
|
21
|
+
- @object-ui/plugin-dashboard@4.0.9
|
|
22
|
+
- @object-ui/plugin-designer@4.0.9
|
|
23
|
+
- @object-ui/plugin-detail@4.0.9
|
|
24
|
+
- @object-ui/plugin-form@4.0.9
|
|
25
|
+
- @object-ui/plugin-grid@4.0.9
|
|
26
|
+
- @object-ui/plugin-kanban@4.0.9
|
|
27
|
+
- @object-ui/plugin-list@4.0.9
|
|
28
|
+
- @object-ui/plugin-report@4.0.9
|
|
29
|
+
- @object-ui/plugin-view@4.0.9
|
|
30
|
+
- @object-ui/collaboration@4.0.9
|
|
31
|
+
|
|
3
32
|
## 4.0.8
|
|
4
33
|
|
|
5
34
|
### Patch Changes
|
|
@@ -8,6 +8,6 @@ import { cn } from '@object-ui/components';
|
|
|
8
8
|
* the right with consistent gap.
|
|
9
9
|
*/
|
|
10
10
|
export function PageHeader({ title, description, icon, actions, className, 'data-testid': testId, }) {
|
|
11
|
-
return (_jsxs("div", { className: cn('flex justify-between items-center gap-3 py-
|
|
11
|
+
return (_jsxs("div", { className: cn('flex justify-between items-center gap-3 py-1.5 sm:py-2 px-3 sm:px-4 border-b shrink-0 bg-background z-10', className), "data-testid": testId ?? 'page-header', children: [_jsxs("div", { className: "flex items-center gap-2 sm:gap-2.5 min-w-0 flex-1", children: [icon && (_jsx("div", { className: "bg-primary/10 p-1 sm:p-1.5 rounded-md shrink-0 text-primary", children: icon })), _jsxs("div", { className: "min-w-0", children: [_jsx("h1", { className: "text-sm sm:text-base font-semibold tracking-tight text-foreground truncate", children: title }), description && (_jsx("p", { className: "text-xs text-muted-foreground truncate hidden sm:block max-w-md", children: description }))] })] }), actions && (_jsx("div", { className: "flex items-center gap-1.5 sm:gap-2 shrink-0", children: actions }))] }));
|
|
12
12
|
}
|
|
13
13
|
export default PageHeader;
|
package/dist/views/ObjectView.js
CHANGED
|
@@ -1370,12 +1370,12 @@ export function ObjectView({ dataSource, objects, onEdit, externalRefreshKey })
|
|
|
1370
1370
|
showVisibilityGroups: true,
|
|
1371
1371
|
}, onAddView: isAdmin ? handleAddView : undefined, onRenameView: isAdmin ? handleRenameView : undefined, onDeleteView: isAdmin ? handleDeleteView : undefined, onDuplicateView: isAdmin ? handleDuplicateView : undefined, onPinView: isAdmin ? handlePinView : undefined, onSetDefaultView: isAdmin ? handleSetDefaultView : undefined, onConfigView: isAdmin ? handleConfigView : undefined, onManageViews: isAdmin ? () => setManageViewsOpen(true) : undefined }), isAdmin && (_jsx(ManageViewsDialog, { open: manageViewsOpen, onOpenChange: setManageViewsOpen, views: viewTabItems, activeViewId: activeViewId, viewTypeIcons: VIEW_TYPE_ICONS, onRename: handleRenameView, onDelete: handleDeleteView, onDuplicate: handleDuplicateView, onSetDefault: handleSetDefaultView, onSetPinned: handlePinView, onReorder: handleReorderViews, onAddView: handleAddView, onConfigView: handleConfigView }))] }));
|
|
1372
1372
|
})(), _jsxs("div", { className: "flex-1 overflow-hidden relative flex flex-row", children: [navOverlay.mode === 'split' && navOverlay.isOpen ? (_jsx(NavigationOverlay, { ...navOverlay, setIsOpen: (open) => { if (!open)
|
|
1373
|
-
handleDrawerClose(); }, title: objectLabel(objectDef), mainContent: _jsxs("div", { className: "flex-1 min-w-0 relative h-full flex flex-col", children: [_jsx("div", { className: "flex-1 relative overflow-hidden
|
|
1373
|
+
handleDrawerClose(); }, title: objectLabel(objectDef), mainContent: _jsxs("div", { className: "flex-1 min-w-0 relative h-full flex flex-col", children: [_jsx("div", { className: "flex-1 relative overflow-hidden", children: _jsx("div", { className: "h-full overflow-auto", children: _jsx(PluginObjectView, { schema: objectViewSchema, dataSource: dataSource, views: mergedViews, activeViewId: activeViewId, onViewChange: handleViewChange, onEdit: (record) => onEdit?.(record), onRowClick: (record) => {
|
|
1374
1374
|
navOverlay.handleClick(record);
|
|
1375
1375
|
}, renderListView: renderListView, onCreateView: handleCreateView, onViewAction: handleViewAction }) }) }), typeof recordCount === 'number' && (_jsx("div", { "data-testid": "record-count-footer", className: "border-t px-3 sm:px-4 py-1.5 text-xs text-muted-foreground bg-muted/5 shrink-0", children: t('console.objectView.recordCount', { count: recordCount }) }))] }), children: (record) => {
|
|
1376
1376
|
const recordId = (record.id || record._id);
|
|
1377
1377
|
return (_jsx(DrawerDetailContent, { objectDef: objectDef, recordId: recordId, dataSource: dataSource, onEdit: onEdit }));
|
|
1378
|
-
} })) : (_jsx("div", { className: "flex-1 min-w-0 relative h-full flex flex-col", children: _jsx("div", { className: "flex-1 relative overflow-hidden
|
|
1378
|
+
} })) : (_jsx("div", { className: "flex-1 min-w-0 relative h-full flex flex-col", children: _jsx("div", { className: "flex-1 relative overflow-hidden", children: _jsx("div", { className: "h-full overflow-auto", children: _jsx(PluginObjectView, { schema: objectViewSchema, dataSource: dataSource, views: mergedViews, activeViewId: activeViewId, onViewChange: handleViewChange, onEdit: (record) => onEdit?.(record), onRowClick: (record) => {
|
|
1379
1379
|
navOverlay.handleClick(record);
|
|
1380
1380
|
}, renderListView: renderListView, onCreateView: handleCreateView, onViewAction: handleViewAction }) }) }) })), _jsx(MetadataPanel, { open: showDebug && isAdmin, sections: [
|
|
1381
1381
|
{ title: 'View Configuration', data: activeView },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@object-ui/app-shell",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Minimal application shell for ObjectUI - framework-agnostic rendering engine",
|
|
@@ -27,34 +27,34 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"lucide-react": "^1.14.0",
|
|
29
29
|
"sonner": "^2.0.7",
|
|
30
|
-
"@object-ui/auth": "4.0.
|
|
31
|
-
"@object-ui/collaboration": "4.0.
|
|
32
|
-
"@object-ui/
|
|
33
|
-
"@object-ui/
|
|
34
|
-
"@object-ui/
|
|
35
|
-
"@object-ui/
|
|
36
|
-
"@object-ui/
|
|
37
|
-
"@object-ui/
|
|
38
|
-
"@object-ui/
|
|
39
|
-
"@object-ui/
|
|
40
|
-
"@object-ui/
|
|
30
|
+
"@object-ui/auth": "4.0.9",
|
|
31
|
+
"@object-ui/collaboration": "4.0.9",
|
|
32
|
+
"@object-ui/core": "4.0.9",
|
|
33
|
+
"@object-ui/data-objectstack": "4.0.9",
|
|
34
|
+
"@object-ui/fields": "4.0.9",
|
|
35
|
+
"@object-ui/i18n": "4.0.9",
|
|
36
|
+
"@object-ui/layout": "4.0.9",
|
|
37
|
+
"@object-ui/permissions": "4.0.9",
|
|
38
|
+
"@object-ui/react": "4.0.9",
|
|
39
|
+
"@object-ui/types": "4.0.9",
|
|
40
|
+
"@object-ui/components": "4.0.9"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": "^18.0.0 || ^19.0.0",
|
|
44
44
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
45
45
|
"react-router-dom": "^6.0.0 || ^7.0.0",
|
|
46
|
-
"@object-ui/plugin-calendar": "4.0.
|
|
47
|
-
"@object-ui/plugin-charts": "4.0.
|
|
48
|
-
"@object-ui/plugin-chatbot": "4.0.
|
|
49
|
-
"@object-ui/plugin-dashboard": "4.0.
|
|
50
|
-
"@object-ui/plugin-designer": "4.0.
|
|
51
|
-
"@object-ui/plugin-detail": "4.0.
|
|
52
|
-
"@object-ui/plugin-form": "4.0.
|
|
53
|
-
"@object-ui/plugin-grid": "4.0.
|
|
54
|
-
"@object-ui/plugin-kanban": "4.0.
|
|
55
|
-
"@object-ui/plugin-list": "4.0.
|
|
56
|
-
"@object-ui/plugin-report": "4.0.
|
|
57
|
-
"@object-ui/plugin-view": "4.0.
|
|
46
|
+
"@object-ui/plugin-calendar": "4.0.9",
|
|
47
|
+
"@object-ui/plugin-charts": "4.0.9",
|
|
48
|
+
"@object-ui/plugin-chatbot": "4.0.9",
|
|
49
|
+
"@object-ui/plugin-dashboard": "4.0.9",
|
|
50
|
+
"@object-ui/plugin-designer": "4.0.9",
|
|
51
|
+
"@object-ui/plugin-detail": "4.0.9",
|
|
52
|
+
"@object-ui/plugin-form": "4.0.9",
|
|
53
|
+
"@object-ui/plugin-grid": "4.0.9",
|
|
54
|
+
"@object-ui/plugin-kanban": "4.0.9",
|
|
55
|
+
"@object-ui/plugin-list": "4.0.9",
|
|
56
|
+
"@object-ui/plugin-report": "4.0.9",
|
|
57
|
+
"@object-ui/plugin-view": "4.0.9"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/node": "^25.7.0",
|