Feedback related amends.
This commit is contained in:
parent
b2aca0c4a6
commit
6cf1b13a0c
|
@ -348,7 +348,6 @@
|
||||||
{#if otherSources?.length}
|
{#if otherSources?.length}
|
||||||
<DataSourceSelect
|
<DataSourceSelect
|
||||||
dividerState={false}
|
dividerState={false}
|
||||||
heading=""
|
|
||||||
dataSet={otherSources}
|
dataSet={otherSources}
|
||||||
{value}
|
{value}
|
||||||
onSelect={handleSelected}
|
onSelect={handleSelected}
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
{#if dividerState}
|
{#if dividerState}
|
||||||
<Divider />
|
<Divider />
|
||||||
{/if}
|
{/if}
|
||||||
{#if heading.length > 0}
|
{#if heading}
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<Heading size="XS">{heading}</Heading>
|
<Heading size="XS">{heading}</Heading>
|
||||||
</div>
|
</div>
|
||||||
|
@ -26,11 +26,6 @@
|
||||||
aria-selected="true"
|
aria-selected="true"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
on:click={() => onSelect(data)}
|
on:click={() => onSelect(data)}
|
||||||
on:keydown={e => {
|
|
||||||
if (e.key === "Enter" || e.key === "Space") {
|
|
||||||
onSelect(data)
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<span class="spectrum-Menu-itemLabel">
|
<span class="spectrum-Menu-itemLabel">
|
||||||
{data.label}
|
{data.label}
|
||||||
|
|
Loading…
Reference in New Issue