Skip to content

Commit

Permalink
feat(KPop,KPrompt,KRadio, KSegmentedControl): update according to PR …
Browse files Browse the repository at this point in the history
…[KHCP-6971]
  • Loading branch information
DariaYeremina committed Apr 20, 2023
1 parent 0d2d866 commit 27c4f6e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/components/KMultiselect/KMultiselect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ export default {
</script>

<script setup lang="ts">
const attrs = useAttrs()
const { getSizeFromString, cloneDeep, stripRequiredLabel } = useUtilities()
const SELECTED_ITEMS_SINGLE_LINE_HEIGHT = 34
Expand Down
4 changes: 2 additions & 2 deletions src/components/KPrompt/KPrompt.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ const props = defineProps({
},
})
const emit = defineEmits<{
(e: 'canceled'): void;
(e: 'proceed', event: Event): void;
(e: 'canceled'): void
(e: 'proceed', event: Event): void
}>()
const confirmationInput = ref('')
Expand Down
5 changes: 2 additions & 3 deletions src/components/KRadio/KRadio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export default {
</script>

<script setup lang="ts">
const props = defineProps({
/**
* Sets whether or not radio is selected
Expand Down Expand Up @@ -90,8 +89,8 @@ const isSelected = computed((): boolean => props.selectedValue === props.modelVa
const isTypeDefault = computed((): boolean => props.type === 'radio')
const emit = defineEmits<{
(e: 'change', value: string | boolean | number | object): void;
(e: 'update:modelValue', value: string | boolean | number | object): void;
(e: 'change', value: string | boolean | number | object): void
(e: 'update:modelValue', value: string | boolean | number | object): void
}>()
const handleClick = (): void => {
Expand Down
1 change: 0 additions & 1 deletion src/components/KSelect/KSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ export type DropdownFooterTextPosition = 'sticky' | 'static'
</script>

<script setup lang="ts">
const { getSizeFromString, stripRequiredLabel } = useUtilities()
const defaultKPopAttributes = {
Expand Down

0 comments on commit 27c4f6e

Please sign in to comment.