@hyvor/design 1.0.9 → 1.0.10
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/Button/Button.svelte +10 -2
- package/dist/components/Checkbox/Checkbox.svelte.d.ts +5 -4
- package/dist/components/Dropdown/DropdownContent.svelte +2 -1
- package/dist/components/Dropdown/DropdownContent.svelte.d.ts +6 -5
- package/dist/components/HyvorBar/BarUpdatesList.svelte +3 -1
- package/dist/components/HyvorBar/HyvorBar.svelte +5 -0
- package/dist/components/HyvorBar/HyvorBar.svelte.d.ts +3 -2
- package/dist/components/HyvorBar/Notice/BarLicense.svelte +72 -0
- package/dist/components/HyvorBar/Notice/BarLicense.svelte.d.ts +5 -0
- package/dist/components/HyvorBar/Notice/BarNotice.svelte +27 -0
- package/dist/components/HyvorBar/Notice/BarNotice.svelte.d.ts +6 -0
- package/dist/components/HyvorBar/bar.d.ts +7 -0
- package/dist/components/HyvorBar/bar.js +4 -0
- package/dist/components/IconButton/IconButton.svelte +10 -2
- package/dist/components/IconMessage/IconMessage.svelte.d.ts +4 -3
- package/dist/components/Internationalization/T.svelte +5 -1
- package/dist/components/Loader/LoadButton.svelte.d.ts +10 -9
- package/dist/components/Modal/Modal.svelte +5 -1
- package/dist/components/TextInput/TextInput.svelte +1 -1
- package/dist/components/TextInput/TextInput.svelte.d.ts +8 -7
- package/dist/components/Textarea/Textarea.svelte.d.ts +7 -6
- package/dist/marketing/Docs/Nav/Nav.svelte +2 -1
- package/dist/marketing/Footer/Footer.svelte +2 -1
- package/package.json +6 -4
|
@@ -250,7 +250,11 @@
|
|
|
250
250
|
background-color: var(--orange-light);
|
|
251
251
|
color: var(--orange-dark);
|
|
252
252
|
transition: 0.2s box-shadow;
|
|
253
|
-
--local-hover-shadow-color: color-mix(
|
|
253
|
+
--local-hover-shadow-color: color-mix(
|
|
254
|
+
in srgb,
|
|
255
|
+
var(--orange-light) 40%,
|
|
256
|
+
transparent
|
|
257
|
+
);
|
|
254
258
|
}
|
|
255
259
|
.button.outline {
|
|
256
260
|
border: 1px solid;
|
|
@@ -305,7 +309,11 @@
|
|
|
305
309
|
border-color: var(--accent);
|
|
306
310
|
color: var(--accent);
|
|
307
311
|
transition: 0.2s box-shadow;
|
|
308
|
-
--local-hover-shadow-color: color-mix(
|
|
312
|
+
--local-hover-shadow-color: color-mix(
|
|
313
|
+
in srgb,
|
|
314
|
+
var(--accent-light) 40%,
|
|
315
|
+
transparent
|
|
316
|
+
);
|
|
309
317
|
}
|
|
310
318
|
.button.outline-fill.gray {
|
|
311
319
|
background-color: var(--gray-light);
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
[key: string]: any;
|
|
1
|
+
interface Props {
|
|
3
2
|
checked?: boolean | undefined;
|
|
4
3
|
group?: (number | string)[];
|
|
5
4
|
value?: string | number;
|
|
6
5
|
disabled?: boolean;
|
|
7
6
|
input?: HTMLInputElement;
|
|
8
|
-
children?: import(
|
|
9
|
-
|
|
7
|
+
children?: import('svelte').Snippet;
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}
|
|
10
|
+
declare const Checkbox: import("svelte").Component<Props, {}, "checked" | "group" | "input">;
|
|
10
11
|
type Checkbox = ReturnType<typeof Checkbox>;
|
|
11
12
|
export default Checkbox;
|
|
@@ -67,7 +67,8 @@
|
|
|
67
67
|
}
|
|
68
68
|
} else if (align === 'center') {
|
|
69
69
|
contentWrap.style.left =
|
|
70
|
-
Math.max(triggerRect.left + triggerRect.width / 2 - width / 2, SPACE_AROUND) +
|
|
70
|
+
Math.max(triggerRect.left + triggerRect.width / 2 - width / 2, SPACE_AROUND) +
|
|
71
|
+
'px';
|
|
71
72
|
} else if (align === 'end') {
|
|
72
73
|
contentWrap.style.left = Math.max(triggerRect.right - width, SPACE_AROUND) + 'px';
|
|
73
74
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
interface Props {
|
|
2
2
|
show: boolean;
|
|
3
3
|
width: number;
|
|
4
4
|
relative: boolean;
|
|
5
5
|
closeOnOutsideClick?: boolean;
|
|
6
|
-
align:
|
|
7
|
-
position:
|
|
6
|
+
align: 'start' | 'center' | 'end';
|
|
7
|
+
position: 'left' | 'right' | 'bottom' | 'top';
|
|
8
8
|
trigger: HTMLElement;
|
|
9
|
-
children?: import(
|
|
10
|
-
}
|
|
9
|
+
children?: import('svelte').Snippet;
|
|
10
|
+
}
|
|
11
|
+
declare const DropdownContent: import("svelte").Component<Props, {}, "show">;
|
|
11
12
|
type DropdownContent = ReturnType<typeof DropdownContent>;
|
|
12
13
|
export default DropdownContent;
|
|
@@ -95,7 +95,9 @@
|
|
|
95
95
|
{update.content}
|
|
96
96
|
</div>
|
|
97
97
|
<div class="date">
|
|
98
|
-
{new Intl.DateTimeFormat('en-US').format(
|
|
98
|
+
{new Intl.DateTimeFormat('en-US').format(
|
|
99
|
+
new Date(update.created_at * 1000)
|
|
100
|
+
)}
|
|
99
101
|
</div>
|
|
100
102
|
</div>
|
|
101
103
|
{/snippet}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
import LogoTalk from '../../marketing/Logo/LogoTalk.svelte';
|
|
10
10
|
import LogoBlogs from '../../marketing/Logo/LogoBlogs.svelte';
|
|
11
11
|
import LogoCore from '../../marketing/Logo/LogoCore.svelte';
|
|
12
|
+
import BarNotice from './Notice/BarNotice.svelte';
|
|
13
|
+
import BarLicense from './Notice/BarLicense.svelte';
|
|
12
14
|
|
|
13
15
|
interface Props {
|
|
14
16
|
instance?: string;
|
|
@@ -75,8 +77,11 @@
|
|
|
75
77
|
{getName()}
|
|
76
78
|
</span>
|
|
77
79
|
</a>
|
|
80
|
+
<BarLicense name={getName()} />
|
|
78
81
|
</div>
|
|
79
82
|
<div class="right">
|
|
83
|
+
<BarNotice {instance} />
|
|
84
|
+
|
|
80
85
|
<div class="hidden-on-mobile">
|
|
81
86
|
<BarSupport config={configComplete} {product} mobile={mobileShow} />
|
|
82
87
|
<BarProducts mobile={mobileShow} />
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { type BarConfig, type BarProduct } from './bar.js';
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
3
|
instance?: string;
|
|
4
4
|
product: BarProduct;
|
|
5
5
|
config?: Partial<BarConfig>;
|
|
6
|
-
}
|
|
6
|
+
}
|
|
7
|
+
declare const HyvorBar: import("svelte").Component<Props, {}, "">;
|
|
7
8
|
type HyvorBar = ReturnType<typeof HyvorBar>;
|
|
8
9
|
export default HyvorBar;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import Tag from '../../Tag/Tag.svelte';
|
|
3
|
+
import Tooltip from '../../Tooltip/Tooltip.svelte';
|
|
4
|
+
import { barLicense } from '../bar.js';
|
|
5
|
+
|
|
6
|
+
let { name } = $props();
|
|
7
|
+
|
|
8
|
+
function remainingTrialDays(endsAt: number | undefined | null) {
|
|
9
|
+
if (!endsAt) {
|
|
10
|
+
return 1;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const endsAtDate = new Date(endsAt * 1000);
|
|
14
|
+
const now = new Date();
|
|
15
|
+
|
|
16
|
+
const diffTime = endsAtDate.valueOf() - now.valueOf();
|
|
17
|
+
const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24));
|
|
18
|
+
|
|
19
|
+
return Math.max(diffDays, 1);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
let trialDays = $derived(remainingTrialDays($barLicense?.trial_ends_at));
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
{#if $barLicense}
|
|
26
|
+
<a class="wrap" href="/console/billing">
|
|
27
|
+
{#if $barLicense.type === 'subscription'}
|
|
28
|
+
<Tooltip
|
|
29
|
+
text="Your current subscription plan for {name}. Click to manage it."
|
|
30
|
+
position="bottom"
|
|
31
|
+
>
|
|
32
|
+
<Tag color="blue" size="small">
|
|
33
|
+
{$barLicense.plan}
|
|
34
|
+
</Tag>
|
|
35
|
+
</Tooltip>
|
|
36
|
+
{:else if $barLicense.type === 'custom'}
|
|
37
|
+
<Tooltip
|
|
38
|
+
text="A custom license is applied to your account for {name}."
|
|
39
|
+
position="bottom"
|
|
40
|
+
>
|
|
41
|
+
<Tag color="green" size="small">Custom License</Tag>
|
|
42
|
+
</Tooltip>
|
|
43
|
+
{:else if $barLicense.type === 'expired'}
|
|
44
|
+
<Tooltip
|
|
45
|
+
text="Your license for {name} has expired. Please renew or upgrade to continue using the service."
|
|
46
|
+
position="bottom"
|
|
47
|
+
>
|
|
48
|
+
<Tag color="red" size="small">License Expired</Tag>
|
|
49
|
+
</Tooltip>
|
|
50
|
+
{:else if $barLicense.type === 'trial'}
|
|
51
|
+
<Tooltip
|
|
52
|
+
text="You are currently using a trial license for {name}. It will expire in {trialDays} day{trialDays ===
|
|
53
|
+
1
|
|
54
|
+
? ''
|
|
55
|
+
: 's'}."
|
|
56
|
+
position="bottom"
|
|
57
|
+
>
|
|
58
|
+
<Tag color="orange" size="small">
|
|
59
|
+
Trial License ({trialDays}d)
|
|
60
|
+
</Tag>
|
|
61
|
+
</Tooltip>
|
|
62
|
+
{/if}
|
|
63
|
+
</a>
|
|
64
|
+
{/if}
|
|
65
|
+
|
|
66
|
+
<style>
|
|
67
|
+
.wrap {
|
|
68
|
+
display: inline-flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
margin-left: 15px;
|
|
71
|
+
}
|
|
72
|
+
</style>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { barHasFailedInvoices } from '../bar.js';
|
|
3
|
+
import { Tag, Tooltip } from '../../index.js';
|
|
4
|
+
import IconExclamationCircle from '@hyvor/icons/IconExclamationCircle';
|
|
5
|
+
|
|
6
|
+
interface Props {
|
|
7
|
+
instance?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
let { instance = 'https://hyvor.com' }: Props = $props();
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
{#if $barHasFailedInvoices}
|
|
14
|
+
<Tooltip
|
|
15
|
+
text="You have an unpaid invoice. Please settle to avoid service interruption."
|
|
16
|
+
position="bottom"
|
|
17
|
+
>
|
|
18
|
+
<a href={instance + '/account/billing?pay-failed'}>
|
|
19
|
+
<Tag color="orange">
|
|
20
|
+
{#snippet start()}
|
|
21
|
+
<IconExclamationCircle size={14} />
|
|
22
|
+
{/snippet}
|
|
23
|
+
Unpaid Invoice
|
|
24
|
+
</Tag>
|
|
25
|
+
</a>
|
|
26
|
+
</Tooltip>
|
|
27
|
+
{/if}
|
|
@@ -21,8 +21,15 @@ export interface BarUpdate {
|
|
|
21
21
|
url?: string;
|
|
22
22
|
}
|
|
23
23
|
export type BarUpdateType = 'company' | 'core' | 'talk' | 'blogs' | 'fortguard';
|
|
24
|
+
export interface BarLicense {
|
|
25
|
+
type: 'subscription' | 'trial' | 'custom' | 'expired';
|
|
26
|
+
plan: string | null;
|
|
27
|
+
trial_ends_at: number | null;
|
|
28
|
+
}
|
|
24
29
|
export declare const barUser: import("svelte/store").Writable<BarUser | null>;
|
|
25
30
|
export declare const barUnreadUpdates: import("svelte/store").Writable<number>;
|
|
31
|
+
export declare const barLicense: import("svelte/store").Writable<BarLicense | null>;
|
|
32
|
+
export declare const barHasFailedInvoices: import("svelte/store").Writable<boolean>;
|
|
26
33
|
export declare function loadBarUser(instance: string, product: BarProduct): void;
|
|
27
34
|
export declare class UnreadUpdatesTimeLocalStorage {
|
|
28
35
|
static KEY: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { writable } from 'svelte/store';
|
|
2
2
|
export const barUser = writable(null);
|
|
3
3
|
export const barUnreadUpdates = writable(0);
|
|
4
|
+
export const barLicense = writable(null);
|
|
5
|
+
export const barHasFailedInvoices = writable(false);
|
|
4
6
|
export function loadBarUser(instance, product) {
|
|
5
7
|
const query = new URLSearchParams();
|
|
6
8
|
query.set('product', product);
|
|
@@ -15,6 +17,8 @@ export function loadBarUser(instance, product) {
|
|
|
15
17
|
.then((data) => {
|
|
16
18
|
barUser.set(data.user);
|
|
17
19
|
barUnreadUpdates.set(data.updates.unread);
|
|
20
|
+
barLicense.set(data.billing.license);
|
|
21
|
+
barHasFailedInvoices.set(data.billing.has_failed_invoices);
|
|
18
22
|
if (lastUnreadTime === null) {
|
|
19
23
|
UnreadUpdatesTimeLocalStorage.setNow();
|
|
20
24
|
}
|
|
@@ -144,7 +144,11 @@
|
|
|
144
144
|
.button.fill-light.orange {
|
|
145
145
|
background-color: var(--orange-light);
|
|
146
146
|
color: var(--orange-dark);
|
|
147
|
-
--local-hover-shadow-color: color-mix(
|
|
147
|
+
--local-hover-shadow-color: color-mix(
|
|
148
|
+
in srgb,
|
|
149
|
+
var(--orange-light) 40%,
|
|
150
|
+
transparent
|
|
151
|
+
);
|
|
148
152
|
}
|
|
149
153
|
.button.outline {
|
|
150
154
|
border: 1px solid;
|
|
@@ -186,7 +190,11 @@
|
|
|
186
190
|
background-color: var(--accent-light);
|
|
187
191
|
border-color: var(--accent);
|
|
188
192
|
color: var(--accent);
|
|
189
|
-
--local-hover-shadow-color: color-mix(
|
|
193
|
+
--local-hover-shadow-color: color-mix(
|
|
194
|
+
in srgb,
|
|
195
|
+
var(--accent-light) 40%,
|
|
196
|
+
transparent
|
|
197
|
+
);
|
|
190
198
|
}
|
|
191
199
|
.button.outline-fill.gray {
|
|
192
200
|
background-color: var(--gray-light);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Component, type Snippet } from 'svelte';
|
|
2
|
-
|
|
3
|
-
size?:
|
|
2
|
+
interface Props {
|
|
3
|
+
size?: 'small' | 'medium' | 'large';
|
|
4
4
|
icon?: Component;
|
|
5
5
|
iconSize?: number;
|
|
6
6
|
padding?: number;
|
|
@@ -14,6 +14,7 @@ declare const IconMessage: Component<{
|
|
|
14
14
|
} | Snippet;
|
|
15
15
|
children?: Snippet;
|
|
16
16
|
message?: Snippet | string;
|
|
17
|
-
}
|
|
17
|
+
}
|
|
18
|
+
declare const IconMessage: Component<Props, {}, "">;
|
|
18
19
|
type IconMessage = ReturnType<typeof IconMessage>;
|
|
19
20
|
export default IconMessage;
|
|
@@ -83,7 +83,11 @@
|
|
|
83
83
|
newValue = (chunks: string | string[]) => {
|
|
84
84
|
const children = typeof chunks === 'string' ? chunks : chunks.join('');
|
|
85
85
|
const id =
|
|
86
|
-
key +
|
|
86
|
+
key +
|
|
87
|
+
'-' +
|
|
88
|
+
Math.random().toString(36).substring(7) +
|
|
89
|
+
'-' +
|
|
90
|
+
Date.now().toString();
|
|
87
91
|
componentBindings.set(id, {
|
|
88
92
|
component: component!,
|
|
89
93
|
props: {
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import type { ComponentProps } from 'svelte';
|
|
2
2
|
import Button from '../Button/Button.svelte';
|
|
3
3
|
import Loader from './Loader.svelte';
|
|
4
|
+
interface Props {
|
|
5
|
+
text: string;
|
|
6
|
+
show: boolean;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
height?: number;
|
|
9
|
+
divProps?: Record<string, any>;
|
|
10
|
+
loaderProps?: ComponentProps<typeof Loader>;
|
|
11
|
+
buttonProps?: ComponentProps<typeof Button>;
|
|
12
|
+
}
|
|
4
13
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
5
14
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
6
15
|
$$bindings?: Bindings;
|
|
@@ -14,15 +23,7 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
14
23
|
};
|
|
15
24
|
z_$$bindings?: Bindings;
|
|
16
25
|
}
|
|
17
|
-
declare const LoadButton: $$__sveltets_2_IsomorphicComponent<{
|
|
18
|
-
text: string;
|
|
19
|
-
show: boolean;
|
|
20
|
-
loading: boolean;
|
|
21
|
-
height?: number;
|
|
22
|
-
divProps?: Record<string, any>;
|
|
23
|
-
loaderProps?: ComponentProps<typeof Loader>;
|
|
24
|
-
buttonProps?: ComponentProps<typeof Button>;
|
|
25
|
-
}, {
|
|
26
|
+
declare const LoadButton: $$__sveltets_2_IsomorphicComponent<Props, {
|
|
26
27
|
click: any;
|
|
27
28
|
} & {
|
|
28
29
|
[evt: string]: CustomEvent<any>;
|
|
@@ -102,7 +102,11 @@
|
|
|
102
102
|
</div>
|
|
103
103
|
|
|
104
104
|
<div class="close-wrap">
|
|
105
|
-
<IconButton
|
|
105
|
+
<IconButton
|
|
106
|
+
variant="invisible"
|
|
107
|
+
on:click={handleCancel}
|
|
108
|
+
aria-label="Close modal"
|
|
109
|
+
>
|
|
106
110
|
<IconX size={25} />
|
|
107
111
|
</IconButton>
|
|
108
112
|
</div>
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
size?: "small" | "medium" | "large" | "x-small";
|
|
1
|
+
interface Props {
|
|
2
|
+
state?: 'default' | 'error' | 'success' | 'warning';
|
|
3
|
+
size?: 'small' | 'medium' | 'large' | 'x-small';
|
|
5
4
|
block?: boolean;
|
|
6
5
|
value?: any;
|
|
7
6
|
input?: HTMLInputElement;
|
|
8
|
-
start?: import(
|
|
9
|
-
end?: import(
|
|
7
|
+
start?: import('svelte').Snippet;
|
|
8
|
+
end?: import('svelte').Snippet;
|
|
10
9
|
select?: boolean;
|
|
11
10
|
selectInput?: HTMLSelectElement;
|
|
12
|
-
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}
|
|
13
|
+
declare const TextInput: import("svelte").Component<Props, {}, "value" | "input" | "selectInput">;
|
|
13
14
|
type TextInput = ReturnType<typeof TextInput>;
|
|
14
15
|
export default TextInput;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
[key: string]: any;
|
|
1
|
+
interface Props {
|
|
3
2
|
value?: any;
|
|
4
3
|
block?: boolean;
|
|
5
4
|
rows?: number;
|
|
6
5
|
cols?: number;
|
|
7
|
-
state?:
|
|
6
|
+
state?: 'default' | 'success' | 'warning' | 'error';
|
|
8
7
|
textarea?: HTMLTextAreaElement;
|
|
9
|
-
start?: import(
|
|
10
|
-
end?: import(
|
|
11
|
-
|
|
8
|
+
start?: import('svelte').Snippet;
|
|
9
|
+
end?: import('svelte').Snippet;
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}
|
|
12
|
+
declare const Textarea: import("svelte").Component<Props, {}, "value" | "textarea">;
|
|
12
13
|
type Textarea = ReturnType<typeof Textarea>;
|
|
13
14
|
export default Textarea;
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
const category =
|
|
30
|
-
(activeEl.closest('.nav-category')?.querySelector('.name') as HTMLElement)?.innerText ||
|
|
30
|
+
(activeEl.closest('.nav-category')?.querySelector('.name') as HTMLElement)?.innerText ||
|
|
31
|
+
null;
|
|
31
32
|
|
|
32
33
|
active = {
|
|
33
34
|
name: activeEl.innerText,
|
|
@@ -89,7 +89,8 @@
|
|
|
89
89
|
<a href={social.youtube} target="_blank" rel="nofollow"><IconYoutube /></a>
|
|
90
90
|
{/if}
|
|
91
91
|
{#if social.linkedin}
|
|
92
|
-
<a href={social.linkedin} target="_blank" rel="nofollow"><IconLinkedin /></a
|
|
92
|
+
<a href={social.linkedin} target="_blank" rel="nofollow"><IconLinkedin /></a
|
|
93
|
+
>
|
|
93
94
|
{/if}
|
|
94
95
|
</div>
|
|
95
96
|
</div>
|
package/package.json
CHANGED
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
"build": "vite build && npm run package",
|
|
8
8
|
"preview": "vite preview",
|
|
9
9
|
"package": "svelte-kit sync && svelte-package && publint",
|
|
10
|
+
"package:watch": "svelte-package --watch",
|
|
10
11
|
"prepublishOnly": "npm run package",
|
|
11
12
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
12
|
-
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
|
13
|
+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
14
|
+
"check:prettier": "prettier --check ."
|
|
13
15
|
},
|
|
14
16
|
"exports": {
|
|
15
17
|
"./components": {
|
|
@@ -35,8 +37,8 @@
|
|
|
35
37
|
"@sveltejs/adapter-static": "^3.0.0",
|
|
36
38
|
"@sveltejs/package": "^2.3.7",
|
|
37
39
|
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
|
38
|
-
"prettier": "
|
|
39
|
-
"prettier-plugin-svelte": "
|
|
40
|
+
"prettier": "3.4.2",
|
|
41
|
+
"prettier-plugin-svelte": "3.3.3",
|
|
40
42
|
"publint": "^0.1.9",
|
|
41
43
|
"svelte": "^5.0.0",
|
|
42
44
|
"svelte-check": "^4.0.0",
|
|
@@ -57,5 +59,5 @@
|
|
|
57
59
|
"publishConfig": {
|
|
58
60
|
"access": "public"
|
|
59
61
|
},
|
|
60
|
-
"version": "1.0.
|
|
62
|
+
"version": "1.0.10"
|
|
61
63
|
}
|