Skip to content

Commit 8a59a4b

Browse files
authored
Merge pull request #1356 from db-ui/chore-update-angular-db-components
chore: update complete repo
2 parents 841b2dd + cc074e7 commit 8a59a4b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+62
-4702
lines changed

angular17-example/README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
```scss
1515
// Combined dependencies like variables, colors and tonality and all components
1616
@forward "@db-ui/components/build/styles/db-ui-42-rollup";
17-
// We use $db-spacing-fixed-md variable so we need to import the file where the variable is defined
18-
@use "@db-ui/foundations/build/scss/variables";
19-
// Color-classes are optional, we use them in the example to have easy access to colors
20-
@forward "@db-ui/foundations/build/css/colors/classes/all";
2117
```
2218

2319
7. Goto `src/app/app.component.html` and replace content with:
@@ -47,9 +43,9 @@
4743
13. `expressive`
4844
14. Goto browser; All texts should have different sizes
4945
15. Goto `src/app/app.component.html` and add `class` with those classes for each `<div>`:
50-
1. `db-informational-bg`
51-
2. `db-successful-bg-lvl-1`
52-
3. `db-successful-bg-lvl-2`
46+
1. `db-informational-bg-basic-level-1`
47+
2. `db-successful-bg-basic-level-1`
48+
3. `db-successful-bg-basic-level-2`
5349
19. Goto browser; All containers should have different background and foreground colors
5450
20. Goto `src/styles.scss` and append a new class:
5551

angular17-example/package-lock.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

angular17-example/package.json

Lines changed: 1 addition & 1 deletion
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.2.1",
22+
"@db-ui/ngx-components": "^0.3.3",
2323
"rxjs": "~7.8.0",
2424
"tslib": "^2.3.0",
2525
"zone.js": "~0.14.3"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
<main>
22
<div
33
data-density="functional"
4-
class="db-informational-bg container-with-padding"
4+
class="db-informational-bg-basic-level-1 container-with-padding"
55
>
66
<h1>db-ui-functional</h1>
77
<p>Use this as default for enterprise apps</p>
88
<db-button icon="user">Test</db-button>
99
</div>
1010
<div
1111
data-density="regular"
12-
class="db-successful-bg-lvl-1 container-with-padding"
12+
class="db-successful-bg-basic-level-1 container-with-padding"
1313
>
1414
<h1>db-ui-regular</h1>
1515
<p>Use this as default for consumer apps</p>
1616
<db-button icon="user">Test</db-button>
1717
</div>
1818
<div
1919
data-density="expressive"
20-
class="db-successful-bg-lvl-2 container-with-padding"
20+
class="db-successful-bg-basic-level-2 container-with-padding"
2121
>
2222
<h1>db-ui-expressive</h1>
2323
<p>Use this as default for marketing apps</p>

e2e/tests/react-tailwind-example.spec.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)