- Moved brightness control styles from container SASS to BrightnessControlsComponent - Moved zoom control styles from container SASS to ZoomControlsComponent - Fixed Angular view encapsulation issue preventing styles from applying - Added @brianpooe/ngx-pinch-zoom path mapping to tsconfig.json - Updated app component to import from @brianpooe/ngx-pinch-zoom This fixes the issue where control icons were not visible due to Angular's view encapsulation preventing parent component styles from applying to child presentational components. Each component now contains its own styles.
32 lines
1.1 KiB
JSON
32 lines
1.1 KiB
JSON
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
{
|
|
"compileOnSave": false,
|
|
"compilerOptions": {
|
|
"baseUrl": "./",
|
|
"outDir": "./dist/out-tsc",
|
|
"sourceMap": true,
|
|
"esModuleInterop": true,
|
|
"declaration": false,
|
|
"experimentalDecorators": true,
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"importHelpers": true,
|
|
"strict": true,
|
|
"strictNullChecks": true,
|
|
"paths": {
|
|
"ngx-pinch-zoom": ["dist/ngx-pinch-zoom/ngx-pinch-zoom", "dist/ngx-pinch-zoom"],
|
|
"@brianpooe/ngx-pinch-zoom": ["dist/ngx-pinch-zoom/ngx-pinch-zoom", "dist/ngx-pinch-zoom"]
|
|
},
|
|
"target": "ES2022",
|
|
"module": "ES2022",
|
|
"lib": ["ES2022", "dom"],
|
|
"types": ["node"],
|
|
"useDefineForClassFields": false
|
|
},
|
|
"angularCompilerOptions": {
|
|
"enableI18nLegacyMessageIdFormat": false,
|
|
"strictInjectionParameters": true,
|
|
"strictInputAccessModifiers": true,
|
|
"strictTemplates": true
|
|
}
|
|
}
|