mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-06 00:02:13 +00:00
* fix(frontend): App icon select double click issue * fix(frontend): Update script metadata page * fix(frontend): Set dropdown default icon to vertical dots * fix(frontend): Clean up * fix(frontend): Update table styles * fix(frontend): Add spacing to secondary menu items * fix(frontend): Scale down full path * fix(frontend): Table loading state * fix(frontend): Hide script kind setting by default
25 lines
662 B
Svelte
25 lines
662 B
Svelte
<script lang="ts">
|
|
import { faInfoCircle } from '@fortawesome/free-solid-svg-icons'
|
|
import Icon from 'svelte-awesome'
|
|
import type { PopoverPlacement } from './Popover.model'
|
|
import Popover from './Popover.svelte'
|
|
|
|
export let light = false
|
|
export let scale = 0.8
|
|
export let wrapperClass = ''
|
|
export let placement: PopoverPlacement | undefined = undefined
|
|
</script>
|
|
|
|
<Popover notClickable {placement} class={wrapperClass}>
|
|
<Icon
|
|
class="{light
|
|
? 'text-gray-400'
|
|
: ' text-gray-500'} font-thin inline-block align-middle w-4 {$$props.class}"
|
|
data={faInfoCircle}
|
|
{scale}
|
|
/>
|
|
<svelte:fragment slot="text">
|
|
<slot />
|
|
</svelte:fragment>
|
|
</Popover>
|