Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kmethodbadge): remove component [KHCP-8989] #1899

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export default defineConfig({
{ text: 'Input Switch', link: '/components/input-switch' },
{ text: 'Label', link: '/components/label' },
{ text: 'Menu', link: '/components/menu' },
{ text: 'Method Badge', link: '/components/method-badge' },
{ text: 'Modal', link: '/components/modal' },
{ text: 'Modal Fullscreen', link: '/components/modal-fullscreen' },
{ text: 'Multiselect', link: '/components/multiselect' },
Expand Down
103 changes: 0 additions & 103 deletions docs/components/method-badge.md

This file was deleted.

7 changes: 4 additions & 3 deletions docs/guide/migrating-to-version-9.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,12 @@ Component has been renamed to `KDropdown`

### KMethodBadge

#### Constants, Types & Interfaces
This component has been removed. Please refer to KBadge component which has been updated to support method appearances.

* `MethodShape` type has been removed
#### Constants, Types & Interfaces

### KMethod Badge
* `MethodShape`, `Method` and `MethodBadgeColors` types have been removed
* `MethodsArray` const has been removed

### KModal

Expand Down
48 changes: 0 additions & 48 deletions src/components/KMethodBadge/KMethodBadge.cy.ts

This file was deleted.

166 changes: 0 additions & 166 deletions src/components/KMethodBadge/KMethodBadge.vue

This file was deleted.

1 change: 0 additions & 1 deletion src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,4 @@ export { default as KTreeList } from './KTreeList/KTreeList.vue'
export { default as KViewSwitcher } from './KViewSwitcher/KViewSwitcher.vue'
export { default as KExternalLink } from './KExternalLink/KExternalLink.vue'
export { default as KTruncate } from './KTruncate/KTruncate.vue'
export { default as KMethodBadge } from './KMethodBadge/KMethodBadge.vue'
export { default as KCopy } from './KCopy/KCopy.vue'
1 change: 0 additions & 1 deletion src/global-components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ declare module '@vue/runtime-core' {
KViewSwitcher: typeof components.KViewSwitcher
ToastManager: typeof components.ToastManager
KTruncate: typeof components.KTruncate
KMethodBadge: typeof components.KMethodBadge
KCopy: typeof components.KCopy
// {%%NEW_KONGPONENT%%} (do not remove comment)
}
Expand Down
1 change: 0 additions & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export * from './skeleton'
export * from './select'
export * from './swrv'
export * from './toaster'
export * from './method-badge'
export * from './inline-edit'
export * from './text-area'
export * from './view-switcher'
Expand Down
7 changes: 0 additions & 7 deletions src/types/method-badge.ts

This file was deleted.