diff --git a/packages/ui/src/components/Button.svelte b/packages/ui/src/components/Button.svelte index 9af85da036..ee783746bf 100644 --- a/packages/ui/src/components/Button.svelte +++ b/packages/ui/src/components/Button.svelte @@ -14,7 +14,7 @@ --> - - - - {#if byTitle } - - {:else} - - {/if} - {#each items.filter(i => !i.selected) as noItem} - {#if byTitle } - { - pressed = false - item.selected = false - }}/> - {:else} - { - pressed = false - item.selected = false - }}/> - {/if} - {/each} - - - diff --git a/packages/ui/src/components/Tabs.svelte b/packages/ui/src/components/Tabs.svelte index 2ed88008f3..0a6cf22774 100644 --- a/packages/ui/src/components/Tabs.svelte +++ b/packages/ui/src/components/Tabs.svelte @@ -26,14 +26,14 @@ {#each model as tab, i}
{ selected = i }}> -
{/each}
{#each model as tab, i} {#if selected === i} - + {/if} {/each} diff --git a/packages/ui/src/components/Tooltip.svelte b/packages/ui/src/components/Tooltip.svelte index 0942dbb4aa..a7af624202 100644 --- a/packages/ui/src/components/Tooltip.svelte +++ b/packages/ui/src/components/Tooltip.svelte @@ -27,7 +27,7 @@
{ + on:mouseenter={() => { showTooltip(label, triggerHTML, direction) }} on:mouseleave={() => { diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.ts index 88e30e6221..1e7f10a397 100644 --- a/packages/ui/src/index.ts +++ b/packages/ui/src/index.ts @@ -41,7 +41,6 @@ export { default as Tabs } from './components/Tabs.svelte' export { default as ScrollBox } from './components/ScrollBox.svelte' export { default as PopupMenu } from './components/PopupMenu.svelte' export { default as PopupItem } from './components/PopupItem.svelte' -export { default as SelectItem } from './components/SelectItem.svelte' export { default as TextArea } from './components/TextArea.svelte' export { default as Section } from './components/Section.svelte' export { default as DatePicker } from './components/DatePicker.svelte'