@profidev/pleiades 1.9.5 → 1.9.6
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/dist/components/form/base-form.svelte +4 -3
- package/dist/components/nav/sidebar/sidebar-header.svelte +2 -2
- package/dist/components/ui/alert/alert-title.svelte +1 -1
- package/dist/components/ui/alert-dialog/alert-dialog-title.svelte +1 -1
- package/dist/components/ui/card/card-title.svelte +1 -1
- package/dist/components/ui/chart/chart-style.svelte +1 -1
- package/dist/components/ui/dialog/dialog-title.svelte +1 -1
- package/dist/components/ui/drawer/drawer-title.svelte +1 -1
- package/dist/components/ui/empty/empty-title.svelte +1 -1
- package/dist/components/ui/field/field-title.svelte +1 -1
- package/dist/components/ui/item/item-title.svelte +1 -1
- package/dist/components/ui/popover/popover-title.svelte +1 -1
- package/dist/components/ui/sheet/sheet-title.svelte +1 -1
- package/dist/components/ui/sidebar/sidebar-menu-button.svelte +1 -1
- package/package.json +9 -9
|
@@ -85,14 +85,13 @@
|
|
|
85
85
|
onUpdate: async ({ form, cancel }) => {
|
|
86
86
|
if (!form.valid) return;
|
|
87
87
|
|
|
88
|
-
isError = false;
|
|
89
88
|
isLoading = true;
|
|
90
|
-
|
|
91
89
|
let ret = await onsubmit(form.data);
|
|
92
|
-
|
|
93
90
|
isLoading = false;
|
|
91
|
+
|
|
94
92
|
if (ret) {
|
|
95
93
|
if (ret.field) {
|
|
94
|
+
isError = true;
|
|
96
95
|
setError(form, ret.field as '', ret.error, undefined);
|
|
97
96
|
} else {
|
|
98
97
|
if (ret.error !== '') {
|
|
@@ -100,6 +99,8 @@
|
|
|
100
99
|
if (!noErrorToast) {
|
|
101
100
|
toast.error(ret.error);
|
|
102
101
|
}
|
|
102
|
+
} else {
|
|
103
|
+
isError = false;
|
|
103
104
|
}
|
|
104
105
|
cancel();
|
|
105
106
|
}
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
{#snippet child({ props })}
|
|
31
31
|
<a href="/" {...props}>
|
|
32
32
|
<div
|
|
33
|
-
class="bg-
|
|
33
|
+
class="bg-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg"
|
|
34
34
|
>
|
|
35
35
|
<AppIcon class={cn('size-4 text-[#9db6ed]', iconClass)} />
|
|
36
36
|
</div>
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
>
|
|
51
51
|
<div
|
|
52
52
|
data-open={!isOpen}
|
|
53
|
-
class="data-[open=true]:bg-
|
|
53
|
+
class="data-[open=true]:bg-primary data-[open=true]:text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg"
|
|
54
54
|
>
|
|
55
55
|
{#if isOpen}
|
|
56
56
|
<PanelLeftClose class="size-6!" />
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
bind:this={ref}
|
|
15
15
|
data-slot="alert-title"
|
|
16
16
|
class={cn(
|
|
17
|
-
'[&_a]:hover:text-foreground font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3',
|
|
17
|
+
'font-heading [&_a]:hover:text-foreground font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3',
|
|
18
18
|
className
|
|
19
19
|
)}
|
|
20
20
|
{...restProps}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
bind:ref
|
|
14
14
|
data-slot="alert-dialog-title"
|
|
15
15
|
class={cn(
|
|
16
|
-
'text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2',
|
|
16
|
+
'font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2',
|
|
17
17
|
className
|
|
18
18
|
)}
|
|
19
19
|
{...restProps}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
bind:this={ref}
|
|
15
15
|
data-slot="field-label"
|
|
16
16
|
class={cn(
|
|
17
|
-
'flex w-fit items-center gap-2 text-sm leading-snug leading-snug font-medium group-data-[disabled=true]/field:opacity-50',
|
|
17
|
+
'font-heading flex w-fit items-center gap-2 text-sm leading-snug leading-snug font-medium group-data-[disabled=true]/field:opacity-50',
|
|
18
18
|
className
|
|
19
19
|
)}
|
|
20
20
|
{...restProps}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
bind:this={ref}
|
|
15
15
|
data-slot="item-title"
|
|
16
16
|
class={cn(
|
|
17
|
-
'line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4',
|
|
17
|
+
'font-heading line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4',
|
|
18
18
|
className
|
|
19
19
|
)}
|
|
20
20
|
{...restProps}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
variant: {
|
|
8
8
|
default: 'hover:bg-sidebar-accent hover:text-sidebar-accent-foreground',
|
|
9
9
|
outline:
|
|
10
|
-
'bg-background hover:bg-sidebar-accent hover:text-sidebar-accent-foreground shadow-[
|
|
10
|
+
'bg-background hover:bg-sidebar-accent hover:text-sidebar-accent-foreground shadow-[0_0_0_1px_var(--sidebar-border)] hover:shadow-[0_0_0_1px_var(--sidebar-accent)]'
|
|
11
11
|
},
|
|
12
12
|
size: {
|
|
13
13
|
default: 'h-8 text-sm',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@profidev/pleiades",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.6",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/Profiidev/pleiades"
|
|
@@ -796,25 +796,25 @@
|
|
|
796
796
|
"zod": "^4.0.0"
|
|
797
797
|
},
|
|
798
798
|
"devDependencies": {
|
|
799
|
-
"@fontsource-variable/
|
|
799
|
+
"@fontsource-variable/geist": "5.2.9",
|
|
800
800
|
"@jsrepo/transform-oxfmt": "^7.0.0",
|
|
801
801
|
"@sveltejs/adapter-auto": "7.0.1",
|
|
802
|
-
"@sveltejs/package": "2.5.
|
|
802
|
+
"@sveltejs/package": "2.5.8",
|
|
803
803
|
"@sveltejs/vite-plugin-svelte": "7.1.2",
|
|
804
804
|
"@tailwindcss/typography": "0.5.19",
|
|
805
805
|
"@types/node": "25.9.1",
|
|
806
806
|
"jsrepo": "3.7.0",
|
|
807
|
-
"oxfmt": "0.
|
|
808
|
-
"oxlint": "1.
|
|
807
|
+
"oxfmt": "0.53.0",
|
|
808
|
+
"oxlint": "1.68.0",
|
|
809
809
|
"oxlint-tsgolint": "0.23.0",
|
|
810
|
-
"prettier-plugin-svelte": "4.0
|
|
810
|
+
"prettier-plugin-svelte": "4.1.0",
|
|
811
811
|
"publint": "0.3.21",
|
|
812
|
-
"shadcn-svelte": "1.
|
|
813
|
-
"svelte-check": "4.
|
|
812
|
+
"shadcn-svelte": "1.3.0",
|
|
813
|
+
"svelte-check": "4.5.0",
|
|
814
814
|
"tailwindcss": "4.3.0",
|
|
815
815
|
"tw-animate-css": "1.4.0",
|
|
816
816
|
"typescript": "6.0.3",
|
|
817
|
-
"vite": "8.0.
|
|
817
|
+
"vite": "8.0.16"
|
|
818
818
|
},
|
|
819
819
|
"peerDependencies": {
|
|
820
820
|
"@sveltejs/kit": "^2.0.0",
|