@svadmin/ui 0.25.3 → 0.26.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@svadmin/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"description": "Pre-built admin UI components — AdminApp, AutoTable, AutoForm, Sidebar, Layout",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"./components/*": "./src/components/*"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@svadmin/core": "^0.19.
|
|
26
|
+
"@svadmin/core": "^0.19.4",
|
|
27
27
|
"@tanstack/svelte-query": "^6.0.0",
|
|
28
28
|
"highlight.js": "^11.11.1",
|
|
29
29
|
"isomorphic-dompurify": "^3.7.1",
|
package/src/app.css
CHANGED
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
--accent-foreground: oklch(0.2 0.04 265);
|
|
35
35
|
--destructive: oklch(0.577 0.245 27.325);
|
|
36
36
|
--destructive-foreground: oklch(0.985 0 0);
|
|
37
|
-
--border: oklch(0.
|
|
38
|
-
--input: oklch(0.
|
|
37
|
+
--border: oklch(0.935 0.005 264);
|
|
38
|
+
--input: oklch(0.935 0.005 264);
|
|
39
39
|
--ring: oklch(0.488 0.243 264.376);
|
|
40
40
|
--chart-1: oklch(0.488 0.243 264.376);
|
|
41
41
|
--chart-2: oklch(0.6 0.118 184.704);
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
55
55
|
--sidebar-accent: oklch(0.94 0.025 264);
|
|
56
56
|
--sidebar-accent-foreground: oklch(0.33 0.17 264);
|
|
57
|
-
--sidebar-border: oklch(0.
|
|
57
|
+
--sidebar-border: oklch(0.935 0.005 264);
|
|
58
58
|
--sidebar-ring: oklch(0.488 0.243 264.376);
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
--accent-foreground: oklch(0.985 0 0);
|
|
76
76
|
--destructive: oklch(0.704 0.191 22.216);
|
|
77
77
|
--destructive-foreground: oklch(0.985 0 0);
|
|
78
|
-
--border: oklch(0.
|
|
79
|
-
--input: oklch(0.
|
|
78
|
+
--border: oklch(0.27 0.02 265);
|
|
79
|
+
--input: oklch(0.27 0.02 265);
|
|
80
80
|
--ring: oklch(0.55 0.18 264);
|
|
81
81
|
--chart-1: oklch(0.585 0.233 264);
|
|
82
82
|
--chart-2: oklch(0.696 0.17 162.48);
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
96
96
|
--sidebar-accent: oklch(0.488 0.243 264.376 / 10%);
|
|
97
97
|
--sidebar-accent-foreground: oklch(0.7 0.15 264);
|
|
98
|
-
--sidebar-border: oklch(0.
|
|
98
|
+
--sidebar-border: oklch(0.27 0.02 265);
|
|
99
99
|
--sidebar-ring: oklch(0.55 0.18 264);
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -108,6 +108,13 @@
|
|
|
108
108
|
/* Subtle interaction shadow */
|
|
109
109
|
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.04), 0 0 0 1px rgb(0 0 0 / 0.02);
|
|
110
110
|
}
|
|
111
|
+
|
|
112
|
+
/* Stripe-style: form inputs use card background instead of transparent */
|
|
113
|
+
[data-slot="input"],
|
|
114
|
+
[data-slot="textarea"],
|
|
115
|
+
[data-slot="select"] {
|
|
116
|
+
background-color: var(--card);
|
|
117
|
+
}
|
|
111
118
|
|
|
112
119
|
[data-slot="card"] {
|
|
113
120
|
/* Classic Stripe soft shadow: faint ambient + directional drop */
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
size="icon"
|
|
73
73
|
type="button"
|
|
74
74
|
class="absolute right-1 top-1/2 -translate-y-1/2 h-7 w-7 z-[1]"
|
|
75
|
-
onclick={() => showPassword = !showPassword}
|
|
75
|
+
onclick={(e) => { e.preventDefault(); showPassword = !showPassword; }}
|
|
76
76
|
tabindex={-1}
|
|
77
77
|
>
|
|
78
78
|
{#if showPassword}
|