Skip to content

Commit

Permalink
fix(sandbox): misc fixes [KHCP-8985]
Browse files Browse the repository at this point in the history
  • Loading branch information
portikM committed Oct 12, 2023
1 parent facbe58 commit e6605af
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions sandbox/pages/SandboxInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
title="Props"
/>
<SandboxSectionComponent title="label">
<KInput
label="Label"
type="search"
/>
<KInput label="Label" />
</SandboxSectionComponent>
<SandboxSectionComponent title="labelAttributes">
<KInput label="Label" />
Expand Down Expand Up @@ -137,10 +134,7 @@
<SandboxSectionComponent title="after">
<KInput label="Label">
<template #after>
<CloseIcon
role="button"
tabindex="0"
/>
<KongIcon />
</template>
</KInput>
</SandboxSectionComponent>
Expand All @@ -156,7 +150,7 @@
<SearchIcon />
</template>
<template #after>
<CloseIcon
<CopyIcon
role="button"
tabindex="0"
@click.stop="onSlotContentClick('after')"
Expand Down Expand Up @@ -191,7 +185,7 @@
import SandboxTitleComponent from '../components/SandboxTitleComponent.vue'
import SandboxSectionComponent from '../components/SandboxSectionComponent.vue'
import { KInput, KExternalLink, KToggle, KButton } from '@/components'
import { SearchIcon, CloseIcon } from '@kong/icons'
import { SearchIcon, KongIcon, CopyIcon } from '@kong/icons'
const onSlotContentClick = (slotName: string) => {
alert(`You clicked on ${slotName} slot content`)
Expand Down

0 comments on commit e6605af

Please sign in to comment.