@nubitio/crud 0.5.7 → 0.5.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/dist/index.cjs CHANGED
@@ -4332,6 +4332,14 @@ const NativeDataGridView = (0, react.forwardRef)((options, ref) => {
4332
4332
  className: "nb-datagrid__hscroll-inner",
4333
4333
  style: { width: layoutWidth }
4334
4334
  })
4335
+ }),
4336
+ isGridLoading && rows.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
4337
+ className: "nb-datagrid__loading-overlay",
4338
+ "aria-live": "polite",
4339
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
4340
+ className: "nb-datagrid__loading-card",
4341
+ children: loadingMessage || t("grid.loading")
4342
+ })
4335
4343
  })
4336
4344
  ]
4337
4345
  }),
@@ -4474,14 +4482,6 @@ const NativeDataGridView = (0, react.forwardRef)((options, ref) => {
4474
4482
  onCancel: () => setConfirmRow(null),
4475
4483
  onConfirm: confirmDelete
4476
4484
  }),
4477
- isGridLoading && rows.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
4478
- className: "nb-datagrid__loading-overlay",
4479
- "aria-live": "polite",
4480
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
4481
- className: "nb-datagrid__loading-card",
4482
- children: loadingMessage || t("grid.loading")
4483
- })
4484
- }),
4485
4485
  openRowMenu && (0, react_dom.createPortal)(isMobile ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
4486
4486
  className: "nb-datagrid__sheet-root",
4487
4487
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
package/dist/index.mjs CHANGED
@@ -4308,6 +4308,14 @@ const NativeDataGridView = forwardRef((options, ref) => {
4308
4308
  className: "nb-datagrid__hscroll-inner",
4309
4309
  style: { width: layoutWidth }
4310
4310
  })
4311
+ }),
4312
+ isGridLoading && rows.length > 0 && /* @__PURE__ */ jsx("div", {
4313
+ className: "nb-datagrid__loading-overlay",
4314
+ "aria-live": "polite",
4315
+ children: /* @__PURE__ */ jsx("div", {
4316
+ className: "nb-datagrid__loading-card",
4317
+ children: loadingMessage || t("grid.loading")
4318
+ })
4311
4319
  })
4312
4320
  ]
4313
4321
  }),
@@ -4450,14 +4458,6 @@ const NativeDataGridView = forwardRef((options, ref) => {
4450
4458
  onCancel: () => setConfirmRow(null),
4451
4459
  onConfirm: confirmDelete
4452
4460
  }),
4453
- isGridLoading && rows.length > 0 && /* @__PURE__ */ jsx("div", {
4454
- className: "nb-datagrid__loading-overlay",
4455
- "aria-live": "polite",
4456
- children: /* @__PURE__ */ jsx("div", {
4457
- className: "nb-datagrid__loading-card",
4458
- children: loadingMessage || t("grid.loading")
4459
- })
4460
- }),
4461
4461
  openRowMenu && createPortal(isMobile ? /* @__PURE__ */ jsxs("div", {
4462
4462
  className: "nb-datagrid__sheet-root",
4463
4463
  children: [/* @__PURE__ */ jsx("button", {
package/dist/style.css CHANGED
@@ -20,7 +20,6 @@
20
20
  flex: 1 1 auto;
21
21
  min-height: 0;
22
22
  overflow: hidden;
23
- position: relative;
24
23
  }
25
24
 
26
25
  .view-wrapper.view-wrapper-datagrid-list {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubitio/crud",
3
- "version": "0.5.7",
3
+ "version": "0.5.9",
4
4
  "type": "module",
5
5
  "description": "Declarative CRUD engine with field DSL, forms, datagrids, RBAC, conditional logic and pluggable adapters (Hydra/REST).",
6
6
  "license": "MIT",
@@ -56,8 +56,8 @@
56
56
  "react-dom": "^19.0.0",
57
57
  "react-i18next": "^14.0.0",
58
58
  "react-router-dom": "^6.0.0",
59
- "@nubitio/core": "^0.5.7",
60
- "@nubitio/ui": "^0.5.7"
59
+ "@nubitio/core": "^0.5.9",
60
+ "@nubitio/ui": "^0.5.9"
61
61
  },
62
62
  "dependencies": {
63
63
  "react-dropzone": "^15.0.0"