@praxisui/crud 9.0.0-beta.62 → 9.0.0-beta.64

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-07-09T14:19:11.232Z",
3
+ "generatedAt": "2026-07-09T17:49:20.835Z",
4
4
  "packageName": "@praxisui/crud",
5
- "packageVersion": "9.0.0-beta.62",
5
+ "packageVersion": "9.0.0-beta.64",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 2,
@@ -68,6 +68,14 @@ function getCrudDrawerAdapterToken() {
68
68
  }
69
69
  const CRUD_DRAWER_ADAPTER = getCrudDrawerAdapterToken();
70
70
 
71
+ const DEFAULT_CRUD_DRAWER_MODAL_CONFIG = {
72
+ minWidth: 'min(100vw, 520px)',
73
+ width: 'min(760px, 58vw)',
74
+ height: '100dvh',
75
+ maxWidth: '100vw',
76
+ maxHeight: '100dvh',
77
+ position: { right: '0', top: '0' },
78
+ };
71
79
  function isCrudDebugEnabled$1() {
72
80
  try {
73
81
  if (globalThis.__PRAXIS_DEBUG_CRUD__) {
@@ -168,12 +176,24 @@ class CrudLauncherService {
168
176
  backdropClass: mergedBackdropClasses,
169
177
  autoFocus: modalCfg.autoFocus ?? true,
170
178
  restoreFocus: modalCfg.restoreFocus ?? true,
171
- minWidth: drawerMode ? (modalCfg.minWidth ?? '0') : '360px',
172
- width: drawerMode ? (modalCfg.width ?? 'min(560px, 100vw)') : modalCfg.width,
173
- height: drawerMode ? (modalCfg.height ?? '100dvh') : modalCfg.height,
174
- maxWidth: drawerMode ? (modalCfg.maxWidth ?? '100vw') : '95vw',
175
- maxHeight: drawerMode ? (modalCfg.maxHeight ?? '100dvh') : modalCfg.maxHeight,
176
- position: drawerMode ? (modalCfg.position ?? { right: '0', top: '0' }) : modalCfg.position,
179
+ minWidth: drawerMode
180
+ ? (modalCfg.minWidth ?? DEFAULT_CRUD_DRAWER_MODAL_CONFIG.minWidth)
181
+ : '360px',
182
+ width: drawerMode
183
+ ? (modalCfg.width ?? DEFAULT_CRUD_DRAWER_MODAL_CONFIG.width)
184
+ : modalCfg.width,
185
+ height: drawerMode
186
+ ? (modalCfg.height ?? DEFAULT_CRUD_DRAWER_MODAL_CONFIG.height)
187
+ : modalCfg.height,
188
+ maxWidth: drawerMode
189
+ ? (modalCfg.maxWidth ?? DEFAULT_CRUD_DRAWER_MODAL_CONFIG.maxWidth)
190
+ : '95vw',
191
+ maxHeight: drawerMode
192
+ ? (modalCfg.maxHeight ?? DEFAULT_CRUD_DRAWER_MODAL_CONFIG.maxHeight)
193
+ : modalCfg.maxHeight,
194
+ position: drawerMode
195
+ ? (modalCfg.position ?? DEFAULT_CRUD_DRAWER_MODAL_CONFIG.position)
196
+ : modalCfg.position,
177
197
  ariaLabelledBy: 'crudDialogTitle',
178
198
  data: {
179
199
  action: actionForLaunch,
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@praxisui/crud",
3
- "version": "9.0.0-beta.62",
3
+ "version": "9.0.0-beta.64",
4
4
  "description": "CRUD building blocks for Praxis UI: integrates dynamic forms and tables with unified configuration and services.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
7
7
  "@angular/core": "^21.0.0",
8
- "@praxisui/dynamic-form": "^9.0.0-beta.62",
9
- "@praxisui/table": "^9.0.0-beta.62",
10
- "@praxisui/core": "^9.0.0-beta.62",
11
- "@praxisui/dynamic-fields": "^9.0.0-beta.62",
12
- "@praxisui/settings-panel": "^9.0.0-beta.62",
8
+ "@praxisui/dynamic-form": "^9.0.0-beta.64",
9
+ "@praxisui/table": "^9.0.0-beta.64",
10
+ "@praxisui/core": "^9.0.0-beta.64",
11
+ "@praxisui/dynamic-fields": "^9.0.0-beta.64",
12
+ "@praxisui/settings-panel": "^9.0.0-beta.64",
13
13
  "@angular/cdk": "^21.0.0",
14
14
  "@angular/forms": "^21.0.0",
15
15
  "@angular/material": "^21.0.0",
16
16
  "@angular/router": "^21.0.0",
17
- "@praxisui/ai": "^9.0.0-beta.62",
17
+ "@praxisui/ai": "^9.0.0-beta.64",
18
18
  "rxjs": "~7.8.0"
19
19
  },
20
20
  "dependencies": {