@svadmin/ui 0.132.0 → 0.133.0
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/app.css +267 -81
- package/dist/app.theme.css +267 -81
- package/dist/components/AboutSettings.svelte +1 -1
- package/dist/components/BackTop.svelte +62 -8
- package/dist/components/BackTop.svelte.d.ts +8 -3
- package/dist/components/Carousel.svelte +59 -19
- package/dist/components/Carousel.svelte.d.ts +3 -1
- package/dist/components/Collapse.svelte +5 -2
- package/dist/components/EmptyState.svelte +33 -18
- package/dist/components/EmptyState.svelte.d.ts +3 -1
- package/dist/components/Link.svelte +19 -7
- package/dist/components/Link.svelte.d.ts +5 -3
- package/dist/components/NotificationHost.svelte +2 -2
- package/dist/components/RadioGroup.svelte +3 -1
- package/dist/components/RadioGroup.svelte.d.ts +1 -0
- package/dist/components/RangeSlider.svelte +47 -29
- package/dist/components/RangeSlider.svelte.d.ts +1 -0
- package/dist/components/Slider.svelte +39 -18
- package/dist/components/Slider.svelte.d.ts +1 -0
- package/dist/components/Space.svelte +27 -0
- package/dist/components/Space.svelte.d.ts +1 -0
- package/dist/components/Statistic.svelte +11 -2
- package/dist/components/Statistic.svelte.d.ts +2 -0
- package/dist/components/StepsForm.svelte +4 -2
- package/dist/components/TableToolbar.svelte +132 -0
- package/dist/components/TableToolbar.svelte.d.ts +26 -0
- package/dist/components/TagsInput.svelte +47 -2
- package/dist/components/TagsInput.svelte.d.ts +2 -0
- package/dist/components/ui/alert/alert.svelte +42 -1
- package/dist/components/ui/alert/alert.svelte.d.ts +5 -0
- package/dist/components/ui/card/card.svelte +29 -3
- package/dist/components/ui/card/card.svelte.d.ts +5 -2
- package/dist/components/ui/input/input.svelte +74 -17
- package/dist/components/ui/input/input.svelte.d.ts +5 -1
- package/dist/components/ui/progress/progress.svelte +3 -2
- package/dist/components/ui/switch/switch.svelte +17 -3
- package/dist/components/ui/switch/switch.svelte.d.ts +2 -0
- package/dist/components/ui/textarea/textarea.svelte +69 -15
- package/dist/components/ui/textarea/textarea.svelte.d.ts +3 -0
- package/dist/components.css +9 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
generics="Type extends HTMLInputTypeAttribute | undefined = undefined"
|
|
4
4
|
>
|
|
5
5
|
import type { HTMLInputAttributes, HTMLInputTypeAttribute } from "svelte/elements";
|
|
6
|
+
import type { Snippet } from "svelte";
|
|
7
|
+
import { CircleX } from "@lucide/svelte";
|
|
6
8
|
import { useTranslation } from "@svadmin/core/i18n";
|
|
7
9
|
import { definedOptions } from "@svadmin/core/options";
|
|
8
10
|
import { cn, type WithElementRef } from "../../../utils.js";
|
|
@@ -22,8 +24,15 @@
|
|
|
22
24
|
onselect?: HTMLInputAttributes["onselect"];
|
|
23
25
|
};
|
|
24
26
|
|
|
25
|
-
type Props = WithElementRef<Omit<HTMLInputAttributes, "type" | "value" | "size" | "onfocus" | "onblur" | "onselect">> &
|
|
26
|
-
{
|
|
27
|
+
type Props = WithElementRef<Omit<HTMLInputAttributes, "type" | "value" | "size" | "onfocus" | "onblur" | "onselect" | "prefix">> &
|
|
28
|
+
{
|
|
29
|
+
size?: InputSize;
|
|
30
|
+
nativeSize?: number;
|
|
31
|
+
status?: InputStatus | undefined;
|
|
32
|
+
allowClear?: boolean;
|
|
33
|
+
prefix?: Snippet;
|
|
34
|
+
suffix?: Snippet;
|
|
35
|
+
} &
|
|
27
36
|
InputHandlers &
|
|
28
37
|
(Type extends "file"
|
|
29
38
|
? { type: "file"; files?: FileList | undefined; value?: never }
|
|
@@ -38,6 +47,9 @@
|
|
|
38
47
|
size: sizeProp,
|
|
39
48
|
nativeSize,
|
|
40
49
|
status,
|
|
50
|
+
allowClear = false,
|
|
51
|
+
prefix,
|
|
52
|
+
suffix,
|
|
41
53
|
class: className,
|
|
42
54
|
"data-slot": dataSlot = "input",
|
|
43
55
|
"aria-invalid": ariaInvalid,
|
|
@@ -107,8 +119,34 @@
|
|
|
107
119
|
textSelected = readSelected(event.currentTarget);
|
|
108
120
|
onselect?.(event);
|
|
109
121
|
}
|
|
122
|
+
|
|
123
|
+
function clearInput() {
|
|
124
|
+
if (disabled) return;
|
|
125
|
+
value = "" as InputValue;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
const hasWrapper = $derived(!isFileInput && Boolean(allowClear || prefix || suffix));
|
|
110
129
|
</script>
|
|
111
130
|
|
|
131
|
+
{#snippet inputElement()}
|
|
132
|
+
<input
|
|
133
|
+
bind:this={ref}
|
|
134
|
+
data-slot={dataSlot}
|
|
135
|
+
data-size={size}
|
|
136
|
+
data-input-state={inputState}
|
|
137
|
+
aria-invalid={ariaInvalid}
|
|
138
|
+
aria-busy={inputState === "loading" ? "true" : undefined}
|
|
139
|
+
class={cn("svadmin-input", hasWrapper && "border-0 shadow-none bg-transparent focus-visible:ring-0 px-0 h-full", className)}
|
|
140
|
+
{type}
|
|
141
|
+
lang={isDateInput ? i18n.locale : undefined}
|
|
142
|
+
bind:value
|
|
143
|
+
{...attributes}
|
|
144
|
+
onfocus={handleFocus}
|
|
145
|
+
onblur={handleBlur}
|
|
146
|
+
onselect={handleSelect}
|
|
147
|
+
/>
|
|
148
|
+
{/snippet}
|
|
149
|
+
|
|
112
150
|
{#if isFileInput}
|
|
113
151
|
<div
|
|
114
152
|
class={cn("svadmin-file-input", className)}
|
|
@@ -136,21 +174,40 @@
|
|
|
136
174
|
<span class="svadmin-file-input__name">{selectedFileLabel}</span>
|
|
137
175
|
</span>
|
|
138
176
|
</div>
|
|
139
|
-
{:else}
|
|
140
|
-
<
|
|
141
|
-
|
|
142
|
-
|
|
177
|
+
{:else if hasWrapper}
|
|
178
|
+
<div
|
|
179
|
+
class={cn(
|
|
180
|
+
"svadmin-input-wrapper relative inline-flex items-center w-full rounded-sm border border-border bg-card px-2.5 transition-colors focus-within:ring-2 focus-within:ring-ring focus-within:border-ring",
|
|
181
|
+
size === "compact" || size === "mini" ? "h-7 text-xs" : "h-8 text-sm",
|
|
182
|
+
disabled && "opacity-50 cursor-not-allowed bg-muted",
|
|
183
|
+
className
|
|
184
|
+
)}
|
|
185
|
+
data-slot="input-wrapper"
|
|
143
186
|
data-size={size}
|
|
144
187
|
data-input-state={inputState}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
{
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
188
|
+
>
|
|
189
|
+
{#if prefix}
|
|
190
|
+
<span class="svadmin-input-prefix mr-2 text-muted-foreground shrink-0 flex items-center" aria-hidden="true">
|
|
191
|
+
{@render prefix()}
|
|
192
|
+
</span>
|
|
193
|
+
{/if}
|
|
194
|
+
{@render inputElement()}
|
|
195
|
+
{#if allowClear && filled && !disabled}
|
|
196
|
+
<button
|
|
197
|
+
type="button"
|
|
198
|
+
class="svadmin-input-clear text-muted-foreground hover:text-foreground shrink-0 ml-1 p-0.5 rounded-full cursor-pointer outline-none"
|
|
199
|
+
aria-label="Clear input"
|
|
200
|
+
onclick={clearInput}
|
|
201
|
+
>
|
|
202
|
+
<CircleX size={14} aria-hidden="true" />
|
|
203
|
+
</button>
|
|
204
|
+
{/if}
|
|
205
|
+
{#if suffix}
|
|
206
|
+
<span class="svadmin-input-suffix ml-2 text-muted-foreground shrink-0 flex items-center" aria-hidden="true">
|
|
207
|
+
{@render suffix()}
|
|
208
|
+
</span>
|
|
209
|
+
{/if}
|
|
210
|
+
</div>
|
|
211
|
+
{:else}
|
|
212
|
+
{@render inputElement()}
|
|
156
213
|
{/if}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import type { HTMLInputAttributes, HTMLInputTypeAttribute } from "svelte/elements";
|
|
2
|
+
import type { Snippet } from "svelte";
|
|
2
3
|
declare function $$render<Type extends HTMLInputTypeAttribute | undefined = undefined>(): {
|
|
3
|
-
props: Omit<HTMLInputAttributes, "type" | "value" | "size" | "onfocus" | "onblur" | "onselect"> & {
|
|
4
|
+
props: Omit<HTMLInputAttributes, "type" | "value" | "size" | "prefix" | "onfocus" | "onblur" | "onselect"> & {
|
|
4
5
|
ref?: HTMLElement | null;
|
|
5
6
|
} & {
|
|
6
7
|
size?: "default" | "sm" | "lg" | "compact" | "mini";
|
|
7
8
|
nativeSize?: number;
|
|
8
9
|
status?: ("error" | "success" | "loading") | undefined;
|
|
10
|
+
allowClear?: boolean;
|
|
11
|
+
prefix?: Snippet;
|
|
12
|
+
suffix?: Snippet;
|
|
9
13
|
} & {
|
|
10
14
|
onfocus?: HTMLInputAttributes["onfocus"];
|
|
11
15
|
onblur?: HTMLInputAttributes["onblur"];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
+
import { Check, X } from "@lucide/svelte";
|
|
2
3
|
import { cn } from "../../../utils.js";
|
|
3
4
|
|
|
4
5
|
type ProgressStatus = 'normal' | 'success' | 'warning' | 'danger';
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
style:stroke-dashoffset={indeterminate ? circumference * 0.7 : dashOffset}
|
|
60
61
|
/>
|
|
61
62
|
</svg>
|
|
62
|
-
{#if showInfo}<span class="svadmin-progress__info">{indeterminate
|
|
63
|
+
{#if showInfo}<span class="svadmin-progress__info flex items-center justify-center">{#if indeterminate}…{:else if status === "success"}<Check class="size-4 text-success" aria-hidden="true" />{:else if status === "danger"}<X class="size-4 text-destructive" aria-hidden="true" />{:else}{info}{/if}</span>{/if}
|
|
63
64
|
</div>
|
|
64
65
|
{:else}
|
|
65
66
|
<div
|
|
@@ -76,7 +77,7 @@
|
|
|
76
77
|
<div class="svadmin-progress__line-track">
|
|
77
78
|
<div class="svadmin-progress-value" style:transform={indeterminate ? undefined : `translateX(-${100 - percentage}%)`}></div>
|
|
78
79
|
</div>
|
|
79
|
-
<span class="svadmin-progress__info">{indeterminate
|
|
80
|
+
<span class="svadmin-progress__info flex items-center justify-end">{#if indeterminate}…{:else if status === "success"}<Check class="size-3.5 text-success" aria-hidden="true" />{:else if status === "danger"}<X class="size-3.5 text-destructive" aria-hidden="true" />{:else}{info}{/if}</span>
|
|
80
81
|
{:else}
|
|
81
82
|
<div class="svadmin-progress-value" style:transform={indeterminate ? undefined : `translateX(-${100 - percentage}%)`}></div>
|
|
82
83
|
{/if}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { cn, type WithElementRef } from "../../../utils.js";
|
|
3
3
|
import type { HTMLButtonAttributes } from "svelte/elements";
|
|
4
|
+
import { Loader2 } from "@lucide/svelte";
|
|
4
5
|
|
|
5
6
|
type Props = WithElementRef<HTMLButtonAttributes, HTMLButtonElement> & {
|
|
6
7
|
checked?: boolean;
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
loading?: boolean;
|
|
9
10
|
size?: "default" | "small";
|
|
11
|
+
checkedText?: string;
|
|
12
|
+
uncheckedText?: string;
|
|
10
13
|
onCheckedChange?: (checked: boolean) => void;
|
|
11
14
|
};
|
|
12
15
|
|
|
@@ -16,6 +19,8 @@
|
|
|
16
19
|
disabled = false,
|
|
17
20
|
loading = false,
|
|
18
21
|
size = "default",
|
|
22
|
+
checkedText,
|
|
23
|
+
uncheckedText,
|
|
19
24
|
onCheckedChange,
|
|
20
25
|
class: className,
|
|
21
26
|
...restProps
|
|
@@ -41,11 +46,20 @@
|
|
|
41
46
|
data-size={size}
|
|
42
47
|
data-loading={loading ? "true" : undefined}
|
|
43
48
|
disabled={inactive}
|
|
44
|
-
class={cn("svadmin-switch", className)}
|
|
49
|
+
class={cn("svadmin-switch", (checkedText || uncheckedText) && "svadmin-switch--with-text", className)}
|
|
45
50
|
onclick={toggle}
|
|
46
51
|
{...restProps}
|
|
47
52
|
>
|
|
53
|
+
{#if checkedText || uncheckedText}
|
|
54
|
+
<span class={cn("svadmin-switch-text text-xs font-medium select-none leading-none", checked ? "pl-2 pr-6 text-primary-foreground" : "pl-6 pr-2 text-muted-foreground")}>
|
|
55
|
+
{checked ? (checkedText ?? "") : (uncheckedText ?? "")}
|
|
56
|
+
</span>
|
|
57
|
+
{/if}
|
|
48
58
|
<span
|
|
49
|
-
class="svadmin-switch-thumb"
|
|
50
|
-
|
|
59
|
+
class="svadmin-switch-thumb flex items-center justify-center"
|
|
60
|
+
>
|
|
61
|
+
{#if loading}
|
|
62
|
+
<Loader2 class="size-2.5 animate-spin text-muted-foreground" aria-hidden="true" />
|
|
63
|
+
{/if}
|
|
64
|
+
</span>
|
|
51
65
|
</button>
|
|
@@ -5,6 +5,8 @@ type Props = WithElementRef<HTMLButtonAttributes, HTMLButtonElement> & {
|
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
loading?: boolean;
|
|
7
7
|
size?: "default" | "small";
|
|
8
|
+
checkedText?: string;
|
|
9
|
+
uncheckedText?: string;
|
|
8
10
|
onCheckedChange?: (checked: boolean) => void;
|
|
9
11
|
};
|
|
10
12
|
declare const Switch: import("svelte").Component<Props, {}, "ref" | "checked">;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { HTMLTextareaAttributes } from "svelte/elements";
|
|
3
|
+
import { CircleX } from "@lucide/svelte";
|
|
3
4
|
import { cn, type WithElementRef } from "../../../utils.js";
|
|
4
5
|
import { textareaRecipe as uiTextarea } from "../../../recipes.js";
|
|
5
6
|
|
|
@@ -8,6 +9,9 @@
|
|
|
8
9
|
|
|
9
10
|
type Props = WithElementRef<Omit<HTMLTextareaAttributes, "onfocus" | "onblur" | "onselect">> & {
|
|
10
11
|
status?: TextareaStatus | undefined;
|
|
12
|
+
maxLength?: number | undefined;
|
|
13
|
+
showWordLimit?: boolean | undefined;
|
|
14
|
+
allowClear?: boolean | undefined;
|
|
11
15
|
onfocus?: HTMLTextareaAttributes["onfocus"];
|
|
12
16
|
onblur?: HTMLTextareaAttributes["onblur"];
|
|
13
17
|
onselect?: HTMLTextareaAttributes["onselect"];
|
|
@@ -18,6 +22,9 @@
|
|
|
18
22
|
value = $bindable(),
|
|
19
23
|
disabled,
|
|
20
24
|
status,
|
|
25
|
+
maxLength,
|
|
26
|
+
showWordLimit = false,
|
|
27
|
+
allowClear = false,
|
|
21
28
|
class: className,
|
|
22
29
|
"aria-invalid": ariaInvalid,
|
|
23
30
|
onfocus,
|
|
@@ -35,7 +42,9 @@
|
|
|
35
42
|
return node.selectionStart !== node.selectionEnd;
|
|
36
43
|
}
|
|
37
44
|
|
|
38
|
-
const
|
|
45
|
+
const stringValue = $derived(value != null ? String(value) : "");
|
|
46
|
+
const filled = $derived(stringValue.length > 0);
|
|
47
|
+
const charCount = $derived(stringValue.length);
|
|
39
48
|
|
|
40
49
|
const inputState = $derived.by((): TextareaState => {
|
|
41
50
|
if (disabled) return "disabled";
|
|
@@ -64,19 +73,64 @@
|
|
|
64
73
|
textSelected = readSelected(event.currentTarget);
|
|
65
74
|
onselect?.(event);
|
|
66
75
|
}
|
|
76
|
+
|
|
77
|
+
function clearTextarea() {
|
|
78
|
+
if (disabled) return;
|
|
79
|
+
value = "";
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
const hasWrapper = $derived(Boolean(showWordLimit || allowClear));
|
|
67
83
|
</script>
|
|
68
84
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
85
|
+
{#snippet textareaElement()}
|
|
86
|
+
<textarea
|
|
87
|
+
bind:this={ref}
|
|
88
|
+
data-slot="textarea"
|
|
89
|
+
data-input-state={inputState}
|
|
90
|
+
aria-invalid={ariaInvalid}
|
|
91
|
+
aria-busy={inputState === "loading" ? "true" : undefined}
|
|
92
|
+
class={cn(uiTextarea().root, hasWrapper && "w-full border-0 shadow-none bg-transparent focus-visible:ring-0 p-0 resize-y", className)}
|
|
93
|
+
{disabled}
|
|
94
|
+
maxlength={maxLength}
|
|
95
|
+
bind:value
|
|
96
|
+
{...restProps}
|
|
97
|
+
onfocus={handleFocus}
|
|
98
|
+
onblur={handleBlur}
|
|
99
|
+
onselect={handleSelect}
|
|
100
|
+
></textarea>
|
|
101
|
+
{/snippet}
|
|
102
|
+
|
|
103
|
+
{#if hasWrapper}
|
|
104
|
+
<div
|
|
105
|
+
class={cn(
|
|
106
|
+
"svadmin-textarea-wrapper relative flex flex-col w-full rounded-sm border border-border bg-card p-3 transition-colors focus-within:ring-2 focus-within:ring-ring focus-within:border-ring",
|
|
107
|
+
disabled && "opacity-50 cursor-not-allowed bg-muted",
|
|
108
|
+
className
|
|
109
|
+
)}
|
|
110
|
+
data-slot="textarea-wrapper"
|
|
111
|
+
data-input-state={inputState}
|
|
112
|
+
>
|
|
113
|
+
{@render textareaElement()}
|
|
114
|
+
<div class="flex items-center justify-between mt-2 pt-1 text-xs text-muted-foreground select-none">
|
|
115
|
+
<div>
|
|
116
|
+
{#if allowClear && filled && !disabled}
|
|
117
|
+
<button
|
|
118
|
+
type="button"
|
|
119
|
+
class="svadmin-textarea-clear text-muted-foreground hover:text-foreground inline-flex items-center p-0.5 rounded-full cursor-pointer outline-none"
|
|
120
|
+
aria-label="Clear textarea"
|
|
121
|
+
onclick={clearTextarea}
|
|
122
|
+
>
|
|
123
|
+
<CircleX size={14} aria-hidden="true" />
|
|
124
|
+
</button>
|
|
125
|
+
{/if}
|
|
126
|
+
</div>
|
|
127
|
+
{#if showWordLimit}
|
|
128
|
+
<span class="svadmin-textarea-word-limit font-mono text-[11px]" data-slot="textarea-word-limit">
|
|
129
|
+
{charCount}{maxLength !== undefined ? ` / ${maxLength}` : ""}
|
|
130
|
+
</span>
|
|
131
|
+
{/if}
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
{:else}
|
|
135
|
+
{@render textareaElement()}
|
|
136
|
+
{/if}
|
|
@@ -3,6 +3,9 @@ import { type WithElementRef } from "../../../utils.js";
|
|
|
3
3
|
type TextareaStatus = "success" | "error" | "loading";
|
|
4
4
|
type Props = WithElementRef<Omit<HTMLTextareaAttributes, "onfocus" | "onblur" | "onselect">> & {
|
|
5
5
|
status?: TextareaStatus | undefined;
|
|
6
|
+
maxLength?: number | undefined;
|
|
7
|
+
showWordLimit?: boolean | undefined;
|
|
8
|
+
allowClear?: boolean | undefined;
|
|
6
9
|
onfocus?: HTMLTextareaAttributes["onfocus"];
|
|
7
10
|
onblur?: HTMLTextareaAttributes["onblur"];
|
|
8
11
|
onselect?: HTMLTextareaAttributes["onselect"];
|
package/dist/components.css
CHANGED
|
@@ -856,7 +856,15 @@ main {
|
|
|
856
856
|
.svadmin-input::placeholder {
|
|
857
857
|
color: var(--muted-foreground);
|
|
858
858
|
}
|
|
859
|
-
.svadmin-card {
|
|
859
|
+
.svadmin-card--hoverable {
|
|
860
|
+
transition: transform var(--svadmin-motion-fast) var(--svadmin-motion-easing), box-shadow var(--svadmin-motion-fast) var(--svadmin-motion-easing);
|
|
861
|
+
cursor: pointer;
|
|
862
|
+
}
|
|
863
|
+
.svadmin-card--hoverable:hover {
|
|
864
|
+
transform: translateY(-2px);
|
|
865
|
+
box-shadow: var(--svadmin-shadow-surface-hover);
|
|
866
|
+
}
|
|
867
|
+
.svadmin-card {
|
|
860
868
|
display: flex;
|
|
861
869
|
flex-direction: column;
|
|
862
870
|
gap: 1rem;
|
package/dist/index.d.ts
CHANGED
|
@@ -149,7 +149,7 @@ export { default as Image } from './components/Image.svelte';
|
|
|
149
149
|
export { default as ImageCropper } from './components/ImageCropper.svelte';
|
|
150
150
|
export { default as ActivityFeed } from './components/ActivityFeed.svelte';
|
|
151
151
|
export type { ActivityItem } from './components/ActivityFeed.svelte';
|
|
152
|
-
export { default as PresenceAvatarGroup, default as PresenceAvatars } from './components/PresenceAvatarGroup.svelte';
|
|
152
|
+
export { default as PresenceAvatarGroup, default as PresenceAvatars, default as AvatarGroup } from './components/PresenceAvatarGroup.svelte';
|
|
153
153
|
export type { PresenceAvatarGroupProps, PresenceUser } from './components/PresenceAvatarGroup.svelte';
|
|
154
154
|
export { default as PrintableBill } from './components/PrintableBill.svelte';
|
|
155
155
|
export type { BillItem } from './components/PrintableBill.svelte';
|
|
@@ -699,3 +699,4 @@ export { default as PrintTemplateDesigner, default as DocumentPrintStudio, type
|
|
|
699
699
|
export { default as PrintPreviewModal, default as DocumentPrintPreview, type PrintPreviewModalProps, } from './components/PrintPreviewModal.svelte';
|
|
700
700
|
export { numberToChineseCurrency, type PaperSize, type PrintColumn, type PrintTemplateConfig, } from './components/print-utils.js';
|
|
701
701
|
export { default as SsoConnectionStudio, default as IdentityProviderManager, type SsoConnectionStudioProps, type SsoConnection, type SsoProtocol, type SsoStatus, type SsoClaimMapping, } from './components/SsoConnectionStudio.svelte';
|
|
702
|
+
export { default as TableToolbar, default as SearchTableToolbar, type TableToolbarProps } from "./components/TableToolbar.svelte";
|
package/dist/index.js
CHANGED
|
@@ -117,7 +117,7 @@ export { default as MediaLibraryModal } from './components/MediaLibraryModal.sve
|
|
|
117
117
|
export { default as Image } from './components/Image.svelte';
|
|
118
118
|
export { default as ImageCropper } from './components/ImageCropper.svelte';
|
|
119
119
|
export { default as ActivityFeed } from './components/ActivityFeed.svelte';
|
|
120
|
-
export { default as PresenceAvatarGroup, default as PresenceAvatars } from './components/PresenceAvatarGroup.svelte';
|
|
120
|
+
export { default as PresenceAvatarGroup, default as PresenceAvatars, default as AvatarGroup } from './components/PresenceAvatarGroup.svelte';
|
|
121
121
|
export { default as PrintableBill } from './components/PrintableBill.svelte';
|
|
122
122
|
export { default as JsonSchemaForm } from './components/JsonSchemaForm.svelte';
|
|
123
123
|
export { default as MentionsInput, default as Mentions, default as Mention } from './components/MentionsInput.svelte';
|
|
@@ -666,3 +666,5 @@ export { default as PrintPreviewModal, default as DocumentPrintPreview, } from '
|
|
|
666
666
|
export { numberToChineseCurrency, } from './components/print-utils.js';
|
|
667
667
|
// Enterprise SSO Connection Studio & Identity Provider Manager suite
|
|
668
668
|
export { default as SsoConnectionStudio, default as IdentityProviderManager, } from './components/SsoConnectionStudio.svelte';
|
|
669
|
+
// Enterprise table toolbar & action suite
|
|
670
|
+
export { default as TableToolbar, default as SearchTableToolbar } from "./components/TableToolbar.svelte";
|