@nordmanai/nif 0.2.16 → 0.2.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nordmanai/nif",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "description": "Nordman Interface Framework: the one UI and UX system for every Nordman product. Base UI, in the shadcn composition, styled by NIF tokens.",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.15",
2
+ "version": "0.2.16",
3
3
  "versions": {
4
4
  "@animate-ui/react": "^2.4.2",
5
5
  "@base-ui/react": "^1.9.0",
@@ -2,6 +2,8 @@
2
2
  .nm-sidebar-provider {
3
3
  --nm-sidebar-width: var(--nm-width-sidebar);
4
4
  --nm-sidebar-width-icon: var(--nm-width-sidebar-icon);
5
+ /* The sidebar shares the page's background; only its divider separates it. Floating and inset variants keep their raised card. */
6
+ --nm-sidebar-bg: var(--nm-canvas);
5
7
  position: relative;
6
8
  box-sizing: border-box;
7
9
  display: flex;
@@ -39,7 +41,7 @@
39
41
  min-height: 0;
40
42
  overflow: hidden;
41
43
  color: var(--nm-fg);
42
- background: var(--nm-raised);
44
+ background: var(--nm-sidebar-bg);
43
45
  transition:
44
46
  width var(--reveal) var(--ease),
45
47
  padding var(--reveal) var(--ease);
@@ -97,7 +99,7 @@
97
99
  inset-inline-start: 0;
98
100
  width: var(--nm-sidebar-width);
99
101
  border-inline-end: var(--nm-rule) solid var(--nm-border-strong);
100
- background: var(--nm-raised);
102
+ background: var(--nm-sidebar-bg);
101
103
  }
102
104
  .nm-sidebar[data-side='right'][data-peek] .nm-sidebar__inner {
103
105
  inset-inline-start: auto;