Skip to content

Commit 897a979

Browse files
authored
Merge pull request #1691 from db-ux-design-system/refactor-stable-renaming
refactor: stable renaming
2 parents e74171a + e51e473 commit 897a979

28 files changed

+193
-228
lines changed

.github/workflows/pull-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ jobs:
2222
uses: ./.github/workflows/99-dependency-review.yml
2323

2424
labeler:
25-
if: github.event.pull_request.head.repo.owner.login == 'db-ui'
25+
if: github.event.pull_request.head.repo.owner.login == 'db-ux-design-system'
2626
uses: ./.github/workflows/99-labeler.yml

CODE-OF-CONDUCT.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ We as members, contributors, and leaders pledge to make participation in our
66
community a harassment-free experience for everyone, regardless of age, body
77
size, visible or invisible disability, ethnicity, sex characteristics, gender
88
identity and expression, level of experience, education, socio-economic status,
9-
nationality, personal appearance, race, caste, color, religion, or sexual
9+
nationality, plusal appearance, race, caste, color, religion, or sexual
1010
identity and orientation.
1111

1212
We pledge to act and interact in ways that contribute to an open, welcoming,
@@ -29,7 +29,7 @@ Examples of unacceptable behavior include:
2929

3030
- The use of sexualized language or imagery, and sexual attention or advances of
3131
any kind
32-
- Trolling, insulting or derogatory comments, and personal or political attacks
32+
- Trolling, insulting or derogatory comments, and plusal or political attacks
3333
- Public or private harassment
3434
- Publishing others' private information, such as a physical or email address,
3535
without their explicit permission

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing
22

3-
Thanks for your interest in our project. Contributions are welcome. Feel free to [open an issue](https://github.com/db-ui/examples/issues/new) with questions or reporting ideas and bugs, or [open pull requests](https://github.com/db-ui/base/compare) to contribute code.
3+
Thanks for your interest in our project. Contributions are welcome. Feel free to [open an issue](https://github.com/db-ux-design-system/examples/issues/new) with questions or reporting ideas and bugs, or [open pull requests](https://github.com/db-ux-design-system/examples/compare) to contribute code.
44

55
We are committed to fostering a welcoming, respectful, and harassment-free environment. Be kind!
66

@@ -12,4 +12,4 @@ Moreover, you need to duplicate `.env.template` as `.env` and type your own emai
1212

1313
### Conventions
1414

15-
Please be aware that we have some [code and git commit (message and branch naming) conventions](https://github.com/db-ui/core/blob/main/docs/conventions.adoc), that we ensure with some linting tools.
15+
Please be aware that we have some [code and git commit (message and branch naming) conventions](https://github.com/db-ux-design-system/examples/blob/main/docs/conventions.adoc), that we ensure with some linting tools.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# DB UI Examples
1+
# DB UX Design System Examples
22

3-
Those packages are getting started examples to preview/test a full integration of the DB UI Components.
3+
Those packages are getting started examples to preview/test a full integration of the DB UX Design System Core Components.

angular17-example/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,29 @@
77
3. Which stylesheet format would you like to use? `SCSS`
88
4. Do you want to enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering)? No
99
5. `$ cd angular-example`
10-
6. `$ npm i @db-ui/ngx-components`
10+
6. `$ npm i @db-ux/ngx-core-components`
1111
7. Add `"outputHashing": "media"` to the `angular.json` file under `projects/angular-example/architect/build/configurations/development`
1212
8. Add this to `src/styles.scss`:
1313

1414
```scss
1515
// Combined dependencies like variables, colors and tonality and all components
16-
@forward "@db-ui/components/build/styles/db-ui-42-rollup";
16+
@forward "@db-ux/core-components/build/styles/rollup";
1717
```
1818

1919
7. Goto `src/app/app.component.html` and replace content with:
2020

2121
```html
2222
<main>
2323
<div>
24-
<h1>db-ui-functional</h1>
24+
<h1>db-ux-functional</h1>
2525
<p>Use this as default for enterprise apps</p>
2626
</div>
2727
<div>
28-
<h1>db-ui-regular</h1>
28+
<h1>db-ux-regular</h1>
2929
<p>Use this as default for consumer apps</p>
3030
</div>
3131
<div>
32-
<h1>db-ui-expressive</h1>
32+
<h1>db-ux-expressive</h1>
3333
<p>Use this as default for marketing apps</p>
3434
</div>
3535
</main>
@@ -43,9 +43,9 @@
4343
13. `expressive`
4444
14. Goto browser; All texts should have different sizes
4545
15. Goto `src/app/app.component.html` and add `class` with those classes for each `<div>`:
46-
1. `db-informational-bg-basic-level-1`
47-
2. `db-successful-bg-basic-level-1`
48-
3. `db-successful-bg-basic-level-2`
46+
1. `db-color-informational`
47+
2. `db-color-successful`
48+
3. `db-color-successful db-bg-color-basic-level-2`
4949
19. Goto browser; All containers should have different background and foreground colors
5050
20. Goto `src/styles.scss` and append a new class:
5151

@@ -75,5 +75,5 @@ export class AppComponent {
7575
}
7676
```
7777

78-
18. Goto `src/app/app.component.html` and add `<db-button icon="user">Test</db-button>` inside each div
78+
18. Goto `src/app/app.component.html` and add `<db-button icon="plus">Test</db-button>` inside each div
7979
19. Goto browser; Button should be visible with different paddings

angular17-example/package-lock.json

+19-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

angular17-example/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@angular/platform-browser": "^17.3.0",
2020
"@angular/platform-browser-dynamic": "^17.3.0",
2121
"@angular/router": "^17.3.0",
22-
"@db-ui/ngx-components": "^0.5.7",
22+
"@db-ux/ngx-core-components": "^1.0.0",
2323
"rxjs": "~7.8.0",
2424
"tslib": "^2.3.0",
2525
"zone.js": "~0.14.3"
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
<main>
22
<div
33
data-density="functional"
4-
class="db-informational-bg-basic-level-1 container-with-padding"
4+
class="db-color-informational container-with-padding"
55
>
6-
<h1>db-ui-functional</h1>
6+
<h1>db-ux-functional</h1>
77
<p>Use this as default for enterprise apps</p>
8-
<db-button icon="person">Test</db-button>
8+
<db-button icon="plus">Test</db-button>
99
</div>
1010
<div
1111
data-density="regular"
12-
class="db-successful-bg-basic-level-1 container-with-padding"
12+
class="db-color-successful container-with-padding"
1313
>
14-
<h1>db-ui-regular</h1>
14+
<h1>db-ux-regular</h1>
1515
<p>Use this as default for consumer apps</p>
16-
<db-button icon="person">Test</db-button>
16+
<db-button icon="plus">Test</db-button>
1717
</div>
1818
<div
1919
data-density="expressive"
20-
class="db-successful-bg-basic-level-2 container-with-padding"
20+
class="db-color-successful db-bg-color-basic-level-2 container-with-padding"
2121
>
22-
<h1>db-ui-expressive</h1>
22+
<h1>db-ux-expressive</h1>
2323
<p>Use this as default for marketing apps</p>
24-
<db-button icon="person">Test</db-button>
24+
<db-button icon="plus">Test</db-button>
2525
</div>
2626
</main>

angular17-example/src/app/app.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component } from '@angular/core';
22
import { RouterOutlet } from '@angular/router';
3-
import { DBButton } from '@db-ui/ngx-components';
3+
import { DBButton } from '@db-ux/ngx-core-components';
44

55
@Component({
66
selector: 'app-root',

angular17-example/src/styles.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Combined dependencies like variables, colors and tonality and all components
2-
@forward "@db-ui/components/build/styles/db-ui-42-rollup";
2+
@forward "@db-ux/core-components/build/styles/rollup";
33
// We use $db-spacing-fixed-md variable so we need to import the file where the variable is defined
4-
@use "@db-ui/foundations/build/scss/variables";
4+
@use "@db-ux/core-foundations/build/styles/variables";
55

66
.container-with-padding {
77
padding: variables.$db-spacing-fixed-md;

e2e/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@db-ui/mono-e2e",
2+
"name": "@db-ux/e2e",
33
"version": "0.0.0",
44
"type": "module",
55
"description": "",

react-example/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
1. init new vite project `npm create vite@latest react-example`
44
2. `cd react-example`
55
3. `npm i sass`
6-
4. `npm i @db-ui/react-components`
6+
4. `npm i @db-ux/react-core-components`
77
5. Delete unused files:
88
1. `src/App.css`
99
2. `src/vite-env.d.ts`
@@ -12,7 +12,7 @@
1212

1313
```scss
1414
// Combined dependencies like variables, colors and tonality and all components
15-
@forward "@db-ui/components/build/styles/db-ui-42-rollup";
15+
@forward "@db-ux/core-components/build/styles/rollup";
1616
```
1717

1818
7. Goto `src/main.tsx` and rename `import './index.css'` to `import './index.scss'`
@@ -23,15 +23,15 @@ const App = () => {
2323
return (
2424
<main>
2525
<div>
26-
<h1>db-ui-functional</h1>
26+
<h1>db-ux-functional</h1>
2727
<p>Use this as default for enterprise apps</p>
2828
</div>
2929
<div>
30-
<h1>db-ui-regular</h1>
30+
<h1>db-ux-regular</h1>
3131
<p>Use this as default for consumer apps</p>
3232
</div>
3333
<div>
34-
<h1>db-ui-expressive</h1>
34+
<h1>db-ux-expressive</h1>
3535
<p>Use this as default for marketing apps</p>
3636
</div>
3737
</main>
@@ -49,9 +49,9 @@ export default App;
4949
3. `expressive`
5050
12. Goto browser; All texts should have different sizes
5151
13. Goto `src/App.tsx` and add `className` with those classes for each `<div>`:
52-
1. `db-informational-bg-basic-level-1`
53-
2. `db-successful-bg-basic-level-1`
54-
3. `db-successful-bg-basic-level-2`
52+
1. `db-color-informational`
53+
2. `db-color-successful`
54+
3. `db-color-successful db-bg-color-basic-level-2`
5555
14. Goto browser; All containers should have different background and foreground colors
5656
15. Goto `src/index.scss` and append a new class:
5757

@@ -63,5 +63,5 @@ export default App;
6363

6464
16. Goto `src/App.tsx` and add `container-with-padding` class for each `<div>`
6565
17. Goto browser; All containers should have different paddings
66-
18. Goto `src/App.tsx` and add `import { DBButton } from "@db-ui/react-components";` to the top of the file and add `<DBButton icon="account">Test</DBButton>` inside each div
66+
18. Goto `src/App.tsx` and add `import { DBButton } from "@db-ux/react-core-components";` to the top of the file and add `<DBButton icon="account">Test</DBButton>` inside each div
6767
19. Goto browser; Button should be visible with different paddings

react-example/package-lock.json

+32-35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)