Skip to content

Commit

Permalink
Merge pull request #158 from l0ll098/master
Browse files Browse the repository at this point in the history
Updated dependencies
  • Loading branch information
artursouza authored Sep 2, 2021
2 parents 1ae9c06 + 6d50176 commit a1b7993
Show file tree
Hide file tree
Showing 31 changed files with 12,278 additions and 32,097 deletions.
2 changes: 1 addition & 1 deletion docs/development/external.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# External Packages

## Angular Material
[Angular Material v9](https://v9.material.angular.io/)
[Angular Material v12](https://material.angular.io/)

## Kubernetes API
[API Reference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/)
Expand Down
8 changes: 4 additions & 4 deletions docs/development/theme.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Theming

## Angular Material Components
https://v9.material.angular.io/guide/theming
https://material.angular.io/guide/theming

## Custom Components
https://v9.material.angular.io/guide/theming-your-components
https://material.angular.io/guide/theming-your-components

## Theme

Expand All @@ -28,14 +28,14 @@ Additionally in this file, class definitions for the themes are available:

```scss
// tables-theme.scss
@import "~@angular/material/theming";
@use '~@angular/material' as mat;

@mixin tables-theme($theme) {
$primary: map-get($theme, primary);
$accent: map-get($theme, accent);

a {
color: mat-color($primary);
color: mat.get-color-from-palette($primary, 'text');
text-decoration: none;
}
}
Expand Down
File renamed without changes.
28 changes: 20 additions & 8 deletions web/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"dapr-dashboard": {
"projectType": "application",
"schematics": {
"@schematics/angular:application": {
"strict": true
},
"@schematics/angular:component": {
"style": "scss"
}
Expand All @@ -16,12 +19,15 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": [
"js-yaml",
"rxjs"
],
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets",
Expand All @@ -35,7 +41,13 @@
"src/theme.scss",
"src/styles.scss"
],
"scripts": []
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
Expand All @@ -48,25 +60,25 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
"maximumWarning": "2kb",
"maximumError": "4kb"
}
]
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
Expand Down
2 changes: 1 addition & 1 deletion web/e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"module": "commonjs",
"target": "es5",
"target": "es2018",
"types": [
"jasmine",
"jasminewd2",
Expand Down
Loading

0 comments on commit a1b7993

Please sign in to comment.