@nubitio/react-admin 0.10.0 → 0.11.1

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/README.md CHANGED
@@ -64,13 +64,13 @@ export function App() {
64
64
 
65
65
  ## The stack
66
66
 
67
- | Package | What it provides |
68
- | --- | --- |
69
- | `@nubitio/core` | HTTP client, event bus, i18n, Mercure SSE, date utilities |
70
- | `@nubitio/ui` | Visual primitives and theme system |
71
- | `@nubitio/admin` | Responsive admin shell (sidebar, header) |
72
- | `@nubitio/crud` | Declarative CRUD engine: field DSL, forms, datagrids, RBAC |
73
- | `@nubitio/hydra` | Schema discovery and data sources from Hydra/OpenAPI docs |
67
+ | Package | What it provides |
68
+ | ---------------- | ---------------------------------------------------------- |
69
+ | `@nubitio/core` | HTTP client, event bus, i18n, Mercure SSE, date utilities |
70
+ | `@nubitio/ui` | Visual primitives and theme system |
71
+ | `@nubitio/admin` | Responsive admin shell (sidebar, header) |
72
+ | `@nubitio/crud` | Declarative CRUD engine: field DSL, forms, datagrids, RBAC |
73
+ | `@nubitio/hydra` | Schema discovery and data sources from Hydra/OpenAPI docs |
74
74
 
75
75
  Each package is also published separately if you only need part of the stack.
76
76
 
package/dist/style.css CHANGED
@@ -8812,6 +8812,86 @@ html[data-density=comfortable] {
8812
8812
  content: "✓ ";
8813
8813
  font-weight: 700;
8814
8814
  }
8815
+ .nb-notification-panel {
8816
+ display: flex;
8817
+ flex-direction: column;
8818
+ max-height: 420px;
8819
+ width: 320px;
8820
+ }
8821
+
8822
+ .nb-notification-panel__header {
8823
+ align-items: center;
8824
+ border-bottom: 1px solid var(--border-color);
8825
+ display: flex;
8826
+ justify-content: space-between;
8827
+ padding: var(--space-3);
8828
+ }
8829
+
8830
+ .nb-notification-panel__title {
8831
+ font-size: var(--font-size-sm);
8832
+ font-weight: var(--font-weight-semibold);
8833
+ }
8834
+
8835
+ .nb-notification-panel__list {
8836
+ list-style: none;
8837
+ margin: 0;
8838
+ overflow-y: auto;
8839
+ padding: 0;
8840
+ }
8841
+
8842
+ .nb-notification-panel__item-button {
8843
+ background: none;
8844
+ border: 0;
8845
+ border-bottom: 1px solid var(--border-color);
8846
+ cursor: pointer;
8847
+ display: flex;
8848
+ flex-direction: column;
8849
+ gap: 2px;
8850
+ padding: var(--space-3);
8851
+ text-align: left;
8852
+ width: 100%;
8853
+ }
8854
+ .nb-notification-panel__item-button:hover {
8855
+ background: var(--surface-2);
8856
+ }
8857
+
8858
+ .nb-notification-panel__item:last-child .nb-notification-panel__item-button {
8859
+ border-bottom: 0;
8860
+ }
8861
+
8862
+ .nb-notification-panel__item--unread .nb-notification-panel__item-button {
8863
+ position: relative;
8864
+ }
8865
+ .nb-notification-panel__item--unread .nb-notification-panel__item-button::before {
8866
+ background: var(--accent-color);
8867
+ border-radius: 50%;
8868
+ content: "";
8869
+ height: 6px;
8870
+ left: var(--space-2);
8871
+ position: absolute;
8872
+ top: calc(var(--space-3) + 4px);
8873
+ width: 6px;
8874
+ }
8875
+ .nb-notification-panel__item--unread .nb-notification-panel__item-button .nb-notification-panel__item-subject,
8876
+ .nb-notification-panel__item--unread .nb-notification-panel__item-button .nb-notification-panel__item-body,
8877
+ .nb-notification-panel__item--unread .nb-notification-panel__item-button .nb-notification-panel__item-time {
8878
+ padding-left: var(--space-3);
8879
+ }
8880
+
8881
+ .nb-notification-panel__item-subject {
8882
+ font-size: var(--font-size-sm);
8883
+ font-weight: var(--font-weight-medium);
8884
+ }
8885
+
8886
+ .nb-notification-panel__item-body {
8887
+ color: var(--text-secondary);
8888
+ font-size: var(--font-size-sm);
8889
+ }
8890
+
8891
+ .nb-notification-panel__item-time {
8892
+ color: var(--text-secondary);
8893
+ font-size: var(--font-size-xxs);
8894
+ }
8815
8895
  .nb-toast-host {
8816
8896
  position: fixed;
8817
8897
  right: 1rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubitio/react-admin",
3
- "version": "0.10.0",
3
+ "version": "0.11.1",
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/admin": "^0.10.0",
54
- "@nubitio/hydra": "^0.10.0",
55
- "@nubitio/core": "^0.10.0",
56
- "@nubitio/dashboard": "^0.10.0",
57
- "@nubitio/ui": "^0.10.0",
58
- "@nubitio/crud": "^0.10.0"
53
+ "@nubitio/hydra": "^0.11.1",
54
+ "@nubitio/admin": "^0.11.1",
55
+ "@nubitio/core": "^0.11.1",
56
+ "@nubitio/dashboard": "^0.11.1",
57
+ "@nubitio/crud": "^0.11.1",
58
+ "@nubitio/ui": "^0.11.1"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@tanstack/react-query": "^5.0.0",