Skip to content

Commit

Permalink
Merge pull request #3239 from db-ui/release-candidate
Browse files Browse the repository at this point in the history
build: 0.4.0 release
  • Loading branch information
mfranzke authored Sep 25, 2024
2 parents 1827bb7 + ec6ccdd commit a3b11f7
Show file tree
Hide file tree
Showing 2,566 changed files with 3,268 additions and 3,882 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
uses: ./.github/workflows/01-lint.yml
needs: [init]

test:
uses: ./.github/workflows/01-test.yml
needs: [init]

build-packages:
uses: ./.github/workflows/01-build-packages.yml
needs: [init]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
uses: ./.github/workflows/01-lint.yml
needs: [init]

test:
uses: ./.github/workflows/01-test.yml
needs: [init]

build-packages:
uses: ./.github/workflows/01-build-packages.yml
needs: [init]
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,8 @@ showcases/patternhub/public/iframe-resizer/*
/packages/foundations/assets/icons/functional/fonts/**/font-face.css
/packages/foundations/assets/icons/functional/fonts/**/info.json
/packages/foundations/scss/_normalize.scss

/packages/foundations/assets/icons/functional/fonts/**/*.eot
/packages/foundations/assets/icons/functional/fonts/**/*.svg
/packages/foundations/assets/icons/functional/fonts/**/*.ttf
/packages/foundations/assets/icons/functional/fonts/**/*.woff
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions docs/migration/v0.3.x-to-v0.4.x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
## Migration Beta (0.3.x) ➡ Beta (0.4.x)

### Icons

We refactored our icons which might add some breaking changes to current projects: <https://marketingportal.extranet.deutschebahn.com/marketingportal/Design-Anwendungen/db-ux-design-system/support/migration-guides/v0-3-0>

#### Migration table

| old | new |
| ------------------- | ------------------------- |
| swap_vertical | arrows_vertical |
| swap_horizontal | arrows_horizontal |
| reload | circular_arrows |
| volume_off | volume_silent |
| law | paragraph_mark |
| user | person |
| users | persons |
| wc_men | toilet_men |
| wc_women | toilet_women |
| wc | toilets |
| filter | sliders_horizontal |
| warning_triangle | exclamation_mark_triangle |
| visible | eye |
| visibility_disabled | eye_disabled |
| flip_horizontal | arrows_horizontal |
| flip_vertical | arrows_vertical |

## Automate migration via CLI

We provide a cli tool to auto migrate your source code. Use this command in your repository:

```shell
npx @db-ui/foundations migration --src=./src
```

Please check the changes made in your codebase afterwards, as this is mainly a simple search & replace and there might be unexpected changes of similar wordings to our icon names for any other methods, or further code occurrences that don't even refer to icons.
2 changes: 1 addition & 1 deletion output/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ import "@db-ui/components/build/styles/db-ui-42-rollup.css";
```tsx
import { DBButton } from '@db-ui/react-components';
...
<DBButton icon="user" onClick={()=>{console.log("Test")}}>Test</DBButton>
<DBButton icon="person" onClick={()=>{console.log("Test")}}>Test</DBButton>
...
```

Expand Down
2 changes: 1 addition & 1 deletion output/vue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ import { DBButton } from "@db-ui/v-components";
</script>
<template>
<DBButton icon="user">Test</DBButton>
<DBButton icon="person">Test</DBButton>
</template>
```

Expand Down
2 changes: 1 addition & 1 deletion output/webcomponent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ A web-component library containing all components of [DB UX Design System (techn
import "node_modules/@db-ui/web-components/components/button/button.js";

...
<db-button variant="brand" icon="user">Test</db-button>
<db-button variant="brand" icon="person">Test</db-button>
...

```
Expand Down
Loading

0 comments on commit a3b11f7

Please sign in to comment.