@djangocfg/ui-core 2.1.462 → 2.1.463

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": "@djangocfg/ui-core",
3
- "version": "2.1.462",
3
+ "version": "2.1.463",
4
4
  "description": "Pure React UI component library without Next.js dependencies - for Electron, Vite, CRA apps",
5
5
  "keywords": [
6
6
  "ui-components",
@@ -127,7 +127,7 @@
127
127
  "check": "tsc --noEmit"
128
128
  },
129
129
  "peerDependencies": {
130
- "@djangocfg/i18n": "^2.1.462",
130
+ "@djangocfg/i18n": "^2.1.463",
131
131
  "consola": "^3.4.2",
132
132
  "lucide-react": "^0.545.0",
133
133
  "moment": "^2.30.1",
@@ -205,8 +205,8 @@
205
205
  "@chenglou/pretext": "*"
206
206
  },
207
207
  "devDependencies": {
208
- "@djangocfg/i18n": "^2.1.462",
209
- "@djangocfg/typescript-config": "^2.1.462",
208
+ "@djangocfg/i18n": "^2.1.463",
209
+ "@djangocfg/typescript-config": "^2.1.463",
210
210
  "@types/node": "^25.2.3",
211
211
  "@types/react": "^19.2.15",
212
212
  "@types/react-dom": "^19.2.3",
@@ -23,7 +23,7 @@
23
23
  * / sheet) blurs the page behind it. Theme-agnostic (same both modes);
24
24
  * a preset can override for a heavier/lighter frost, or set `0px` to disable
25
25
  * the blur while keeping the `--overlay` dimming scrim. 2px = a subtle frost. */
26
- --overlay-blur: 2px;
26
+ --overlay-blur: 5px;
27
27
 
28
28
  /* Typography tokens — overridable per preset */
29
29
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
@@ -55,3 +55,19 @@
55
55
  -webkit-backdrop-filter: blur(8px) saturate(160%);
56
56
  background-color: color-mix(in oklab, var(--background) 80%, transparent);
57
57
  }
58
+
59
+ /**
60
+ * PublicLayout desktop navigation dropdown.
61
+ * Keep this as a package utility instead of relying on a consumer's Tailwind
62
+ * source scan: the layout is distributed code, while the dropdown must still
63
+ * frost whatever page is underneath it.
64
+ */
65
+ .nav-dropdown-glass {
66
+ backdrop-filter: blur(var(--overlay-blur, 5px)) saturate(150%);
67
+ -webkit-backdrop-filter: blur(var(--overlay-blur, 5px)) saturate(150%);
68
+ background-color: color-mix(in oklab, var(--background) 55%, transparent);
69
+ }
70
+
71
+ .dark .nav-dropdown-glass {
72
+ background-color: color-mix(in oklab, var(--card) 55%, transparent);
73
+ }