compote-ui 0.63.3 → 0.64.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/dist/components/data-table-v9/create-table.svelte.d.ts +3 -0
- package/dist/components/data-table-v9/data-table-utils.d.ts +3 -0
- package/dist/components/data-table-v9/features.d.ts +3 -0
- package/dist/components/data-table-v9/table-view-state.svelte.d.ts +12 -0
- package/dist/components/image-upload/image-upload.svelte +111 -0
- package/dist/components/image-upload/image-upload.svelte.d.ts +4 -0
- package/dist/components/image-upload/types.d.ts +23 -0
- package/dist/components/image-upload/types.js +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/package.json +8 -8
|
@@ -75,6 +75,7 @@ export declare function createTable<T extends RowData>(options: CreateDataTableO
|
|
|
75
75
|
};
|
|
76
76
|
equalsString: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
77
77
|
autoRemove: (val: any) => boolean;
|
|
78
|
+
resolveFilterValue: (val: any) => string;
|
|
78
79
|
};
|
|
79
80
|
inNumberRange: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>, columnId: string, filterValue: [number, number]) => boolean) & {
|
|
80
81
|
resolveFilterValue: (val: [any, any]) => readonly [number, number];
|
|
@@ -82,9 +83,11 @@ export declare function createTable<T extends RowData>(options: CreateDataTableO
|
|
|
82
83
|
};
|
|
83
84
|
includesString: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
84
85
|
autoRemove: (val: any) => boolean;
|
|
86
|
+
resolveFilterValue: (val: any) => string;
|
|
85
87
|
};
|
|
86
88
|
includesStringSensitive: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
87
89
|
autoRemove: (val: any) => boolean;
|
|
90
|
+
resolveFilterValue: (val: any) => string;
|
|
88
91
|
};
|
|
89
92
|
weakEquals: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
90
93
|
autoRemove: (val: any) => boolean;
|
|
@@ -69,6 +69,7 @@ export declare function getRowCells<T extends RowData>(row: Row<DataTableFeature
|
|
|
69
69
|
};
|
|
70
70
|
equalsString: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
71
71
|
autoRemove: (val: any) => boolean;
|
|
72
|
+
resolveFilterValue: (val: any) => string;
|
|
72
73
|
};
|
|
73
74
|
inNumberRange: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>, columnId: string, filterValue: [number, number]) => boolean) & {
|
|
74
75
|
resolveFilterValue: (val: [any, any]) => readonly [number, number];
|
|
@@ -76,9 +77,11 @@ export declare function getRowCells<T extends RowData>(row: Row<DataTableFeature
|
|
|
76
77
|
};
|
|
77
78
|
includesString: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
78
79
|
autoRemove: (val: any) => boolean;
|
|
80
|
+
resolveFilterValue: (val: any) => string;
|
|
79
81
|
};
|
|
80
82
|
includesStringSensitive: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
81
83
|
autoRemove: (val: any) => boolean;
|
|
84
|
+
resolveFilterValue: (val: any) => string;
|
|
82
85
|
};
|
|
83
86
|
weakEquals: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
84
87
|
autoRemove: (val: any) => boolean;
|
|
@@ -46,6 +46,7 @@ export declare const dataTableFeatures: {
|
|
|
46
46
|
};
|
|
47
47
|
equalsString: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends import("@tanstack/table-core").RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
48
48
|
autoRemove: (val: any) => boolean;
|
|
49
|
+
resolveFilterValue: (val: any) => string;
|
|
49
50
|
};
|
|
50
51
|
inNumberRange: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends import("@tanstack/table-core").RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: [number, number]) => boolean) & {
|
|
51
52
|
resolveFilterValue: (val: [any, any]) => readonly [number, number];
|
|
@@ -53,9 +54,11 @@ export declare const dataTableFeatures: {
|
|
|
53
54
|
};
|
|
54
55
|
includesString: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends import("@tanstack/table-core").RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
55
56
|
autoRemove: (val: any) => boolean;
|
|
57
|
+
resolveFilterValue: (val: any) => string;
|
|
56
58
|
};
|
|
57
59
|
includesStringSensitive: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends import("@tanstack/table-core").RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
58
60
|
autoRemove: (val: any) => boolean;
|
|
61
|
+
resolveFilterValue: (val: any) => string;
|
|
59
62
|
};
|
|
60
63
|
weakEquals: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends import("@tanstack/table-core").RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
61
64
|
autoRemove: (val: any) => boolean;
|
|
@@ -66,6 +66,7 @@ export declare function createTableViewState<T extends RowData>(getTable: () =>
|
|
|
66
66
|
};
|
|
67
67
|
equalsString: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
68
68
|
autoRemove: (val: any) => boolean;
|
|
69
|
+
resolveFilterValue: (val: any) => string;
|
|
69
70
|
};
|
|
70
71
|
inNumberRange: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: [number, number]) => boolean) & {
|
|
71
72
|
resolveFilterValue: (val: [any, any]) => readonly [number, number];
|
|
@@ -73,9 +74,11 @@ export declare function createTableViewState<T extends RowData>(getTable: () =>
|
|
|
73
74
|
};
|
|
74
75
|
includesString: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
75
76
|
autoRemove: (val: any) => boolean;
|
|
77
|
+
resolveFilterValue: (val: any) => string;
|
|
76
78
|
};
|
|
77
79
|
includesStringSensitive: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
78
80
|
autoRemove: (val: any) => boolean;
|
|
81
|
+
resolveFilterValue: (val: any) => string;
|
|
79
82
|
};
|
|
80
83
|
weakEquals: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
81
84
|
autoRemove: (val: any) => boolean;
|
|
@@ -130,6 +133,7 @@ export declare function createTableViewState<T extends RowData>(getTable: () =>
|
|
|
130
133
|
};
|
|
131
134
|
equalsString: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
132
135
|
autoRemove: (val: any) => boolean;
|
|
136
|
+
resolveFilterValue: (val: any) => string;
|
|
133
137
|
};
|
|
134
138
|
inNumberRange: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: [number, number]) => boolean) & {
|
|
135
139
|
resolveFilterValue: (val: [any, any]) => readonly [number, number];
|
|
@@ -137,9 +141,11 @@ export declare function createTableViewState<T extends RowData>(getTable: () =>
|
|
|
137
141
|
};
|
|
138
142
|
includesString: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
139
143
|
autoRemove: (val: any) => boolean;
|
|
144
|
+
resolveFilterValue: (val: any) => string;
|
|
140
145
|
};
|
|
141
146
|
includesStringSensitive: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
142
147
|
autoRemove: (val: any) => boolean;
|
|
148
|
+
resolveFilterValue: (val: any) => string;
|
|
143
149
|
};
|
|
144
150
|
weakEquals: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
145
151
|
autoRemove: (val: any) => boolean;
|
|
@@ -195,6 +201,7 @@ export declare function createTableViewState<T extends RowData>(getTable: () =>
|
|
|
195
201
|
};
|
|
196
202
|
equalsString: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
197
203
|
autoRemove: (val: any) => boolean;
|
|
204
|
+
resolveFilterValue: (val: any) => string;
|
|
198
205
|
};
|
|
199
206
|
inNumberRange: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: [number, number]) => boolean) & {
|
|
200
207
|
resolveFilterValue: (val: [any, any]) => readonly [number, number];
|
|
@@ -202,9 +209,11 @@ export declare function createTableViewState<T extends RowData>(getTable: () =>
|
|
|
202
209
|
};
|
|
203
210
|
includesString: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
204
211
|
autoRemove: (val: any) => boolean;
|
|
212
|
+
resolveFilterValue: (val: any) => string;
|
|
205
213
|
};
|
|
206
214
|
includesStringSensitive: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
207
215
|
autoRemove: (val: any) => boolean;
|
|
216
|
+
resolveFilterValue: (val: any) => string;
|
|
208
217
|
};
|
|
209
218
|
weakEquals: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
210
219
|
autoRemove: (val: any) => boolean;
|
|
@@ -259,6 +268,7 @@ export declare function createTableViewState<T extends RowData>(getTable: () =>
|
|
|
259
268
|
};
|
|
260
269
|
equalsString: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
261
270
|
autoRemove: (val: any) => boolean;
|
|
271
|
+
resolveFilterValue: (val: any) => string;
|
|
262
272
|
};
|
|
263
273
|
inNumberRange: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: [number, number]) => boolean) & {
|
|
264
274
|
resolveFilterValue: (val: [any, any]) => readonly [number, number];
|
|
@@ -266,9 +276,11 @@ export declare function createTableViewState<T extends RowData>(getTable: () =>
|
|
|
266
276
|
};
|
|
267
277
|
includesString: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
268
278
|
autoRemove: (val: any) => boolean;
|
|
279
|
+
resolveFilterValue: (val: any) => string;
|
|
269
280
|
};
|
|
270
281
|
includesStringSensitive: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
271
282
|
autoRemove: (val: any) => boolean;
|
|
283
|
+
resolveFilterValue: (val: any) => string;
|
|
272
284
|
};
|
|
273
285
|
weakEquals: (<TFeatures extends import("@tanstack/table-core").TableFeatures, TData extends RowData>(row: import("@tanstack/table-core").Row<TFeatures, TData>, columnId: string, filterValue: unknown) => boolean) & {
|
|
274
286
|
autoRemove: (val: any) => boolean;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { cn } from 'tailwind-variants';
|
|
3
|
+
import * as Menu from '../menu';
|
|
4
|
+
import ImageCropDialog from '../image-crop-dialog/image-crop-dialog.svelte';
|
|
5
|
+
import { fileToDataUrl } from '../../utils/image-processing';
|
|
6
|
+
import { PhUploadSimple, PhImage, PhX } from '../../icons';
|
|
7
|
+
import type { ImageUploadProps } from './types';
|
|
8
|
+
|
|
9
|
+
let {
|
|
10
|
+
value = $bindable(),
|
|
11
|
+
alt = 'Image',
|
|
12
|
+
shape = 'circle',
|
|
13
|
+
class: className,
|
|
14
|
+
disabled = false,
|
|
15
|
+
aspectRatio,
|
|
16
|
+
processOptions,
|
|
17
|
+
uploadLabel = 'Upload image',
|
|
18
|
+
replaceLabel = 'Replace',
|
|
19
|
+
deleteLabel = 'Delete',
|
|
20
|
+
onChange,
|
|
21
|
+
onDelete
|
|
22
|
+
}: ImageUploadProps = $props();
|
|
23
|
+
|
|
24
|
+
let inputEl = $state<HTMLInputElement>();
|
|
25
|
+
let cropOpen = $state(false);
|
|
26
|
+
let cropSrc = $state('');
|
|
27
|
+
|
|
28
|
+
function openPicker() {
|
|
29
|
+
inputEl?.click();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
async function handleInputChange(e: Event) {
|
|
33
|
+
const input = e.currentTarget as HTMLInputElement;
|
|
34
|
+
const file = input.files?.[0];
|
|
35
|
+
input.value = '';
|
|
36
|
+
if (!file) return;
|
|
37
|
+
cropSrc = await fileToDataUrl(file);
|
|
38
|
+
cropOpen = true;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function handleCropConfirm(blob: Blob) {
|
|
42
|
+
cropOpen = false;
|
|
43
|
+
if (value?.startsWith('blob:')) URL.revokeObjectURL(value);
|
|
44
|
+
value = URL.createObjectURL(blob);
|
|
45
|
+
onChange?.(blob);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function handleDelete() {
|
|
49
|
+
if (value?.startsWith('blob:')) URL.revokeObjectURL(value);
|
|
50
|
+
value = undefined;
|
|
51
|
+
onDelete?.();
|
|
52
|
+
}
|
|
53
|
+
</script>
|
|
54
|
+
|
|
55
|
+
<div
|
|
56
|
+
class={cn(
|
|
57
|
+
'relative inline-flex size-24 shrink-0 items-center justify-center overflow-hidden bg-surface-2 text-ink-dim',
|
|
58
|
+
shape === 'circle' ? 'rounded-full' : 'rounded-lg',
|
|
59
|
+
className
|
|
60
|
+
)}
|
|
61
|
+
>
|
|
62
|
+
{#if value}
|
|
63
|
+
<img src={value} {alt} class="h-full w-full object-cover" />
|
|
64
|
+
{:else}
|
|
65
|
+
<PhImage class="size-1/3" />
|
|
66
|
+
{/if}
|
|
67
|
+
|
|
68
|
+
<Menu.Root positioning={{ placement: 'bottom-end' }}>
|
|
69
|
+
<Menu.Trigger
|
|
70
|
+
variant="outline"
|
|
71
|
+
size="icon-sm"
|
|
72
|
+
class={cn(
|
|
73
|
+
'absolute right-1 bottom-1 rounded-full bg-surface-1 shadow-sm',
|
|
74
|
+
disabled && 'pointer-events-none opacity-50'
|
|
75
|
+
)}
|
|
76
|
+
>
|
|
77
|
+
<span class="sr-only">{value ? 'Edit image' : uploadLabel}</span>
|
|
78
|
+
<PhUploadSimple class="size-4" />
|
|
79
|
+
</Menu.Trigger>
|
|
80
|
+
<Menu.Content>
|
|
81
|
+
<Menu.Item value="upload" {disabled} onSelect={openPicker}>
|
|
82
|
+
<PhUploadSimple class="size-4" />
|
|
83
|
+
{value ? replaceLabel : uploadLabel}
|
|
84
|
+
</Menu.Item>
|
|
85
|
+
{#if value}
|
|
86
|
+
<Menu.Item value="delete" {disabled} onSelect={handleDelete}>
|
|
87
|
+
<PhX class="size-4" />
|
|
88
|
+
{deleteLabel}
|
|
89
|
+
</Menu.Item>
|
|
90
|
+
{/if}
|
|
91
|
+
</Menu.Content>
|
|
92
|
+
</Menu.Root>
|
|
93
|
+
</div>
|
|
94
|
+
|
|
95
|
+
<input
|
|
96
|
+
bind:this={inputEl}
|
|
97
|
+
type="file"
|
|
98
|
+
accept="image/*"
|
|
99
|
+
{disabled}
|
|
100
|
+
class="hidden"
|
|
101
|
+
onchange={handleInputChange}
|
|
102
|
+
/>
|
|
103
|
+
|
|
104
|
+
<ImageCropDialog
|
|
105
|
+
bind:open={cropOpen}
|
|
106
|
+
imageSrc={cropSrc}
|
|
107
|
+
{aspectRatio}
|
|
108
|
+
{processOptions}
|
|
109
|
+
onConfirm={handleCropConfirm}
|
|
110
|
+
onCancel={() => (cropOpen = false)}
|
|
111
|
+
/>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ClassValue } from 'tailwind-variants';
|
|
2
|
+
import type { ProcessImageOptions } from '../../utils/image-processing';
|
|
3
|
+
export type ImageUploadShape = 'circle' | 'square';
|
|
4
|
+
export interface ImageUploadProps {
|
|
5
|
+
/** Current image src (data URL, blob URL, or remote URL). Bindable. */
|
|
6
|
+
value?: string;
|
|
7
|
+
alt?: string;
|
|
8
|
+
shape?: ImageUploadShape;
|
|
9
|
+
/** Sizing classes for the preview box, e.g. 'size-24' or 'w-full aspect-video' */
|
|
10
|
+
class?: ClassValue;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/** Aspect ratio locked in the crop dialog (undefined = free) */
|
|
13
|
+
aspectRatio?: number;
|
|
14
|
+
/** Resize/convert options applied when cropping or skipping crop */
|
|
15
|
+
processOptions?: ProcessImageOptions;
|
|
16
|
+
uploadLabel?: string;
|
|
17
|
+
replaceLabel?: string;
|
|
18
|
+
deleteLabel?: string;
|
|
19
|
+
/** Called with the processed Blob after the user crops/confirms a new image */
|
|
20
|
+
onChange?: (blob: Blob) => void;
|
|
21
|
+
/** Called when the user deletes the current image */
|
|
22
|
+
onDelete?: () => void;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -34,6 +34,8 @@ export { default as ImageCropper } from './components/image-cropper/image-croppe
|
|
|
34
34
|
export type { ImageCropperProps, ImageCropperCropData } from './components/image-cropper/types';
|
|
35
35
|
export { default as ImageCropDialog } from './components/image-crop-dialog/image-crop-dialog.svelte';
|
|
36
36
|
export type { ImageCropDialogProps } from './components/image-crop-dialog/types';
|
|
37
|
+
export { default as ImageUpload } from './components/image-upload/image-upload.svelte';
|
|
38
|
+
export type { ImageUploadProps, ImageUploadShape } from './components/image-upload/types';
|
|
37
39
|
export { default as JsonTreeView } from './components/json-tree-view/json-tree-view.svelte';
|
|
38
40
|
export * as Listbox from './components/listbox';
|
|
39
41
|
export { default as NumberInput } from './components/number-input/number-input.svelte';
|
package/dist/index.js
CHANGED
|
@@ -25,6 +25,7 @@ export { default as FileUploadDropzone } from './components/file-upload/file-upl
|
|
|
25
25
|
export { default as FileUpload } from './components/file-upload/file-upload.svelte';
|
|
26
26
|
export { default as ImageCropper } from './components/image-cropper/image-cropper.svelte';
|
|
27
27
|
export { default as ImageCropDialog } from './components/image-crop-dialog/image-crop-dialog.svelte';
|
|
28
|
+
export { default as ImageUpload } from './components/image-upload/image-upload.svelte';
|
|
28
29
|
export { default as JsonTreeView } from './components/json-tree-view/json-tree-view.svelte';
|
|
29
30
|
export * as Listbox from './components/listbox';
|
|
30
31
|
export { default as NumberInput } from './components/number-input/number-input.svelte';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "compote-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.64.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite dev --open",
|
|
@@ -60,12 +60,12 @@
|
|
|
60
60
|
"@iconify-json/ph": "^1.2.2",
|
|
61
61
|
"@sveltejs/adapter-auto": "^7.0.0",
|
|
62
62
|
"@sveltejs/adapter-cloudflare": "^7.2.9",
|
|
63
|
-
"@sveltejs/kit": "^2.
|
|
63
|
+
"@sveltejs/kit": "^2.69.2",
|
|
64
64
|
"@sveltejs/package": "^2.5.8",
|
|
65
|
-
"@sveltejs/vite-plugin-svelte": "7.
|
|
65
|
+
"@sveltejs/vite-plugin-svelte": "7.2.0",
|
|
66
66
|
"@tailwindcss/vite": "^4.3.2",
|
|
67
|
-
"@tanstack/intent": "^0.3.
|
|
68
|
-
"@tanstack/svelte-table": "^9.0.0-beta.
|
|
67
|
+
"@tanstack/intent": "^0.3.5",
|
|
68
|
+
"@tanstack/svelte-table": "^9.0.0-beta.36",
|
|
69
69
|
"@tanstack/svelte-virtual": "^3.13.31",
|
|
70
70
|
"@types/node": "^22.20.0",
|
|
71
71
|
"eslint": "^10.5.0",
|
|
@@ -77,13 +77,13 @@
|
|
|
77
77
|
"prettier-plugin-tailwindcss": "^0.8.0",
|
|
78
78
|
"publint": "^0.3.21",
|
|
79
79
|
"svelte": "^5.56.4",
|
|
80
|
-
"svelte-check": "^4.
|
|
80
|
+
"svelte-check": "^4.7.2",
|
|
81
81
|
"tailwindcss": "^4.3.2",
|
|
82
82
|
"tw-animate-css": "^1.4.0",
|
|
83
83
|
"typescript": "^6.0.3",
|
|
84
|
-
"typescript-eslint": "^8.
|
|
84
|
+
"typescript-eslint": "^8.63.0",
|
|
85
85
|
"unplugin-icons": "^23.0.1",
|
|
86
|
-
"vite": "^8.1.
|
|
86
|
+
"vite": "^8.1.3"
|
|
87
87
|
},
|
|
88
88
|
"keywords": [
|
|
89
89
|
"svelte",
|