@djangocfg/ui-core 2.1.592 → 2.1.593
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.
|
|
3
|
+
"version": "2.1.593",
|
|
4
4
|
"description": "Pure React UI component library without Next.js dependencies - for Electron, Vite, CRA apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui-components",
|
|
@@ -130,8 +130,8 @@
|
|
|
130
130
|
"check:contrast": "node scripts/check-preset-contrast.mjs"
|
|
131
131
|
},
|
|
132
132
|
"peerDependencies": {
|
|
133
|
-
"@djangocfg/api": "^2.1.
|
|
134
|
-
"@djangocfg/i18n": "^2.1.
|
|
133
|
+
"@djangocfg/api": "^2.1.593",
|
|
134
|
+
"@djangocfg/i18n": "^2.1.593",
|
|
135
135
|
"consola": "^3.4.2",
|
|
136
136
|
"lucide-react": "^0.545.0",
|
|
137
137
|
"moment": "^2.30.1",
|
|
@@ -207,10 +207,10 @@
|
|
|
207
207
|
"vaul": "1.1.2"
|
|
208
208
|
},
|
|
209
209
|
"devDependencies": {
|
|
210
|
-
"@djangocfg/api": "^2.1.
|
|
211
|
-
"@djangocfg/eslint-config": "^2.1.
|
|
212
|
-
"@djangocfg/i18n": "^2.1.
|
|
213
|
-
"@djangocfg/typescript-config": "^2.1.
|
|
210
|
+
"@djangocfg/api": "^2.1.593",
|
|
211
|
+
"@djangocfg/eslint-config": "^2.1.593",
|
|
212
|
+
"@djangocfg/i18n": "^2.1.593",
|
|
213
|
+
"@djangocfg/typescript-config": "^2.1.593",
|
|
214
214
|
"@storybook/react-vite": "^10.5.0",
|
|
215
215
|
"@types/node": "^24.13.3",
|
|
216
216
|
"@types/react": "19.2.15",
|
|
@@ -127,7 +127,7 @@ const DropdownMenuItem = React.forwardRef<
|
|
|
127
127
|
}
|
|
128
128
|
>(({ className, inset, href, variant = "default", children, ...props }, ref) => {
|
|
129
129
|
const classes = cn(
|
|
130
|
-
"relative flex cursor-default select-none items-center gap-2 rounded-[var(--radius-sm)] px-2.5 py-1 text-
|
|
130
|
+
"relative flex cursor-default select-none items-center gap-2 rounded-[var(--radius-sm)] px-2.5 py-1 text-sm outline-none transition-colors focus:bg-foreground/[0.07] data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
131
131
|
"data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive",
|
|
132
132
|
inset && "pl-8",
|
|
133
133
|
className
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
.glass-macos {
|
|
18
18
|
backdrop-filter: blur(20px) saturate(180%);
|
|
19
|
-
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
20
19
|
background-color: color-mix(in oklab, var(--background) 72%, transparent);
|
|
21
20
|
}
|
|
22
21
|
|
|
@@ -27,7 +26,6 @@
|
|
|
27
26
|
*/
|
|
28
27
|
.glass-win11 {
|
|
29
28
|
backdrop-filter: blur(60px) saturate(125%);
|
|
30
|
-
-webkit-backdrop-filter: blur(60px) saturate(125%);
|
|
31
29
|
background-color: color-mix(in oklab, var(--background) 85%, transparent);
|
|
32
30
|
}
|
|
33
31
|
|
|
@@ -38,7 +36,6 @@
|
|
|
38
36
|
*/
|
|
39
37
|
.glass-liquid {
|
|
40
38
|
backdrop-filter: blur(12px) saturate(180%);
|
|
41
|
-
-webkit-backdrop-filter: blur(12px) saturate(180%);
|
|
42
39
|
background-color: color-mix(in oklab, var(--card) 60%, transparent);
|
|
43
40
|
border: 1px solid color-mix(in oklab, var(--foreground) 8%, transparent);
|
|
44
41
|
box-shadow:
|
|
@@ -52,7 +49,6 @@
|
|
|
52
49
|
*/
|
|
53
50
|
.glass-header {
|
|
54
51
|
backdrop-filter: blur(8px) saturate(160%);
|
|
55
|
-
-webkit-backdrop-filter: blur(8px) saturate(160%);
|
|
56
52
|
background-color: color-mix(in oklab, var(--background) 80%, transparent);
|
|
57
53
|
}
|
|
58
54
|
|
|
@@ -64,7 +60,6 @@
|
|
|
64
60
|
*/
|
|
65
61
|
.nav-dropdown-glass {
|
|
66
62
|
backdrop-filter: blur(var(--overlay-blur, 5px)) saturate(150%);
|
|
67
|
-
-webkit-backdrop-filter: blur(var(--overlay-blur, 5px)) saturate(150%);
|
|
68
63
|
background-color: color-mix(in oklab, var(--background) 55%, transparent);
|
|
69
64
|
}
|
|
70
65
|
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
* override it per theme/preset to make the backdrop crisper or softer, or set
|
|
13
13
|
* it to `0px` to disable frosting entirely without touching the scrim color.
|
|
14
14
|
*
|
|
15
|
+
* Only the unprefixed `backdrop-filter` is written: lightningcss (Tailwind v4, Next) adds `-webkit-` itself, and when both are
|
|
16
|
+
* written it DROPS the unprefixed one (verified), leaving Chromium with no blur at all.
|
|
17
|
+
*
|
|
15
18
|
* Plain CSS (NOT a JIT-scanned Tailwind utility) so it compiles regardless of
|
|
16
19
|
* which package's source the Tailwind content scan covers — same rationale as
|
|
17
20
|
* `divider.css`.
|
|
@@ -20,7 +23,6 @@
|
|
|
20
23
|
.bg-overlay {
|
|
21
24
|
/* `--overlay-blur` defaults in base.css; a 0px value cleanly no-ops the blur. */
|
|
22
25
|
backdrop-filter: blur(var(--overlay-blur, 0px));
|
|
23
|
-
-webkit-backdrop-filter: blur(var(--overlay-blur, 0px));
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
/**
|