@nubitio/crud 0.5.6 → 0.5.7

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/dist/style.css +14 -9
  2. package/package.json +3 -3
package/dist/style.css CHANGED
@@ -415,9 +415,13 @@
415
415
  .nb-datagrid__row:hover td {
416
416
  background: var(--grid-row-hover-bg, var(--surface-2));
417
417
  }
418
+ .nb-datagrid__row:focus-visible {
419
+ outline: 2px solid var(--focus-ring-color);
420
+ outline-offset: -2px;
421
+ }
418
422
  .nb-datagrid__row:focus-visible td {
419
423
  background: color-mix(in srgb, var(--accent-color) 7%, var(--surface-1));
420
- box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-color) 34%, transparent);
424
+ box-shadow: none;
421
425
  }
422
426
  .nb-datagrid__row.nb-datagrid__row--selected td {
423
427
  background: var(--grid-row-selected-bg, var(--surface-2));
@@ -1234,7 +1238,7 @@ html[data-density=compact] .nb-datagrid .nb-badge {
1234
1238
  inset: 0;
1235
1239
  justify-content: center;
1236
1240
  position: absolute;
1237
- z-index: 3;
1241
+ z-index: 10;
1238
1242
  }
1239
1243
 
1240
1244
  .nb-datagrid__loading-card {
@@ -3291,6 +3295,10 @@ html[data-density=compact] .nb-crud-page-shell__footer {
3291
3295
  gap: var(--space-1);
3292
3296
  padding: var(--space-2) var(--space-3);
3293
3297
  }
3298
+ .nb-audit-trail-drawer .nb-drawer__body {
3299
+ padding: var(--space-4) var(--space-5) var(--space-6);
3300
+ }
3301
+
3294
3302
  .nb-audit-trail {
3295
3303
  display: flex;
3296
3304
  flex-direction: column;
@@ -3342,12 +3350,9 @@ html[data-density=compact] .nb-crud-page-shell__footer {
3342
3350
  }
3343
3351
 
3344
3352
  .nb-audit-trail__change {
3345
- background: var(--surface-2);
3346
- border: 1px solid var(--border-color);
3347
- border-radius: var(--radius-md, 6px);
3348
3353
  display: grid;
3349
3354
  gap: var(--space-1);
3350
- padding: var(--space-2) var(--space-3);
3355
+ padding: 0;
3351
3356
  }
3352
3357
 
3353
3358
  .nb-audit-trail__field {
@@ -3372,13 +3377,13 @@ html[data-density=compact] .nb-crud-page-shell__footer {
3372
3377
  }
3373
3378
 
3374
3379
  .nb-audit-trail__value--before {
3375
- color: var(--danger-color);
3380
+ color: var(--status-danger-text, var(--error-color));
3376
3381
  text-decoration: line-through;
3377
- text-decoration-color: color-mix(in srgb, var(--danger-color) 55%, transparent);
3382
+ text-decoration-color: color-mix(in srgb, var(--error-color) 55%, transparent);
3378
3383
  }
3379
3384
 
3380
3385
  .nb-audit-trail__value--after {
3381
- color: var(--success-color);
3386
+ color: var(--status-success-text, var(--success-color));
3382
3387
  font-weight: 500;
3383
3388
  }
3384
3389
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubitio/crud",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
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.6",
60
- "@nubitio/ui": "^0.5.6"
59
+ "@nubitio/core": "^0.5.7",
60
+ "@nubitio/ui": "^0.5.7"
61
61
  },
62
62
  "dependencies": {
63
63
  "react-dropzone": "^15.0.0"