@glimstone/svelte 5.0.2 → 5.0.4
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/FieldRow.svelte +3 -1
- package/package.json +2 -2
package/dist/FieldRow.svelte
CHANGED
|
@@ -36,6 +36,8 @@
|
|
|
36
36
|
|
|
37
37
|
setContext(FIELD_ROW, () => label);
|
|
38
38
|
const inGroup = getContext<boolean | undefined>(FIELD_ROW_GROUP) ?? false;
|
|
39
|
+
// A control in the row may take the row away before its click bubbles up,
|
|
40
|
+
// which empties this binding, so the row's own click takes the row from the event.
|
|
39
41
|
let row: HTMLDivElement;
|
|
40
42
|
$effect(() => watchRowStack(row));
|
|
41
43
|
</script>
|
|
@@ -52,7 +54,7 @@
|
|
|
52
54
|
bind:this={row}
|
|
53
55
|
onclick={(e) => {
|
|
54
56
|
onclick?.(e);
|
|
55
|
-
pressRowSwitch(
|
|
57
|
+
pressRowSwitch(e.currentTarget, e.target);
|
|
56
58
|
}}
|
|
57
59
|
class={["glim-field-row", wide && "glim-field-row--wide", className].filter(Boolean).join(" ")}>
|
|
58
60
|
<span class="glim-field-row-name">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glimstone/svelte",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"description": "GlimStone's components for Svelte",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"build": "svelte-package -i src -o dist"
|
|
147
147
|
},
|
|
148
148
|
"dependencies": {
|
|
149
|
-
"@glimstone/core": "5.0.
|
|
149
|
+
"@glimstone/core": "5.0.4"
|
|
150
150
|
},
|
|
151
151
|
"peerDependencies": {
|
|
152
152
|
"@internationalized/date": "^3.12.4",
|