@nubitio/react-admin 1.4.0 → 2.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.
Files changed (2) hide show
  1. package/dist/style.css +24 -0
  2. package/package.json +7 -7
package/dist/style.css CHANGED
@@ -6698,6 +6698,30 @@ html[data-density=compact] .nb-datagrid .nb-badge {
6698
6698
  border: 0;
6699
6699
  }
6700
6700
  }
6701
+ .nb-datagrid--cards-compact .nb-datagrid__cards {
6702
+ gap: var(--space-2);
6703
+ }
6704
+ .nb-datagrid--cards-compact .nb-datagrid__card-body,
6705
+ .nb-datagrid--cards-compact .nb-datagrid__card--skeleton {
6706
+ gap: var(--space-2);
6707
+ padding: var(--space-2);
6708
+ }
6709
+ .nb-datagrid--cards-compact .nb-datagrid__card--media .nb-datagrid__card-body {
6710
+ padding: 0;
6711
+ }
6712
+ .nb-datagrid--cards-compact .nb-datagrid__card--media .nb-datagrid__card-copy {
6713
+ padding: var(--space-2);
6714
+ }
6715
+ .nb-datagrid--cards-compact .nb-datagrid__card-media {
6716
+ height: 96px;
6717
+ }
6718
+ @media (min-width: 768px) {
6719
+ .nb-datagrid--cards-compact .nb-datagrid__cards {
6720
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
6721
+ padding: var(--space-2);
6722
+ }
6723
+ }
6724
+
6701
6725
  .nb-datagrid__card-title {
6702
6726
  color: var(--text-primary);
6703
6727
  font-size: var(--font-size-sm);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubitio/react-admin",
3
- "version": "1.4.0",
3
+ "version": "2.0.0",
4
4
  "type": "module",
5
5
  "description": "Batteries-included admin stack: core runtime, CRUD, Hydra adapter, and AdminShell.",
6
6
  "license": "MIT",
@@ -50,12 +50,12 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@nubitio/core": "^1.4.0",
54
- "@nubitio/admin": "^1.4.0",
55
- "@nubitio/crud": "^1.4.0",
56
- "@nubitio/hydra": "^1.4.0",
57
- "@nubitio/ui": "^1.4.0",
58
- "@nubitio/dashboard": "^1.4.0"
53
+ "@nubitio/admin": "^2.0.0",
54
+ "@nubitio/core": "^2.0.0",
55
+ "@nubitio/dashboard": "^2.0.0",
56
+ "@nubitio/crud": "^2.0.0",
57
+ "@nubitio/hydra": "^2.0.0",
58
+ "@nubitio/ui": "^2.0.0"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@tanstack/react-query": "^5.0.0",