Releases: porscheinformatik/clarity-addons
Releases · porscheinformatik/clarity-addons
Release 11.0.1
Bugfixes
- Fixes password width changing on focus
- Responsive menu black overlay with screen widths below 576 #969
Release 11.0.0
Breaking changes
Updated angular and clarity to v12.
Please follow this upgrade guide:
- ng update @angular/core@12 @angular/cli@12 --allow-dirty --force
- ng update @porscheinformatik/clr-addons@11 --allow-dirty --force
- Replace normalize.css with modern-normalize.css in angular.json
- Make sure to have a valid .browserslistrc. New default file should look like this:
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.
Removed automatic loading of all clarity icons
As cds icons should be used now (see https://clarity.design/foundation/icons/), automatic loading of all clarity icons was removed.
If you still need them, just reimport them inside your application.
e.g. in app.module.ts:
import { APP_INITIALIZER, NgModule } from '@angular/core';
import { ClarityIcons } from '@clr/icons';
import { AllShapes } from '@clr/icons/shapes/all-shapes';
import { ClrAddonsIconShapes } from '@porscheinformatik/clr-addons';
export function loadIcons() {
return (): void => {
// All shapes are added currently, could be reduced to only the shape categories needed
ClarityIcons.add(AllShapes);
// Clarity addons shapes if needed
ClarityIcons.add(ClrAddonsIconShapes);
};
}
@NgModule({
...
providers: [
{
provide: APP_INITIALIZER,
useFactory: loadIcons,
multi: true
},
]
...
})
export class AppModule { }
Bug fixes
Fixes sliding of content panel and removes the "left" panel (#935)
Release 10.4.5
Bugfix
Fix clr-combobox-wrapper and clr-combobox-input width #1412
Release 10.4.4
Bugfix
NumericField: Fix calculation #1380
Release 10.4.3
Bugfix
MainNav: Don't render closed navigation dropdowns #1336
Release 10.4.2
Bugfixes
Change unit text for numeric field if the input unit changes #1314
Release 10.4.1
Fix
Increase performance by reducing/shifting setTimeouts #1275
Release 10.4.0
New component
Expose multilingual selector #1245
Release 10.3.0
New component
Brand avatar #1186