@glimstone/svelte 4.9.2 → 5.0.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/AngleSlider.svelte +33 -9
- package/dist/AngleSlider.svelte.d.ts +1 -1
- package/dist/Avatar.svelte +1 -1
- package/dist/Badge.svelte +3 -7
- package/dist/Badge.svelte.d.ts +2 -5
- package/dist/Card.svelte +5 -1
- package/dist/Card.svelte.d.ts +3 -0
- package/dist/Chart.svelte +84 -0
- package/dist/Chart.svelte.d.ts +19 -0
- package/dist/ChartLegend.svelte +19 -0
- package/dist/ChartLegend.svelte.d.ts +7 -0
- package/dist/Checkbox.svelte +16 -3
- package/dist/ColorPicker.svelte +49 -4
- package/dist/ColorPicker.svelte.d.ts +2 -0
- package/dist/Combobox.svelte +12 -4
- package/dist/ConfirmDialog.svelte +8 -2
- package/dist/ContextMenu.svelte +4 -2
- package/dist/ContextMenu.svelte.d.ts +2 -0
- package/dist/DatePicker.svelte +21 -11
- package/dist/FieldErrorLine.svelte +24 -0
- package/dist/FieldErrorLine.svelte.d.ts +7 -0
- package/dist/FieldRow.svelte +16 -4
- package/dist/FileUpload.svelte +14 -4
- package/dist/FileUpload.svelte.d.ts +2 -0
- package/dist/FortressPermissions.svelte +3 -1
- package/dist/HoverCard.svelte +34 -5
- package/dist/HoverCard.svelte.d.ts +12 -2
- package/dist/IconTipButton.svelte +6 -2
- package/dist/IconTipButton.svelte.d.ts +3 -0
- package/dist/InfoBubble.svelte +1 -1
- package/dist/ListRow.svelte +71 -6
- package/dist/ListRow.svelte.d.ts +17 -2
- package/dist/ListSelect.svelte +7 -2
- package/dist/ListTable.svelte +33 -15
- package/dist/ListTable.svelte.d.ts +5 -0
- package/dist/MenuSelect.svelte +11 -3
- package/dist/Meter.svelte +21 -3
- package/dist/Meter.svelte.d.ts +4 -0
- package/dist/MultiSelect.svelte +2 -1
- package/dist/NotifyCard.svelte +1 -1
- package/dist/NumberField.svelte +2 -2
- package/dist/PasswordField.svelte +7 -6
- package/dist/PinInput.svelte +4 -2
- package/dist/Rating.svelte +10 -1
- package/dist/RevealEye.svelte +17 -0
- package/dist/RevealEye.svelte.d.ts +6 -0
- package/dist/SearchHit.svelte +10 -0
- package/dist/SearchHit.svelte.d.ts +7 -0
- package/dist/Selector.svelte +28 -4
- package/dist/Selector.svelte.d.ts +4 -3
- package/dist/SettingsNav.svelte +152 -0
- package/dist/SettingsNav.svelte.d.ts +46 -0
- package/dist/SignInTile.svelte +19 -14
- package/dist/SkeletonRow.svelte +8 -2
- package/dist/SkeletonRow.svelte.d.ts +4 -0
- package/dist/Slider.svelte +1 -0
- package/dist/Sparkline.svelte +24 -0
- package/dist/Sparkline.svelte.d.ts +11 -0
- package/dist/StatusSummary.svelte +55 -0
- package/dist/StatusSummary.svelte.d.ts +18 -0
- package/dist/SubCard.svelte +16 -16
- package/dist/SubCard.svelte.d.ts +3 -3
- package/dist/TextArea.svelte +13 -3
- package/dist/TextField.svelte +2 -2
- package/dist/TimeDial.svelte +74 -0
- package/dist/TimeDial.svelte.d.ts +13 -0
- package/dist/TimePicker.svelte +57 -0
- package/dist/TimePicker.svelte.d.ts +19 -0
- package/dist/TimeRangePicker.svelte +52 -0
- package/dist/TimeRangePicker.svelte.d.ts +16 -0
- package/dist/TimeShell.svelte +145 -0
- package/dist/TimeShell.svelte.d.ts +16 -0
- package/dist/Timer.svelte +6 -1
- package/dist/TipBubble.svelte +1 -1
- package/dist/ToastCard.svelte +7 -3
- package/dist/ToastCard.svelte.d.ts +2 -0
- package/dist/ToastViewport.svelte +6 -3
- package/dist/Toggle.svelte +3 -1
- package/dist/Tour.svelte +8 -2
- package/dist/Window.svelte +5 -3
- package/dist/Window.svelte.d.ts +3 -1
- package/dist/bubble.svelte.d.ts +12 -1
- package/dist/bubble.svelte.js +13 -5
- package/dist/engines.svelte.d.ts +7 -1
- package/dist/engines.svelte.js +13 -1
- package/dist/glyphs.d.ts +3 -0
- package/dist/glyphs.js +3 -0
- package/dist/index.d.ts +13 -7
- package/dist/index.js +9 -4
- package/package.json +2 -2
- package/dist/AboutCard.svelte +0 -116
- package/dist/AboutCard.svelte.d.ts +0 -40
- package/dist/DropdownListbox.svelte +0 -178
- package/dist/DropdownListbox.svelte.d.ts +0 -23
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { TimePickerText } from "@glimstone/core";
|
|
2
|
+
export interface TimeRangePickerProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
/** The start and the end as "08:00", each null while one of its segments is empty, bound with `bind:value`. */
|
|
5
|
+
value: [string | null, string | null];
|
|
6
|
+
onChange?: (value: [string | null, string | null]) => void;
|
|
7
|
+
/** How far an arrow moves the minutes. */
|
|
8
|
+
minuteStep?: number;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/** The segments' names, the halves' and the word between them. English where left out. */
|
|
11
|
+
text?: Partial<TimePickerText>;
|
|
12
|
+
class?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const TimeRangePicker: import("svelte").Component<TimeRangePickerProps, {}, "value">;
|
|
15
|
+
type TimeRangePicker = ReturnType<typeof TimeRangePicker>;
|
|
16
|
+
export default TimeRangePicker;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
<script lang="ts" module>
|
|
2
|
+
import type { Snippet } from "svelte";
|
|
3
|
+
import type { TimePickerText, TimeSegmentValue } from "@glimstone/core";
|
|
4
|
+
|
|
5
|
+
export interface TimeShellProps {
|
|
6
|
+
"data-glim": string;
|
|
7
|
+
label?: string;
|
|
8
|
+
values: TimeSegmentValue[];
|
|
9
|
+
onValues: (values: TimeSegmentValue[]) => void;
|
|
10
|
+
minuteStep?: number;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
text?: Partial<TimePickerText>;
|
|
13
|
+
class?: string;
|
|
14
|
+
children?: Snippet;
|
|
15
|
+
}
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<script lang="ts">
|
|
19
|
+
import { TIME_PICKER_TEXT, dialSegment, faceOf, segmentText, stepSegment, timeKey, timeWheel, wheelSegments } from "@glimstone/core";
|
|
20
|
+
import { useFieldName } from "./fieldName.js";
|
|
21
|
+
import TimeDial from "./TimeDial.svelte";
|
|
22
|
+
|
|
23
|
+
// The field TimePicker and TimeRangePicker share: one or two times, each two
|
|
24
|
+
// segments, whose keys, wheel and clock face come from timePicker.ts in the
|
|
25
|
+
// core.
|
|
26
|
+
let { "data-glim": glim, label, values, onValues, minuteStep = 1, disabled = false, text, class: className, children }: TimeShellProps = $props();
|
|
27
|
+
|
|
28
|
+
const fieldName = useFieldName(() => label);
|
|
29
|
+
const words = $derived({ ...TIME_PICKER_TEXT, ...text });
|
|
30
|
+
const range = $derived(values.length > 2);
|
|
31
|
+
const segments: HTMLSpanElement[] = [];
|
|
32
|
+
// The segment the clock face edits while it is open.
|
|
33
|
+
let dial = $state<number | null>(null);
|
|
34
|
+
let typed = "";
|
|
35
|
+
let root = $state<HTMLDivElement | null>(null);
|
|
36
|
+
|
|
37
|
+
$effect(() =>
|
|
38
|
+
wheelSegments(root!, (at, deltaY) => {
|
|
39
|
+
const next = disabled ? null : timeWheel(values, at, deltaY, minuteStep);
|
|
40
|
+
if (next) onValues(next);
|
|
41
|
+
return next !== null;
|
|
42
|
+
}),
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
function focus(at: number) {
|
|
46
|
+
typed = "";
|
|
47
|
+
segments[at]?.focus();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function onKeyDown(at: number, e: KeyboardEvent) {
|
|
51
|
+
if (disabled) return;
|
|
52
|
+
const result = timeKey(values, at, e.key, typed, minuteStep);
|
|
53
|
+
if (!result) return;
|
|
54
|
+
e.preventDefault();
|
|
55
|
+
if (result.values.some((v, i) => v !== values[i])) onValues(result.values);
|
|
56
|
+
if (result.focus !== at) focus(result.focus);
|
|
57
|
+
else typed = result.buffer;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// A press into the field opens the face for the segment it hit, and a press
|
|
61
|
+
// beside the segments lands on the hours, as on a text field's padding.
|
|
62
|
+
function onMouseDown(e: MouseEvent) {
|
|
63
|
+
if (disabled) return;
|
|
64
|
+
const target = e.target as HTMLElement;
|
|
65
|
+
const pressed = target.closest<HTMLSpanElement>(".glim-time-seg");
|
|
66
|
+
const half = target.closest(".glim-time-half");
|
|
67
|
+
const at = dialSegment(pressed ? segments.indexOf(pressed) : null, half ? [...root!.querySelectorAll(".glim-time-half")].indexOf(half) : null);
|
|
68
|
+
if (!pressed) {
|
|
69
|
+
e.preventDefault();
|
|
70
|
+
focus(at);
|
|
71
|
+
}
|
|
72
|
+
dial = at;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
function setSegment(at: number, value: number) {
|
|
76
|
+
if (values[at] !== value) onValues(values.map((v, i) => (i === at ? value : v)));
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
function onPoint(value: number, done: boolean) {
|
|
80
|
+
const at = dial!;
|
|
81
|
+
setSegment(at, value);
|
|
82
|
+
if (!done) return;
|
|
83
|
+
if (at % 2 === 0) focus(at + 1);
|
|
84
|
+
else dial = null;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function onTurn(delta: 1 | -1) {
|
|
88
|
+
const at = dial!;
|
|
89
|
+
setSegment(at, stepSegment(values[at] ?? null, at, delta, at % 2 === 1 ? minuteStep : 1));
|
|
90
|
+
}
|
|
91
|
+
</script>
|
|
92
|
+
|
|
93
|
+
{#snippet segment(at: number)}
|
|
94
|
+
<span
|
|
95
|
+
bind:this={segments[at]}
|
|
96
|
+
role="spinbutton"
|
|
97
|
+
tabindex={disabled ? -1 : 0}
|
|
98
|
+
aria-label={at % 2 === 0 ? words.hour : words.minute}
|
|
99
|
+
aria-valuemin={0}
|
|
100
|
+
aria-valuemax={at % 2 === 0 ? 23 : 59}
|
|
101
|
+
aria-valuenow={values[at] ?? undefined}
|
|
102
|
+
aria-valuetext={values[at] === null ? undefined : segmentText(values[at]!)}
|
|
103
|
+
aria-disabled={disabled || undefined}
|
|
104
|
+
data-empty={values[at] === null ? "" : undefined}
|
|
105
|
+
data-editing={dial === at ? "" : undefined}
|
|
106
|
+
class="glim-time-seg"
|
|
107
|
+
onkeydown={(e) => onKeyDown(at, e)}
|
|
108
|
+
onfocus={() => {
|
|
109
|
+
typed = "";
|
|
110
|
+
if (dial !== null) dial = at;
|
|
111
|
+
}}>{segmentText(values[at]!)}</span
|
|
112
|
+
>
|
|
113
|
+
{/snippet}
|
|
114
|
+
|
|
115
|
+
{#snippet time(first: number)}
|
|
116
|
+
{@render segment(first)}<span class="glim-time-colon" aria-hidden="true">:</span>{@render segment(first + 1)}
|
|
117
|
+
{/snippet}
|
|
118
|
+
|
|
119
|
+
<!-- The press on the group opens the clock face and hands the focus to a segment, which takes the keys. -->
|
|
120
|
+
<!-- svelte-ignore a11y_no_noninteractive_element_interactions -->
|
|
121
|
+
<div
|
|
122
|
+
bind:this={root}
|
|
123
|
+
data-glim={glim}
|
|
124
|
+
role="group"
|
|
125
|
+
aria-label={fieldName()}
|
|
126
|
+
data-disabled={disabled ? "" : undefined}
|
|
127
|
+
class={["glim-time", className].filter(Boolean).join(" ")}
|
|
128
|
+
onmousedown={onMouseDown}
|
|
129
|
+
onfocusout={(e) => {
|
|
130
|
+
if (!root!.contains(e.relatedTarget as Node | null)) dial = null;
|
|
131
|
+
}}
|
|
132
|
+
>
|
|
133
|
+
{#if range}
|
|
134
|
+
{#each [0, 2] as first (first)}
|
|
135
|
+
{#if first > 0}<span class="glim-time-to" aria-hidden="true">{words.to}</span>{/if}
|
|
136
|
+
<span role="group" aria-label={first === 0 ? words.start : words.end} class="glim-time-half">{@render time(first)}</span>
|
|
137
|
+
{/each}
|
|
138
|
+
{:else}
|
|
139
|
+
{@render time(0)}
|
|
140
|
+
{/if}
|
|
141
|
+
{#if dial !== null}
|
|
142
|
+
<TimeDial anchor={root!} face={faceOf(dial)} value={values[dial] ?? null} {minuteStep} {onPoint} {onTurn} onClose={() => (dial = null)} />
|
|
143
|
+
{/if}
|
|
144
|
+
{@render children?.()}
|
|
145
|
+
</div>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Snippet } from "svelte";
|
|
2
|
+
import type { TimePickerText, TimeSegmentValue } from "@glimstone/core";
|
|
3
|
+
export interface TimeShellProps {
|
|
4
|
+
"data-glim": string;
|
|
5
|
+
label?: string;
|
|
6
|
+
values: TimeSegmentValue[];
|
|
7
|
+
onValues: (values: TimeSegmentValue[]) => void;
|
|
8
|
+
minuteStep?: number;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
text?: Partial<TimePickerText>;
|
|
11
|
+
class?: string;
|
|
12
|
+
children?: Snippet;
|
|
13
|
+
}
|
|
14
|
+
declare const TimeShell: import("svelte").Component<TimeShellProps, {}, "">;
|
|
15
|
+
type TimeShell = ReturnType<typeof TimeShell>;
|
|
16
|
+
export default TimeShell;
|
package/dist/Timer.svelte
CHANGED
|
@@ -41,6 +41,11 @@
|
|
|
41
41
|
onComplete: () => onComplete?.(),
|
|
42
42
|
}));
|
|
43
43
|
const api = $derived(timer.connect(service, normalizeProps));
|
|
44
|
+
// Zag's reset keeps a running timer going, and Reset waits for Start, so a running timer pauses first.
|
|
45
|
+
function reset() {
|
|
46
|
+
api.pause();
|
|
47
|
+
api.reset();
|
|
48
|
+
}
|
|
44
49
|
const spoken = $derived(words.spoken(api.time.hours, api.time.minutes, api.time.seconds));
|
|
45
50
|
</script>
|
|
46
51
|
|
|
@@ -57,6 +62,6 @@
|
|
|
57
62
|
{:else}
|
|
58
63
|
<Button label={words.start} labelKey={null} glyph={IconPlay} onClick={() => api.start()} />
|
|
59
64
|
{/if}
|
|
60
|
-
<Button label={words.reset} labelKey={null} glyph={IconResetArrow} onClick={
|
|
65
|
+
<Button label={words.reset} labelKey={null} glyph={IconResetArrow} onClick={reset} />
|
|
61
66
|
</div>
|
|
62
67
|
</div>
|
package/dist/TipBubble.svelte
CHANGED
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
</script>
|
|
8
8
|
|
|
9
9
|
{#if state.shown}
|
|
10
|
-
<div {@attach lift} bind:this={state.bubble} id={state.id} role="tooltip" class="glim-bubble glim-fade">{state.text}</div>
|
|
10
|
+
<div {@attach lift} bind:this={state.bubble} id={state.id} role="tooltip" class="glim-bubble glim-fade glim-bubble--{state.kind}">{state.text}{#if state.shortcut}<kbd class="glim-bubble-key">{state.shortcut}</kbd>{/if}</div>
|
|
11
11
|
{/if}
|
package/dist/ToastCard.svelte
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
export interface ToastCardProps {
|
|
5
5
|
id: string;
|
|
6
|
+
/** A short first line; the message then reads as its description. */
|
|
7
|
+
title?: string;
|
|
6
8
|
message: string;
|
|
7
9
|
severity: ToastSeverity;
|
|
8
10
|
/** A button such as Undo. A press runs it and dismisses the toast. */
|
|
@@ -18,14 +20,14 @@
|
|
|
18
20
|
</script>
|
|
19
21
|
|
|
20
22
|
<script lang="ts">
|
|
21
|
-
import { MARKS, softBreaks, TOAST_MARKS } from "@glimstone/core";
|
|
23
|
+
import { leaveBehind, MARKS, softBreaks, TOAST_MARKS } from "@glimstone/core";
|
|
22
24
|
import Button from "./Button.svelte";
|
|
23
25
|
import MarkSvg from "./MarkSvg.svelte";
|
|
24
26
|
|
|
25
27
|
// One toast, without state, so a test can mount it with props. Focus is
|
|
26
28
|
// heard on focusin and focusout, so tabbing onto the dismiss button pauses
|
|
27
29
|
// the countdown like a hover does.
|
|
28
|
-
let { id, message, severity, action, dismissLabel, onDismiss, onMouseEnter, onMouseLeave, onFocus, onBlur }: ToastCardProps = $props();
|
|
30
|
+
let { id, title, message, severity, action, dismissLabel, onDismiss, onMouseEnter, onMouseLeave, onFocus, onBlur }: ToastCardProps = $props();
|
|
29
31
|
|
|
30
32
|
function keys(e: KeyboardEvent) {
|
|
31
33
|
if (e.key === "Escape") {
|
|
@@ -37,16 +39,18 @@
|
|
|
37
39
|
|
|
38
40
|
<!-- svelte-ignore a11y_no_static_element_interactions -->
|
|
39
41
|
<div
|
|
42
|
+
{@attach leaveBehind}
|
|
40
43
|
data-glim="ToastCard"
|
|
41
44
|
onmouseenter={() => onMouseEnter(id)}
|
|
42
45
|
onmouseleave={() => onMouseLeave(id)}
|
|
43
46
|
onfocusin={() => onFocus(id)}
|
|
44
47
|
onfocusout={() => onBlur(id)}
|
|
45
48
|
onkeydown={keys}
|
|
46
|
-
class="glim-toast glim-toast-card"
|
|
49
|
+
class={title ? "glim-toast glim-toast-card glim-toast-card--titled" : "glim-toast glim-toast-card"}
|
|
47
50
|
>
|
|
48
51
|
<MarkSvg mark={TOAST_MARKS[severity]} class={`glim-toast-glyph glim-toast-glyph--${severity}`} />
|
|
49
52
|
<div class="glim-toast-body">
|
|
53
|
+
{#if title}<p class="glim-toast-title">{title}</p>{/if}
|
|
50
54
|
<p class="glim-toast-message">{#each softBreaks(message) as part, i}{#if i > 0}<wbr />{/if}{part}{/each}</p>
|
|
51
55
|
{#if action}
|
|
52
56
|
{@const act = action}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { ToastAction, ToastSeverity } from "@glimstone/core";
|
|
2
2
|
export interface ToastCardProps {
|
|
3
3
|
id: string;
|
|
4
|
+
/** A short first line; the message then reads as its description. */
|
|
5
|
+
title?: string;
|
|
4
6
|
message: string;
|
|
5
7
|
severity: ToastSeverity;
|
|
6
8
|
/** A button such as Undo. A press runs it and dismisses the toast. */
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</script>
|
|
18
18
|
|
|
19
19
|
<script lang="ts">
|
|
20
|
-
import { announce, liveRegionAttrs, toastPoliteness } from "@glimstone/core";
|
|
20
|
+
import { announce, liveRegionAttrs, toastAnnouncement, toastPoliteness, watchToastStack } from "@glimstone/core";
|
|
21
21
|
import ToastCard from "./ToastCard.svelte";
|
|
22
22
|
|
|
23
23
|
// The toast system's presentational half (design-language.md, "Toasts"). It
|
|
@@ -40,17 +40,20 @@
|
|
|
40
40
|
for (const t of toasts) {
|
|
41
41
|
if (heard.has(t.id)) continue;
|
|
42
42
|
heard.add(t.id);
|
|
43
|
-
announce(t
|
|
43
|
+
announce(toastAnnouncement(t), toastPoliteness(t.severity));
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
+
let stack: HTMLDivElement;
|
|
47
|
+
$effect(() => watchToastStack(stack));
|
|
46
48
|
</script>
|
|
47
49
|
|
|
48
50
|
<div class="glim-sr-only" {...liveRegionAttrs("polite")}></div>
|
|
49
51
|
<div class="glim-sr-only" {...liveRegionAttrs("assertive")}></div>
|
|
50
|
-
<div data-glim="ToastViewport" class="glim-toast-stack">
|
|
52
|
+
<div bind:this={stack} data-glim="ToastViewport" class="glim-toast-stack">
|
|
51
53
|
{#each toasts as t (t.id)}
|
|
52
54
|
<ToastCard
|
|
53
55
|
id={t.id}
|
|
56
|
+
title={t.title}
|
|
54
57
|
message={t.message}
|
|
55
58
|
severity={t.severity}
|
|
56
59
|
action={t.action}
|
package/dist/Toggle.svelte
CHANGED
|
@@ -57,7 +57,9 @@
|
|
|
57
57
|
</script>
|
|
58
58
|
|
|
59
59
|
<span data-glim="Toggle" bind:this={frame} class={`glim-toggle${className ? ` ${className}` : ""}`} {style}>
|
|
60
|
-
|
|
60
|
+
<!-- The words are part of the switch's target, as a native label's would be. -->
|
|
61
|
+
<!-- svelte-ignore a11y_click_events_have_key_events, a11y_no_static_element_interactions -->
|
|
62
|
+
{#if label !== undefined && !hideLabel}<span class="glim-toggle-label" onclick={() => frame.querySelector<HTMLElement>(".glim-toggle-track")?.click()}>{label}</span>{/if}
|
|
61
63
|
<!-- No title: the label is always visible beside the switch, so a tooltip
|
|
62
64
|
would only repeat it. A refused switch's bubble says why. -->
|
|
63
65
|
<button
|
package/dist/Tour.svelte
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { untrack } from "svelte";
|
|
17
17
|
import * as tour from "@zag-js/tour";
|
|
18
18
|
import { normalizeProps, useMachine } from "@zag-js/svelte";
|
|
19
|
-
import { TOUR_TEXT, pageDir, tourSteps } from "@glimstone/core";
|
|
19
|
+
import { TOUR_TEXT, pageDir, tourDots, tourSpotlight, tourSteps } from "@glimstone/core";
|
|
20
20
|
import Badge from "./Badge.svelte";
|
|
21
21
|
import Button from "./Button.svelte";
|
|
22
22
|
import { IconBack, IconCheck, IconForward } from "./glyphs.js";
|
|
@@ -30,10 +30,13 @@
|
|
|
30
30
|
|
|
31
31
|
const words = $derived({ ...TOUR_TEXT, ...text });
|
|
32
32
|
const id = $props.id();
|
|
33
|
+
let at = $state(0);
|
|
33
34
|
const service = useMachine(tour.machine, () => ({
|
|
34
35
|
id,
|
|
35
36
|
dir: pageDir(),
|
|
36
37
|
steps: tourSteps(steps),
|
|
38
|
+
...tourSpotlight(steps, at),
|
|
39
|
+
onStepChange: (d: { stepIndex: number }) => (at = d.stepIndex),
|
|
37
40
|
onStatusChange: (d: { status: string }) => {
|
|
38
41
|
if (d.status === "dismissed" || d.status === "completed" || d.status === "skipped") {
|
|
39
42
|
open = false;
|
|
@@ -61,7 +64,10 @@
|
|
|
61
64
|
</h2>
|
|
62
65
|
<p {...api.getDescriptionProps()} class="glim-tour-text">{api.step.description}</p>
|
|
63
66
|
<div class="glim-tour-foot">
|
|
64
|
-
<span {...api.getProgressTextProps()} class="glim-tour-progress
|
|
67
|
+
<span {...api.getProgressTextProps()} class="glim-tour-progress">
|
|
68
|
+
<span class="glim-sr-only">{words.progress(api.stepIndex + 1, api.totalSteps)}</span>
|
|
69
|
+
{#each tourDots(api.totalSteps, api.stepIndex) as current, i (i)}<span aria-hidden="true" class="glim-tour-dot" data-current={current || undefined}></span>{/each}
|
|
70
|
+
</span>
|
|
65
71
|
<Button label={words.back} labelKey={null} glyph={IconBack} disabled={!api.hasPrevStep} onClick={() => api.prev()} />
|
|
66
72
|
{#if api.lastStep}
|
|
67
73
|
<Button label={words.close} labelKey={null} glyph={IconCheck} tone="accent" onClick={end} />
|
package/dist/Window.svelte
CHANGED
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
actions?: WindowAction[];
|
|
19
19
|
/** A quiet line at the start of the foot, such as where the work carries on. */
|
|
20
20
|
start?: string | Snippet;
|
|
21
|
-
/** `
|
|
21
|
+
/** The width: `small` (400px) for a question, `normal` (560px) for a form,
|
|
22
|
+
* `large` (720px) for a longer form, `wide` (960px) for a list, `full` for
|
|
23
|
+
* a tool. */
|
|
22
24
|
size?: WindowSize;
|
|
23
25
|
/** The words of the way out the window adds. */
|
|
24
26
|
text: { cancel: string; close: string };
|
|
@@ -35,7 +37,7 @@
|
|
|
35
37
|
|
|
36
38
|
<script lang="ts">
|
|
37
39
|
import { onMount } from "svelte";
|
|
38
|
-
import { focusedAsker, menuIsOpen, returnFocus, stackWindow, windowFocusTarget } from "@glimstone/core";
|
|
40
|
+
import { focusedAsker, leaveBehind, menuIsOpen, returnFocus, stackWindow, windowFocusTarget } from "@glimstone/core";
|
|
39
41
|
import Badge from "./Badge.svelte";
|
|
40
42
|
import { lift } from "./lift.js";
|
|
41
43
|
import WindowFootRow from "./WindowFootRow.svelte";
|
|
@@ -89,7 +91,7 @@
|
|
|
89
91
|
so it is the only node Svelte removes for it, wherever the caller put it. -->
|
|
90
92
|
{#snippet backdrop()}
|
|
91
93
|
<!-- svelte-ignore a11y_no_static_element_interactions -->
|
|
92
|
-
<div class="glim-modal-backdrop" {@attach lift} onmousedown={pressBeside}>
|
|
94
|
+
<div class="glim-modal-backdrop" {@attach lift} {@attach leaveBehind} onmousedown={pressBeside}>
|
|
93
95
|
<div
|
|
94
96
|
data-glim="Window"
|
|
95
97
|
data-glim-title={title}
|
package/dist/Window.svelte.d.ts
CHANGED
|
@@ -15,7 +15,9 @@ export interface WindowProps extends Omit<HTMLAttributes<HTMLDivElement>, "title
|
|
|
15
15
|
actions?: WindowAction[];
|
|
16
16
|
/** A quiet line at the start of the foot, such as where the work carries on. */
|
|
17
17
|
start?: string | Snippet;
|
|
18
|
-
/** `
|
|
18
|
+
/** The width: `small` (400px) for a question, `normal` (560px) for a form,
|
|
19
|
+
* `large` (720px) for a longer form, `wide` (960px) for a list, `full` for
|
|
20
|
+
* a tool. */
|
|
19
21
|
size?: WindowSize;
|
|
20
22
|
/** The words of the way out the window adds. */
|
|
21
23
|
text: {
|
package/dist/bubble.svelte.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type BubbleKind } from "@glimstone/core";
|
|
1
2
|
export interface TipBubble {
|
|
2
3
|
/** The trigger the bubble is placed against. */
|
|
3
4
|
trigger: HTMLElement | null;
|
|
@@ -5,11 +6,21 @@ export interface TipBubble {
|
|
|
5
6
|
readonly id: string;
|
|
6
7
|
readonly text: string | undefined;
|
|
7
8
|
readonly shown: boolean;
|
|
9
|
+
readonly kind: BubbleKind;
|
|
10
|
+
readonly shortcut: string | undefined;
|
|
8
11
|
/** `aria-describedby` while open, so the bubble is announced as the trigger's description. */
|
|
9
12
|
readonly describedBy: string | undefined;
|
|
13
|
+
/** Opens a tooltip once the pointer has rested, an info bubble at once. */
|
|
10
14
|
show: () => void;
|
|
11
15
|
hide: () => void;
|
|
12
16
|
/** Focus opens the bubble only when the keyboard was used last; a mouse user gets focus as a side effect. */
|
|
13
17
|
showOnFocus: () => void;
|
|
14
18
|
}
|
|
15
|
-
export
|
|
19
|
+
export interface TipBubbleOptions {
|
|
20
|
+
/** `tip` names a control: small, inverted, once the pointer has rested.
|
|
21
|
+
* `info` explains: roomier, on the floating surface, at once. */
|
|
22
|
+
kind?: BubbleKind;
|
|
23
|
+
/** A keyboard shortcut drawn beside a tooltip's words, such as "Ctrl K". */
|
|
24
|
+
shortcut?: () => string | undefined;
|
|
25
|
+
}
|
|
26
|
+
export declare function useTipBubble(tip: () => string | undefined, disabled?: () => boolean, { kind, shortcut }?: TipBubbleOptions): TipBubble;
|
package/dist/bubble.svelte.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { dismissBubbleOn, placeBubble, pointerWasLast, trackInputModality } from "@glimstone/core";
|
|
1
|
+
import { dismissBubbleOn, placeBubble, pointerWasLast, restTimer, trackInputModality } from "@glimstone/core";
|
|
2
2
|
let count = 0;
|
|
3
|
-
export function useTipBubble(tip, disabled = () => false) {
|
|
3
|
+
export function useTipBubble(tip, disabled = () => false, { kind = "tip", shortcut = () => undefined } = {}) {
|
|
4
4
|
let open = $state(false);
|
|
5
|
+
const timer = restTimer(kind);
|
|
5
6
|
let trigger = $state(null);
|
|
6
7
|
let bubble = $state(null);
|
|
7
8
|
const id = `glim-tip-${++count}`;
|
|
@@ -19,11 +20,14 @@ export function useTipBubble(tip, disabled = () => false) {
|
|
|
19
20
|
trackInputModality();
|
|
20
21
|
const show = () => {
|
|
21
22
|
if (text)
|
|
22
|
-
open = true;
|
|
23
|
+
timer.rest(() => (open = true));
|
|
23
24
|
};
|
|
24
25
|
const hide = () => {
|
|
26
|
+
timer.cancel();
|
|
27
|
+
timer.closed(open);
|
|
25
28
|
open = false;
|
|
26
29
|
};
|
|
30
|
+
$effect(() => timer.cancel);
|
|
27
31
|
// Effects run once the bubble is in the document and before the browser
|
|
28
32
|
// paints, so it is measured and placed without a visible jump.
|
|
29
33
|
$effect(() => {
|
|
@@ -53,14 +57,18 @@ export function useTipBubble(tip, disabled = () => false) {
|
|
|
53
57
|
get shown() {
|
|
54
58
|
return shown;
|
|
55
59
|
},
|
|
60
|
+
kind,
|
|
61
|
+
get shortcut() {
|
|
62
|
+
return shortcut();
|
|
63
|
+
},
|
|
56
64
|
get describedBy() {
|
|
57
65
|
return shown ? id : undefined;
|
|
58
66
|
},
|
|
59
67
|
show,
|
|
60
68
|
hide,
|
|
61
69
|
showOnFocus: () => {
|
|
62
|
-
if (!pointerWasLast())
|
|
63
|
-
|
|
70
|
+
if (text && !pointerWasLast())
|
|
71
|
+
open = true;
|
|
64
72
|
},
|
|
65
73
|
};
|
|
66
74
|
}
|
package/dist/engines.svelte.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Density, type LabelAxis, type LabelMode, type Motion, type RainbowState, type Shape } from "@glimstone/core";
|
|
1
|
+
import { type Density, type GlyphStyle, type Layout, type LabelAxis, type LabelMode, type Light, type Motion, type RainbowState, type Shape } from "@glimstone/core";
|
|
2
2
|
export interface Box<T> {
|
|
3
3
|
current: T;
|
|
4
4
|
}
|
|
@@ -12,6 +12,12 @@ export declare function useHue(index: () => number | undefined): {
|
|
|
12
12
|
};
|
|
13
13
|
export declare function useShape(): Box<Shape>;
|
|
14
14
|
export declare function useMotion(): Box<Motion>;
|
|
15
|
+
/** How light falls on the stone. */
|
|
16
|
+
export declare function useLight(): Box<Light>;
|
|
17
|
+
/** Whether the glyphs are drawn filled or as lines. */
|
|
18
|
+
export declare function useGlyphs(): Box<GlyphStyle>;
|
|
19
|
+
/** Whether what lies on a card is drawn with cards or without. */
|
|
20
|
+
export declare function useLayout(): Box<Layout>;
|
|
15
21
|
/** The row density of lists and tables. */
|
|
16
22
|
export declare function useDensity(): Box<Density>;
|
|
17
23
|
/** The accent the user chose, or "" for the default. */
|
package/dist/engines.svelte.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { applyAccent, applyDensity, applyMotion, applyRainbow, applyShape, DEFAULT_DENSITY, DEFAULT_MOTION, DEFAULT_SHAPE, getLabelMode, hueVars, labelModeChanged, rainbowState, setLabelMode, subscribeLabelMode, subscribeRainbow, } from "@glimstone/core";
|
|
1
|
+
import { applyAccent, applyDensity, applyGlyphs, applyLayout, applyLight, applyMotion, applyRainbow, applyShape, DEFAULT_DENSITY, DEFAULT_GLYPHS, DEFAULT_LAYOUT, DEFAULT_LIGHT, DEFAULT_MOTION, DEFAULT_SHAPE, getLabelMode, hueVars, labelModeChanged, rainbowState, setLabelMode, subscribeLabelMode, subscribeRainbow, } from "@glimstone/core";
|
|
2
2
|
function follow(read, subscribe, write) {
|
|
3
3
|
let value = $state(read());
|
|
4
4
|
$effect(() => subscribe(() => (value = read())));
|
|
@@ -47,6 +47,18 @@ export function useShape() {
|
|
|
47
47
|
export function useMotion() {
|
|
48
48
|
return follow(() => document.documentElement.getAttribute("data-motion") ?? DEFAULT_MOTION, watchRoot("data-motion"), applyMotion);
|
|
49
49
|
}
|
|
50
|
+
/** How light falls on the stone. */
|
|
51
|
+
export function useLight() {
|
|
52
|
+
return follow(() => document.documentElement.getAttribute("data-light") ?? DEFAULT_LIGHT, watchRoot("data-light"), applyLight);
|
|
53
|
+
}
|
|
54
|
+
/** Whether the glyphs are drawn filled or as lines. */
|
|
55
|
+
export function useGlyphs() {
|
|
56
|
+
return follow(() => document.documentElement.getAttribute("data-glyphs") ?? DEFAULT_GLYPHS, watchRoot("data-glyphs"), applyGlyphs);
|
|
57
|
+
}
|
|
58
|
+
/** Whether what lies on a card is drawn with cards or without. */
|
|
59
|
+
export function useLayout() {
|
|
60
|
+
return follow(() => document.documentElement.getAttribute("data-layout") ?? DEFAULT_LAYOUT, watchRoot("data-layout"), applyLayout);
|
|
61
|
+
}
|
|
50
62
|
/** The row density of lists and tables. */
|
|
51
63
|
export function useDensity() {
|
|
52
64
|
return follow(() => document.documentElement.getAttribute("data-density") ?? DEFAULT_DENSITY, watchRoot("data-density"), applyDensity);
|
package/dist/glyphs.d.ts
CHANGED
|
@@ -28,7 +28,10 @@ export declare const IconSearch: Snippet<[]>;
|
|
|
28
28
|
export declare const IconForward: Snippet<[]>;
|
|
29
29
|
export declare const IconUpload: Snippet<[]>;
|
|
30
30
|
export declare const IconCalendar: Snippet<[]>;
|
|
31
|
+
export declare const IconClock: Snippet<[]>;
|
|
31
32
|
export declare const IconStar: Snippet<[]>;
|
|
33
|
+
export declare const IconEyedropper: Snippet<[]>;
|
|
32
34
|
export declare const IconPlay: Snippet<[]>;
|
|
33
35
|
export declare const IconPause: Snippet<[]>;
|
|
34
36
|
export declare const IconResetArrow: Snippet<[]>;
|
|
37
|
+
export declare const IconMore: Snippet<[]>;
|
package/dist/glyphs.js
CHANGED
|
@@ -43,7 +43,10 @@ export const IconSearch = markSnippet(MARKS.search);
|
|
|
43
43
|
export const IconForward = markSnippet(MARKS.forward);
|
|
44
44
|
export const IconUpload = markSnippet(MARKS.upload);
|
|
45
45
|
export const IconCalendar = markSnippet(MARKS.calendar);
|
|
46
|
+
export const IconClock = markSnippet(MARKS.clock);
|
|
46
47
|
export const IconStar = markSnippet(MARKS.star);
|
|
48
|
+
export const IconEyedropper = markSnippet(MARKS.eyedropper);
|
|
47
49
|
export const IconPlay = markSnippet(MARKS.play);
|
|
48
50
|
export const IconPause = markSnippet(MARKS.pause);
|
|
49
51
|
export const IconResetArrow = markSnippet(MARKS.resetArrow);
|
|
52
|
+
export const IconMore = markSnippet(MARKS.more);
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export { default as Badge, type BadgeForm, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeTone, type NotchInset } from "./Badge.svelte";
|
|
1
|
+
export { default as Badge, type BadgeForm, type BadgeProps, type BadgeSize, type BadgeTone, type NotchInset } from "./Badge.svelte";
|
|
3
2
|
export { default as BrandMark, type BrandMarkProps } from "./BrandMark.svelte";
|
|
4
3
|
export { default as BusyRing, type BusyRingProps, type BusyRingSize } from "./BusyRing.svelte";
|
|
5
4
|
export { default as Button, type ButtonProps, type ButtonSize, type ButtonTone, type ButtonVariant } from "./Button.svelte";
|
|
@@ -12,7 +11,6 @@ export { default as ConnectionRow, type ConnectionAction, type ConnectionRowLabe
|
|
|
12
11
|
export { default as ContextMenu, type ContextMenuProps, type MenuEntry, type MenuHead, type MenuItem } from "./ContextMenu.svelte";
|
|
13
12
|
export { default as CopyField, type CopyFieldProps } from "./CopyField.svelte";
|
|
14
13
|
export { default as CryptoDonateDialog, type CryptoCoin, type CryptoDonateDialogProps, type CryptoNetwork } from "./CryptoDonateDialog.svelte";
|
|
15
|
-
export { default as DropdownListbox, type DropdownListboxProps } from "./DropdownListbox.svelte";
|
|
16
14
|
export { default as EmptyState, type EmptyStateProps } from "./EmptyState.svelte";
|
|
17
15
|
export { default as FieldError, type FieldErrorProps } from "./FieldError.svelte";
|
|
18
16
|
export { default as FieldRow, type FieldRowProps } from "./FieldRow.svelte";
|
|
@@ -35,10 +33,14 @@ export { default as InfoTile, type InfoTileProps } from "./InfoTile.svelte";
|
|
|
35
33
|
export { default as InfoVersionCard, type InfoVersionCardProps, type UpdateCheck, type UpdateRoute, type UpdateState, type VersionCardText, type VersionRow } from "./InfoVersionCard.svelte";
|
|
36
34
|
export { default as InstanceCard, type InstanceCardProps, type InstanceFigure } from "./InstanceCard.svelte";
|
|
37
35
|
export { default as Kbd, type KbdProps } from "./Kbd.svelte";
|
|
38
|
-
export { default as ListRow, type ListRowProps } from "./ListRow.svelte";
|
|
36
|
+
export { default as ListRow, type ListRowAction, type ListRowMenu, type ListRowProps } from "./ListRow.svelte";
|
|
37
|
+
export type { HoverCardFact, ListRowStatus } from "@glimstone/core";
|
|
39
38
|
export { default as ListTable, type ListColumn, type ListTableProps, type ListTableText } from "./ListTable.svelte";
|
|
40
39
|
export { default as MarkSvg } from "./MarkSvg.svelte";
|
|
41
40
|
export { default as MenuBar, type MenuBarHandle, type MenuBarMenu, type MenuBarProps } from "./MenuBar.svelte";
|
|
41
|
+
export { default as Chart, type ChartProps, type ChartKind, type ChartRow, type ChartSeries } from "./Chart.svelte";
|
|
42
|
+
export { default as ChartLegend, type ChartLegendProps } from "./ChartLegend.svelte";
|
|
43
|
+
export { default as Sparkline, type SparklineProps } from "./Sparkline.svelte";
|
|
42
44
|
export { default as Meter, type MeterProps, type MeterSize } from "./Meter.svelte";
|
|
43
45
|
export { default as NumberField, type NumberFieldProps } from "./NumberField.svelte";
|
|
44
46
|
export { default as PasswordField, type PasswordFieldProps } from "./PasswordField.svelte";
|
|
@@ -52,6 +54,7 @@ export { default as ProgressBar, type ProgressBarProps } from "./ProgressBar.sve
|
|
|
52
54
|
export { default as ReadmeButton, type ReadmeBrand, type ReadmeButtonProps, type ReadmePart } from "./ReadmeButton.svelte";
|
|
53
55
|
export { default as RowMark, type RowMarkProps } from "./RowMark.svelte";
|
|
54
56
|
export { default as Selector, selectorTabId, type SelectMode, type SelectorActivation, type SelectorItem, type SelectorOrientation, type SelectorProps, type SelectorSize, type SelectorVariant } from "./Selector.svelte";
|
|
57
|
+
export { default as SettingsNav, type SettingsNavGroup, type SettingsNavItem, type SettingsNavProps } from "./SettingsNav.svelte";
|
|
55
58
|
export { default as Sheet, type SheetProps } from "./Sheet.svelte";
|
|
56
59
|
export { default as SidebarRow, type SidebarCount, type SidebarRowProps } from "./SidebarRow.svelte";
|
|
57
60
|
export { default as SignInCard, type ResetAnswer, type SignInAnswer, type SignInCardProps, type SignInCardService, type SignInLabelKeys, type SignInText } from "./SignInCard.svelte";
|
|
@@ -60,10 +63,13 @@ export { default as SignInReauthWindow, type SignInReauthText, type SignInReauth
|
|
|
60
63
|
export { default as SignInTile, type SignInTileCard, type SignInTileLabelKeys, type SignInTileProps, type SignInTileText } from "./SignInTile.svelte";
|
|
61
64
|
export { default as NotifyCard, type NotifyCardLabelKeys, type NotifyCardProps, type NotifyCardText } from "./NotifyCard.svelte";
|
|
62
65
|
export { default as SkeletonRow, type SkeletonRowProps } from "./SkeletonRow.svelte";
|
|
66
|
+
export { default as StatusSummary, type StatusNeed, type StatusSummaryProps, type StatusSummaryTone } from "./StatusSummary.svelte";
|
|
63
67
|
export { default as SubCard, type SubCardProps } from "./SubCard.svelte";
|
|
64
68
|
export { default as Table, type TableColumn, type TableProps } from "./Table.svelte";
|
|
65
69
|
export { default as TextArea, type TextAreaProps } from "./TextArea.svelte";
|
|
66
70
|
export { default as TextField, type FieldWidth, type TextFieldProps } from "./TextField.svelte";
|
|
71
|
+
export { default as TimePicker, type TimePickerProps, type TimePickerText } from "./TimePicker.svelte";
|
|
72
|
+
export { default as TimeRangePicker, type TimeRangePickerProps } from "./TimeRangePicker.svelte";
|
|
67
73
|
export { default as ToastCard, type ToastCardProps } from "./ToastCard.svelte";
|
|
68
74
|
export { default as ToastViewport, type ToastViewportEntry, type ToastViewportProps } from "./ToastViewport.svelte";
|
|
69
75
|
export { default as Toggle, type ToggleProps } from "./Toggle.svelte";
|
|
@@ -71,13 +77,13 @@ export { default as Tree, type TreeNode, type TreeProps } from "./Tree.svelte";
|
|
|
71
77
|
export { default as UnavailableNotice, type UnavailableNoticeProps } from "./UnavailableNotice.svelte";
|
|
72
78
|
export { default as Window, type WindowAction, type WindowProps, type WindowSize } from "./Window.svelte";
|
|
73
79
|
export { default as WindowBar, type WindowBarProps } from "./WindowBar.svelte";
|
|
74
|
-
export { useAccent, useDensity, useHue, useLabelMode, useMotion, useRainbow, useShape } from "./engines.svelte.js";
|
|
80
|
+
export { useAccent, useDensity, useGlyphs, useHue, useLabelMode, useLayout, useLight, useMotion, useRainbow, useShape } from "./engines.svelte.js";
|
|
75
81
|
export { useConfirm, useDialogKeys, type ConfirmOptions, type ConfirmText } from "./confirm.svelte.js";
|
|
76
82
|
export { useFieldName } from "./fieldName.js";
|
|
77
83
|
export { deviceGlyph } from "./fortressParts.js";
|
|
78
|
-
export { glyphFor, IconBack, IconCalendar, IconCancel, IconCheck, IconClose, IconCopy, IconExpand, IconEye, IconEyeOff, IconFolderOpen, IconForward, IconPause, IconPencil, IconPlay, IconResetArrow, IconSearch, IconStar, IconTrash, IconUpload, IconWindowMaximise, IconWindowMinimise, IconWindowRestore, setGlyphResolver } from "./glyphs.js";
|
|
84
|
+
export { glyphFor, IconBack, IconCalendar, IconCancel, IconClock, IconCheck, IconClose, IconCopy, IconExpand, IconEye, IconEyeOff, IconFolderOpen, IconForward, IconMore, IconPause, IconPencil, IconPlay, IconResetArrow, IconSearch, IconStar, IconTrash, IconUpload, IconWindowMaximise, IconWindowMinimise, IconWindowRestore, setGlyphResolver } from "./glyphs.js";
|
|
79
85
|
export * from "./portalHue.svelte.js";
|
|
80
|
-
export { useTipBubble, type TipBubble } from "./bubble.svelte.js";
|
|
86
|
+
export { useTipBubble, type TipBubble, type TipBubbleOptions } from "./bubble.svelte.js";
|
|
81
87
|
export * from "./useDragArmed.svelte.js";
|
|
82
88
|
export { usePaypalButtons, type PaypalButtonsOptions } from "./usePaypalButtons.svelte.js";
|
|
83
89
|
export type { ToastAction } from "@glimstone/core";
|