Skip to content

Commit

Permalink
Remove deprecated component KolLogo
Browse files Browse the repository at this point in the history
Refs: #7015
  • Loading branch information
sdvg committed Dec 16, 2024
1 parent e3d6984 commit cef72ec
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 300 deletions.
4 changes: 4 additions & 0 deletions docs/BREAKING_CHANGES.v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ For more information, see the [KoliBri Maintenance and Support Strategy](https:/

- Component has been removed.

### kol-logo

- Component has been removed.

## Themes

### BMF-Theme (Bundesministerium der Finanzen)
Expand Down
3 changes: 0 additions & 3 deletions packages/components/src/components/@else/all/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import type { Generic } from 'adopted-style-sheets';
import type { JSX } from '@stencil/core';
import { h, Host, State } from '@stencil/core';

import { Bundesministerium } from '../../../enums/bund';

type RequiredProps = NonNullable<unknown>;
type OptionalProps = NonNullable<unknown>;
// type Props = Generic.Element.Members<RequiredProps, OptionalProps>;
Expand Down Expand Up @@ -45,7 +43,6 @@ export class KolAll implements Generic.Element.ComponentApi<RequiredProps, Optio
<kol-input-range _label=""></kol-input-range>
<kol-input-text _label=""></kol-input-text>
<kol-link _href="" _label="Label"></kol-link>
<kol-logo _org={Bundesministerium['Auswärtiges Amt']}></kol-logo>
<kol-modal _label=""></kol-modal>
<kol-nav _label="" _links={[]}></kol-nav>
<kol-pagination _on={{}} _page={1} _max={11}></kol-pagination>
Expand Down
2 changes: 0 additions & 2 deletions packages/components/src/components/@else/all/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
- [kol-input-range](../input-range)
- [kol-input-text](../input-text)
- [kol-link](../link)
- [kol-logo](../logo)
- [kol-modal](../modal)
- [kol-nav](../nav)
- [kol-pagination](../pagination)
Expand Down Expand Up @@ -70,7 +69,6 @@ graph TD;
kol-all --> kol-input-range
kol-all --> kol-input-text
kol-all --> kol-link
kol-all --> kol-logo
kol-all --> kol-modal
kol-all --> kol-nav
kol-all --> kol-pagination
Expand Down
2 changes: 0 additions & 2 deletions packages/components/src/components/component-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import { KolKolibri } from './kolibri/shadow';
import { KolLinkButton } from './link-button/shadow';
import { KolLinkWc } from './link/component';
import { KolLink } from './link/shadow';
import { KolLogo } from './logo/shadow';
import { KolModal } from './modal/shadow';
import { KolNav } from './nav/shadow';
import { KolPagination } from './pagination/shadow';
Expand Down Expand Up @@ -92,7 +91,6 @@ export const COMPONENTS = [
KolLink,
KolLinkButton,
KolLinkWc,
KolLogo,
KolModal,
KolNav,
KolPagination,
Expand Down
63 changes: 0 additions & 63 deletions packages/components/src/components/logo/readme.md

This file was deleted.

170 changes: 0 additions & 170 deletions packages/components/src/components/logo/shadow.tsx

This file was deleted.

19 changes: 0 additions & 19 deletions packages/components/src/components/logo/style.scss

This file was deleted.

14 changes: 0 additions & 14 deletions packages/components/src/components/logo/types.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/components/src/core/component-names.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export let KolKolibriTag = 'kol-kolibri' as const;
export let KolLinkButtonTag = 'kol-link-button' as const;
export let KolLinkTag = 'kol-link' as const;
export let KolLinkWcTag = 'kol-link-wc' as const;
export let KolLogoTag = 'kol-logo' as const;
export let KolModalTag = 'kol-modal' as const;
export let KolNavTag = 'kol-nav' as const;
export let KolPaginationTag = 'kol-pagination' as const;
Expand Down Expand Up @@ -95,7 +94,6 @@ export const setCustomTagNames = (transformTagName: (tagName: string) => string)
KolLinkButtonTag = transformTagName(KolLinkButtonTag as string) as 'kol-link-button';
KolLinkTag = transformTagName(KolLinkTag as string) as 'kol-link';
KolLinkWcTag = transformTagName(KolLinkWcTag as string) as 'kol-link-wc';
KolLogoTag = transformTagName(KolLogoTag as string) as 'kol-logo';
KolModalTag = transformTagName(KolModalTag as string) as 'kol-modal';
KolNavTag = transformTagName(KolNavTag as string) as 'kol-nav';
KolPaginationTag = transformTagName(KolPaginationTag as string) as 'kol-pagination';
Expand Down
1 change: 0 additions & 1 deletion packages/components/stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const TAGS = [
'kol-kolibri',
'kol-link',
'kol-link-button',
'kol-logo',
'kol-modal',
'kol-nav',
'kol-pagination',
Expand Down
Loading

0 comments on commit cef72ec

Please sign in to comment.