@skeletonlabs/skeleton 2.10.1-dev.25759ed8 → 2.10.1-dev.7432bb39
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.
|
@@ -25,7 +25,7 @@ function prunedRestProps() {
|
|
|
25
25
|
}
|
|
26
26
|
</script>
|
|
27
27
|
|
|
28
|
-
<a class="app-rail-anchor {classesBase}" href={$$props.href} {...prunedRestProps()} data-testid="app-rail-anchor">
|
|
28
|
+
<a class="app-rail-anchor {classesBase}" href={$$props.href} {...prunedRestProps()} data-testid="app-rail-anchor" on:click>
|
|
29
29
|
<div class="app-rail-wrapper {classesWrapper}">
|
|
30
30
|
{#if $$slots.lead}<div class="app-rail-lead {classesLead}"><slot name="lead" /></div>{/if}
|
|
31
31
|
<div class="app-rail-label {classesLabel}"><slot /></div>
|
|
@@ -46,7 +46,7 @@ function prunedRestProps() {
|
|
|
46
46
|
<!-- A11y attributes are not allowed on <label> -->
|
|
47
47
|
<!-- FIXME: resolve a11y warnings -->
|
|
48
48
|
<!-- svelte-ignore a11y-no-static-element-interactions -->
|
|
49
|
-
<button class="app-rail-wrapper {classesWrapper}" tabindex="0" on:click={selectElemInput} on:keydown={onKeyDown} on:keyup on:keypress>
|
|
49
|
+
<button class="app-rail-wrapper {classesWrapper}" tabindex="0" on:click={selectElemInput} on:click on:keydown={onKeyDown} on:keyup on:keypress>
|
|
50
50
|
<!-- NOTE: Don't use `hidden` as it prevents `required` from operating -->
|
|
51
51
|
<div class="h-0 w-0 overflow-hidden">
|
|
52
52
|
<input bind:this={elemInput} type="radio" bind:group {name} {value} {...prunedRestProps()} tabindex="-1" on:click on:change />
|
|
@@ -25,9 +25,9 @@ declare const __propDef: {
|
|
|
25
25
|
mouseleave: MouseEvent;
|
|
26
26
|
focus: FocusEvent;
|
|
27
27
|
blur: FocusEvent;
|
|
28
|
+
click: MouseEvent;
|
|
28
29
|
keyup: KeyboardEvent;
|
|
29
30
|
keypress: KeyboardEvent;
|
|
30
|
-
click: MouseEvent;
|
|
31
31
|
change: Event;
|
|
32
32
|
} & {
|
|
33
33
|
[evt: string]: CustomEvent<any>;
|