Skip to content

Commit

Permalink
fix: rename component
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven committed Dec 22, 2023
1 parent 15b88c9 commit 50b390d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
File renamed without changes.
18 changes: 9 additions & 9 deletions src/components/toolbar/MarkdownToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<template v-if="editable && mode !== 'read'">
<div class="toolbar-divider" />

<Tooltip
<InfoTooltip
v-for="option in formatOptions"
:key="option.label"
:data-testid="`tooltip-${option.action}`"
Expand All @@ -59,11 +59,11 @@
:size="KUI_ICON_SIZE_40"
/>
</IconButton>
</Tooltip>
</InfoTooltip>

<div class="toolbar-divider" />

<Tooltip
<InfoTooltip
v-for="option in templateOptions"
:key="option.label"
:data-testid="`tooltip-${option.action}`"
Expand All @@ -83,15 +83,15 @@
:size="KUI_ICON_SIZE_40"
/>
</IconButton>
</Tooltip>
</InfoTooltip>
</template>

<div
v-if="mode !== 'read'"
class="toolbar-divider"
/>

<Tooltip
<InfoTooltip
v-if="mode !== 'read'"
:data-testid="`tooltip-fullscreen`"
>
Expand All @@ -110,9 +110,9 @@
:size="KUI_ICON_SIZE_40"
/>
</IconButton>
</Tooltip>
</InfoTooltip>

<Tooltip
<InfoTooltip
v-if="['split', 'preview'].includes(mode)"
:data-testid="`tooltip-fullscreen`"
>
Expand All @@ -131,7 +131,7 @@
:size="KUI_ICON_SIZE_40"
/>
</IconButton>
</Tooltip>
</InfoTooltip>
</div>
<div class="toolbar-right">
<template v-if="editable && mode === 'read'">
Expand Down Expand Up @@ -174,7 +174,7 @@ import { TOOLBAR_HEIGHT } from '@/constants'
import { KUI_BREAKPOINT_TABLET, KUI_ICON_SIZE_40 } from '@kong/design-tokens'
import type { MarkdownMode, FormatOption, TemplateOption, InlineFormat, MarkdownTemplate } from '@/types'
import IconButton from '@/components/toolbar/IconButton.vue'
import Tooltip from '@/components/toolbar/Tooltip.vue'
import InfoTooltip from '@/components/toolbar/InfoTooltip.vue'
import TooltipShortcut from '@/components/toolbar/TooltipShortcut.vue'
import { BoldIcon, ItalicIcon, UnderlineIcon, StrikethroughIcon, SubscriptIcon, SuperscriptIcon, MarkIcon, CodeIcon, CodeblockIcon, TableIcon, TasklistIcon, ListUnorderedIcon, ListOrderedIcon, MarkdownIcon, HtmlIcon, BlockquoteIcon, ExpandIcon, CollapseIcon } from '@kong/icons'
Expand Down

0 comments on commit 50b390d

Please sign in to comment.