Skip to content

Releases: porscheinformatik/clarity-addons

Release 11.0.1

19 Jan 10:00
e7dc3f3
Compare
Choose a tag to compare

Bugfixes

  • Fixes password width changing on focus
  • Responsive menu black overlay with screen widths below 576 #969

Release 11.0.0

17 Jan 12:52
f6fbee3
Compare
Choose a tag to compare

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

Bildschirmfoto 2022-01-17 um 13 42 29

  • 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

07 Dec 14:13
9b0bbd0
Compare
Choose a tag to compare

Bugfix

Fix clr-combobox-wrapper and clr-combobox-input width #1412

Release 10.4.4

16 Nov 07:38
92b11f5
Compare
Choose a tag to compare

Bugfix

NumericField: Fix calculation #1380

Release 10.4.3

19 Oct 07:29
b06d400
Compare
Choose a tag to compare

Bugfix

MainNav: Don't render closed navigation dropdowns #1336

Release 10.4.2

28 Sep 12:18
b3eb090
Compare
Choose a tag to compare

Bugfixes

Change unit text for numeric field if the input unit changes #1314

Release 10.4.1

02 Sep 08:26
eab30c0
Compare
Choose a tag to compare

Fix

Increase performance by reducing/shifting setTimeouts #1275

Release 10.4.0

12 Aug 13:11
602f83d
Compare
Choose a tag to compare

New component

Expose multilingual selector #1245

Release 10.3.0

11 Aug 07:40
6d6dea5
Compare
Choose a tag to compare

New component

Brand avatar #1186

Release 10.2.0

19 Jul 11:53
04025ae
Compare
Choose a tag to compare

Clarity Update

  • Upgrade Clarity to 5.2.0 (#1211)

Bug fixes

  • Remove node-sass and fix quick-list buttons (#1217)
  • NumericField: Fix disabled state (#1219)