@smitag/angular-shared-ui 19.3.22 → 20.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/package.json +4 -4
- package/src/lib/styles/styles.scss +13 -4
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@ This repository contains themes for [Angular Material](https://github.com/angula
|
|
|
4
4
|
|
|
5
5
|
## Requirements
|
|
6
6
|
|
|
7
|
-
* Angular >=
|
|
8
|
-
* Angular material >=
|
|
7
|
+
* Angular >= 20
|
|
8
|
+
* Angular material >= 20
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
11
11
|
|
|
@@ -32,7 +32,7 @@ The system-level-colors generates a set of CSS classes based on color role that
|
|
|
32
32
|
* **Variant** – Roles ending with this term offer a lower emphasis alternative to its non-variant pair. For example, outline variant is a less emphasized version of the outline color.
|
|
33
33
|
* **Surface** – A role used for backgrounds and large, low-emphasis areas of the screen.
|
|
34
34
|
|
|
35
|
-
Name | background-color | color |
|
|
35
|
+
Name | background-color | color |
|
|
36
36
|
| --------------------------- | -------------------------- | ----------------------- |
|
|
37
37
|
| Primary | .primary | .on-primary |
|
|
38
38
|
| Primary fixed | - | .on-primary-fixed |
|
|
@@ -95,10 +95,10 @@ Material Design provides six levels of elevation that can be used to provide a s
|
|
|
95
95
|
These levels are defined as CSS box-shadow values that can be styled to an element.
|
|
96
96
|
|
|
97
97
|
| CSS class | Native Element |
|
|
98
|
-
| ------------ | --------------- |
|
|
99
|
-
| .level0 | none |
|
|
98
|
+
| ------------ | --------------- |
|
|
99
|
+
| .level0 | none |
|
|
100
100
|
| .level1 | .second-toolbar, .mat-mdc-card |
|
|
101
101
|
| .level2 | none |
|
|
102
|
-
| .level3 | .mat-mdc-mini-fab, .mat-mdc-fab |
|
|
102
|
+
| .level3 | .mat-mdc-mini-fab, .mat-mdc-fab |
|
|
103
103
|
| .level4 | none |
|
|
104
104
|
| .level5 | none |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smitag/angular-shared-ui",
|
|
3
3
|
"email": "benjamin.speidel@smartinsurtech.de",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "20.0.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Styling elements and methods shared by all frontends",
|
|
7
7
|
"man": "README.md",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"name": "Benjamin Speidel"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/material": ">=
|
|
19
|
+
"@angular/material": ">=20"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@angular/cdk": ">=
|
|
23
|
-
"@angular/material": ">=
|
|
22
|
+
"@angular/cdk": ">=20",
|
|
23
|
+
"@angular/material": ">=20"
|
|
24
24
|
},
|
|
25
25
|
"sideEffects": false
|
|
26
26
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
1
2
|
@use './components/helper';
|
|
2
3
|
@use './components/header';
|
|
3
4
|
@use './components/card';
|
|
@@ -151,13 +152,21 @@ a:hover {
|
|
|
151
152
|
}
|
|
152
153
|
|
|
153
154
|
.mat-mdc-snack-bar-container.success {
|
|
154
|
-
|
|
155
|
-
|
|
155
|
+
@include mat.snack-bar-overrides(
|
|
156
|
+
(
|
|
157
|
+
button-color: #fff,
|
|
158
|
+
container-color: #058514,
|
|
159
|
+
)
|
|
160
|
+
);
|
|
156
161
|
}
|
|
157
162
|
|
|
158
163
|
.mat-mdc-snack-bar-container.error {
|
|
159
|
-
|
|
160
|
-
|
|
164
|
+
@include mat.snack-bar-overrides(
|
|
165
|
+
(
|
|
166
|
+
button-color: #fff,
|
|
167
|
+
container-color: #cc0000,
|
|
168
|
+
)
|
|
169
|
+
);
|
|
161
170
|
}
|
|
162
171
|
|
|
163
172
|
.mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) {
|