Skip to content

Commit

Permalink
refactor: remove all BMF stuff
Browse files Browse the repository at this point in the history
Refs: #6939
  • Loading branch information
deleonio committed Nov 20, 2024
1 parent 563d230 commit 0c70baf
Show file tree
Hide file tree
Showing 285 changed files with 23 additions and 56,209 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
- name: Unit Tests
run: pnpm -r test:unit

# Tests in sample app are currently failing and hence disabled.
# Remove `--filter @public-ui/components` after tests have been fixed in #7003.
# Tests in sample app are currently failing and hence disabled.
# Remove `--filter @public-ui/components` after tests have been fixed in #7003.
- name: E2E Test
run: pnpm --filter @public-ui/components test:e2e

Expand All @@ -69,7 +69,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
package: ['@public-ui/test-tag-name-transformer', '@public-ui/theme-bmf', '@public-ui/theme-default']
package: ['@public-ui/test-tag-name-transformer', '@public-ui/theme-default']
steps:
- uses: actions/checkout@v4
with:
Expand Down
9 changes: 9 additions & 0 deletions docs/BREAKING_CHANGES.v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,12 @@ For more information, see the [KoliBri Maintenance and Support Strategy](https:/

- Visually, the tooltip has been replaced by a simple label shown in parentheses after the abbreviation.
- The property `_tooltipAlign` has been removed.

## Themes

### BMF-Theme (Bundesministerium der Finanzen)

- The theme has been removed.
- It will be maintained as a separate repository.
- The maintenance is done by the [DESYBRI](https://www.itzbund.de/desybri)-Team.
- We moved our last code revision to the following repository: https://github.com/public-ui/kolibri-theme-bmf-starter
1 change: 0 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"packages/samples/react",
"packages/schema",
"packages/themes",
"packages/themes/bmf",
"packages/themes/default",
"packages/themes/ecl",
"packages/themes/itzbund",
Expand Down
6 changes: 3 additions & 3 deletions packages/designer/src/solid.main.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { render } from 'solid-js/web';

import { register } from '@public-ui/components';
import { defineCustomElements } from '@public-ui/components/dist/loader';
import { BMF, DEFAULT, ECL_EC, ECL_EU, ITZBund } from '@public-ui/themes';
import { DEFAULT, ECL_EC, ECL_EU, ITZBund } from '@public-ui/themes';
import { AppComponent } from './components/app/component.solid';
import { register } from '@public-ui/components';

register([BMF, DEFAULT, ECL_EC, ECL_EU, ITZBund], defineCustomElements, {
register([DEFAULT, ECL_EC, ECL_EU, ITZBund], defineCustomElements, {
theme: {
detect: 'auto',
},
Expand Down
4 changes: 2 additions & 2 deletions packages/samples/react/src/react.main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { setTagNameTransformer } from '@public-ui/react';

import { bootstrap, isInitialized } from '@public-ui/components';
import { defineCustomElements } from '@public-ui/components/dist/loader';
import { BMF, DEFAULT, ECL_EC, ECL_EU, ITZBund } from '@public-ui/themes';
import { DEFAULT, ECL_EC, ECL_EU, ITZBund } from '@public-ui/themes';

import { App } from './App';

Expand All @@ -29,7 +29,7 @@ const getThemes = async () => {
}

/* List of regular sample app themes */
return [BMF, DEFAULT, ECL_EC, ECL_EU, ITZBund] as Theme[];
return [DEFAULT, ECL_EC, ECL_EU, ITZBund] as Theme[];
};

void (async () => {
Expand Down
6 changes: 1 addition & 5 deletions packages/samples/react/src/shares/theme.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SelectOption } from '@public-ui/components';

export const THEMES = ['bmf', 'default', 'ecl-ec', 'ecl-eu', 'itzbund', 'unstyled'] as const;
export const THEMES = ['default', 'ecl-ec', 'ecl-eu', 'itzbund', 'unstyled'] as const;
export type Theme = (typeof THEMES)[number];
export type ThemeAndUnstyled = Theme | 'unstyled';

Expand All @@ -22,10 +22,6 @@ export const THEME_OPTIONS: SelectOption<ThemeAndUnstyled>[] = [
label: 'Unstyled (Uncolored)',
value: 'unstyled',
},
{
label: 'Bundesministerium der Finanzen (Tested)',
value: 'bmf',
},
{
label: 'Default (Tested)',
value: 'default',
Expand Down
4 changes: 2 additions & 2 deletions packages/themes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ Register the themes like this:
```tsx
import { register } from '@public-ui/components';
import { defineCustomElements } from '@public-ui/components/dist/loader';
import { BMF, DEFAULT, ECL_EC, ECL_EU, ITZBund } from '@public-ui/themes';
import { DEFAULT, ECL_EC, ECL_EU, ITZBund } from '@public-ui/themes';

register(
DEFAULT,
// or provide an array to register multiple themes:
// [BMF, DEFAULT, ECL_EC, ECL_EU, ITZBund]
// [DEFAULT, ECL_EC, ECL_EU, ITZBund]
defineCustomElements,
)
.then(() => {
Expand Down
33 changes: 0 additions & 33 deletions packages/themes/bmf/README.md

This file was deleted.

165 changes: 0 additions & 165 deletions packages/themes/bmf/assets/fontawesome-free/LICENSE.txt

This file was deleted.

Loading

0 comments on commit 0c70baf

Please sign in to comment.